Agreement plan ID is NULL

pety
Contributor
Contributor

Hello everyone,

 

We are using Paypal REST SDK with PHP to handle subscriptions, we store our subscription plans on our database so that users can have choices.

 

I have managed to create and activate the plans, create and execute an agreement.

 

The problem is that I need to save the agreements and the plan ID on our database, I get the correct agreement id after agreement execution but whenever I try to get the plan id, I always get "NULL" value. I have tried to make another query from the agreement ID but still, I can't get the plan ID. 

 

Is there another way to get the plan ID from agreement ID?

 

Thank you for your help

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.