Running subscriptions in PHP, talking to PayPal
Posted: Tue Dec 15, 2009 11:24 am
We are building a subscription only web site and want to use either PayPal or Google Checkout for the subscriptions.
They will be the automated subs, but we need a way for our loginscript to talk to PayPal via Javascript or something, to see if the user's email address, and our ShopID has paid their subscription.
So someone pays via shopID 12345, using bob@bobby.com.
When they login, it queries their email and pass against our DB. If it finds the data, it then queries with PayPal/Google to see if they are paid.
THAT'S THE PART WE ARE STUCK ON.
There is something in PayPal you can use, but the user must create their username and pass on PayPal - and PayPal actually generate it, which to me is rather counter-productive.
Does anyone know a genius way to do it??
Thanks.
They will be the automated subs, but we need a way for our loginscript to talk to PayPal via Javascript or something, to see if the user's email address, and our ShopID has paid their subscription.
So someone pays via shopID 12345, using bob@bobby.com.
When they login, it queries their email and pass against our DB. If it finds the data, it then queries with PayPal/Google to see if they are paid.
THAT'S THE PART WE ARE STUCK ON.
There is something in PayPal you can use, but the user must create their username and pass on PayPal - and PayPal actually generate it, which to me is rather counter-productive.
Does anyone know a genius way to do it??
Thanks.