Question

I'm using paypal recurrent payment api (NVP). when user register to my site, it goes to paypal for subscription with 14 days free trial and created their profile and return back to my site with paypal returned info. Now i want to check that registered user already used trial period or not. if already used trial period then subscription amount will be charged from now not after 14 days. Please help me regarding this process. how can i stop a user to use trial period multiple times?

Thanks

Was it helpful?

Solution

You can try "GetRecurringPaymentsProfileDetails" request.

But you would still need to have subscription id saved on your side in your database. Without that you have no way to find the user.

The best would be to have all data on your side and not use paypal to check it. So just save in your database information about subscription and check it later when user will try to make another one.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top