Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 686
Govind Chinnasamy Avatar asked Dec 05 '25 05:12

Govind Chinnasamy


1 Answers

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.

like image 145
Preston PHX Avatar answered Dec 07 '25 21:12

Preston PHX



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!