简体   繁体   中英

Paypal Success page doesn't return any data for trial period subscription

I have included the PayPal library in my Codeigniter project.

This Codexworld guide has helped me integrate PayPal with my project. Now, I have a subscription plan with the trial period. The PayPal success page doesn't return any data when I try to subscribe to the plan.

But, it does return transaction data if I do a checkout without a trial period.

Notes:

1) Am testing in sandbox

2) Found a similar question ( Implementation of free trial period with PayPal doesn't return any custom parameter ) where nothing is returned

When there is no transaction yet (such as with a trial period), no transaction data is returned. You can't expect to receive transaction data for something that does not exist.

If you want to query the status of the subscription, you need an API call for that, or to wait for the IPN.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM