Hello @MickaelBNeron ,
Thank you for posting to the PayPal Sandbox Community.
If you are attempting to view products and plans created in live in the Sandbox API, you will not see these products and plans. Sandbox and live servers are kept completely separate, so in order to see the sandbox plans and products, you will have had to create them in sandbox.
This can be done via API or the sandbox account.
Here is the API information:
https://developer.paypal.com/docs/subscriptions/integrate/
To create the plans in a sandbox account here are the steps:
Log into the sandbox account at https://sandbox.paypal.com
Click on Pay & Get Paid
Click on Subscriptions under Accept Payments
Click Subscription Plans
Click Create Plan
Create a product
Choose the product for the plan
Fill in the information click continue
Click finish
Once you have plans and subscriptions created in Sandbox, you will be able to use your sandbox credentials to view any Products and Plans associated with your sandbox account.
This API call will list all Plans:
https://developer.paypal.com/docs/api/subscriptions/v1/#plans_list
This one will show Plan Details:
https://developer.paypal.com/docs/api/subscriptions/v1/#plans_get
This one will show subscription Details:
https://developer.paypal.com/docs/api/subscriptions/v1/#subscriptions_get
Sandbox and live are kept completely separate, so any plans created in sandbox will not show in live, and any plans created in live will not show in sandbox.
Thank you,
Jennifer
MTS
PayPal
... View more