Hello, ok i take a look to this article: https://developer.paypal.com/docs/subscriptions/
As i see paypal provide ready made SDK .NET Project which i download and i run it. Here they provide a option to create Billing Plan with product which is used for subscription as i understand. With this function i create a product plan and recive this id: P-1FM52925BU386645MF32EE4A
Then i create new simple html page and add standard subscribe button with this code:
- "paypal-button-container">
Then i can see the subscribe button and if i click i recive an error like in the image below:
It seems like he cannot find the plan, but if use SDK .NET project to get all plans i can see that the plan exist.
Also i take a look in my developer account in API calls section and i can see this:
There are some warning probably becasue of the error i see after clickin subscribe button but without any explanation. At this image we can see that the billing plan is created succesfully.
Can you please help me what is wrong?
Can you please help me what is wrong?
Imtiyaz AnsariPosted Sep 23, 2019, 2:16 PM
Jordan TrajkovPosted Sep 19, 2019, 2:05 PM
Jordan TrajkovPosted Sep 16, 2019, 11:37 AM
Imtiyaz AnsariPosted Sep 12, 2019, 2:10 PM
The Paypal subscription you have to follow the following steps
1 create product
ex.
https://developer.paypal.com/docs/subscriptions/integrate/#2-create-a-product
2. Create a plan
ex.
https://developer.paypal.com/docs/subscriptions/integrate/#3-create-a-plan
3 Create a subscription
so first check your plans created or not using this API
GET
https://api.sandbox.paypal.com/v1/billing/plans
then apply below code.with your "clientId" and "PlanId"
"paypal-button"> -
-
-
-
- src="https://www.paypal.com/sdk/js?client-id=yourclientid&vault=true">
-
-
-
"paypal-button-container"> -
-
-