Accessing data from other website to know if the client has paid or unpaid status after logging in
<p>We have been developing a web application, and we have utilized login system of this site <a href="http://www.cura2apptrade.herobo.com/index.php/" rel="nofollow">http://www.cura2apptrade.herobo.com/index.php/</a> , this is my site I have uploaded to a free web hosting company. We have just embedded its login system to another website which we are currently working on. The site indicated above is where the registration of the clients happens, the other site that we are working is where the client will log in. It works fine, however only the email and the password that we can access. </p>

<p>What we want is to access the status of the client logging in in the website if he/she has a paid/unpaid status, paid status if the client has already paid the subscription, unpaid otherwise. But we don't yet get the right approach to get that information from a separated site. We have been trying to apply API but just don't get it right. I have read some to use JSONP but I do not how to use it right. Can anyone help us with this problem? </p>

<pre><code>&lt;script type="text/javascript"&gt;

    $(function()
    {

        $.ajax({
          url: 'http://www.cura2apptrade.herobo.com/bb-admin.php/invoice?status=unpaid?jsonp=?',
          dataType: "jsonp",
          jsonp: "callback",
          success: function(data)
          {
            $('#main').html(data);
          }
        });

    }); 

&lt;/script&gt;
</code></pre>
