Subscription Profiles not supported by Recurring Payment APIs while updating plan price

喜你入骨 提交于 2019-12-01 04:15:36
Ashish Chaturvedi

As answered in the PayPal Community Help Forum

by PayPal_Frank Administrator answerd: 04-02-2012 11:08 AM

...
The basic subscription button profile IDs are not support by the GetRecurringPaymentsProfileDetails API. This API would only work for subscriptions or recurring payment profiles created via the CreateRecurringPaymentsProfile API through Express Checkout which is our API based checkout solution. Website Payments Pro is not required to use Express Checkout. I know this can be frustrating and we recommend that merchants collect basic subscription information via IPN to store in their own database or view the information on their PayPal account. This has also been submitted as a feature request by our Merchant Technical Services team.
https://www.x.com/developers/paypal/forums/general-support/there-any-api-or-methods-which-i-can-get-...

...

You only can check the Status of such an Agreement when you use a url like:

$url = 'https://api.paypal.com/v1/payments/billing-agreements/'.$z_res[0]['id_agreement']."/transactions?start_date=".substr($logdbarray['Deal_Start'],0,10)."&end_date=".substr($now,0,10);

Here you will get a list of trsansactions. When the last transaction in not status:canceled then the agreement still runs. You will get dates of transactions as well so you can define if you agree to use your paid service or not.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!