Buyer has not agreed to subscription

subscription1
Contributor
Contributor

Is it necessary for users to have a PayPal account when utilizing PayPal Pro for recurring payments in a subscription plan? I have successfully integrated PayPal Pro into my website and created a subscription plan. However, during the activation process, PayPal is returning an error stating 'Buyer has not agreed to subscription.' In this situation, is it required for users to have a PayPal account to agree to the subscription, or can this be done directly using any of the PayPal APIs?

 

I don't want to redirect user to PayPal via the approve URL after subscription is created but instead of activate subscription in my website only using the API. I am using this : (https://developer.paypal.com/docs/api/subscriptions/v1/#subscriptions_activate) API for activate the subscription plan but i am getting error like: Buyer has not agreed to subscription, i have attached the screenshot of the debug log.

So in this case user have to their PayPal account? if not then how we can approve the subscription of subscription plan created with user card details?

 

Login to Me Too
2 REPLIES 2

adamofoz
New Community Member

No, they can check out as a guest. Then either they need to get their bank to cancel when the time comes or you have to cancel the payment requests by pausing/cancelling the subscription

Login to Me Too

Kavyar
Moderator
Moderator

Good day @subscription1,

 

Thank you for posting to the PayPal community.

 

We recommend referring to the detailed guide provided in the links below to learn more about subscriptions.

 

https://developer.paypal.com/docs/api/subscriptions/v1/

 

https://developer.paypal.com/docs/subscriptions/

 

Please find the details outlining the workflow for subscriptions below:

 

  1. Create a product to represent your goods or services.
  2. Create a plan to represent the payment cycles for your subscription.
  3. Use the JavaScript SDK to present the PayPal button, which starts the subscription process.
  4. The buyer agrees and subscribes.
  5. The button calls the Subscriptions API to create the subscription.
  6. The buyer sees the subscription confirmation.

 

To access the detailed workflow, please use the following link-  https://developer.paypal.com/docs/subscriptions/#link-howitworks

 

To integrate subscription, please use the following link  https://developer.paypal.com/docs/subscriptions/integrate/ 

 

If you are still experiencing issues, please create an MTS ticket via the following URL -  https://www.paypal-support.com/s/?language=en_US . Please ensure that you provide detailed information and error details when submitting the ticket.

 

Sincerely,

Kavya

PayPal MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

Login to Me Too

Haven't Found your Answer?

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