Last post Jun 10, 2014 10:58 AM by qasimnazir
Jun 10, 2014 09:14 AM|matifnadeem|LINK
I used the Paypal express checkout (NVP) API in an application for Create a Recurring Customer Profile along with Billing information. I set the subscription date as June 10, 2014. So when the date came, Paypal server automatically occurs the payment from
payer's account into sellers account.
Here my question lies on this point that from API call is there any method or function available? From where I check the status of recurring payment done or not?
Basically I want to update the status of user's subscription in my application database. That's why I need to know whether Paypal done the recurring process or failed the process.
I already gone through the Paypal Express Checkout NVP API from Paypal documentation portal. Help me out may be I'm missing something from there.
Jun 10, 2014 09:39 AM|qasimnazir|LINK
Please check the link below.
Jun 10, 2014 10:44 AM|matifnadeem|LINK
Thanks Qasim for the answer. GetRecurringPaymentsProfileDetails method is the solution from where you can extract the last payment date as well as next payment date. Also you can get the Total number of billing cycles completed.
But there is no way you get the status of payment either 'Completed' or other status message. Just sharing with you the response received from that NVP API method:
&SHIPTOSTREET=1 Main St
Jun 10, 2014 10:54 AM|matifnadeem|LINK
After reading the documentation (https://developer.paypal.com/docs/classic/express-checkout/integration-guide/ECRecurringPayments/) from Paypal
portal, I think I found a solution of last issue remaining in my question.
Here present these paragraphs:
Getting Recurring Payments Profile Information
Use the GetRecurringPaymentsProfileDetails API to obtain information about a profile.
Note: You can also get information about recurring payments profiles from the PayPal website.
Along with the information that you specified in the CreateRecurringPaymentsProfile request, GetRecurringPaymentsProfileDetails also returns the following summary information about the profile:
Next scheduled billing date
Number of billing cycles completed in the active subscription period
Number of billing cycles remaining in the active subscription period
Current outstanding balance
Total number of failed billing cycles
Date of the last successful payment received (This is the field to get to know about the payment status)
Amount of the last successful payment received
Thanks Qasim for your help.
Jun 10, 2014 10:58 AM|qasimnazir|LINK
I am glad that you have found the solution.