Website payment preferences, auto return stopped working with new subscription payment button

nzxela
Contributor
Contributor

Our site has had subscription payment buttons for 7+ years operating without issues. If a payment was successful the user was redirected to the membership signup page and of declined then an advice page. 

Last month I setup the new subscription payments but the auto return has stopped working and there is a message on the payment preferences saying.  These settings will only affect PayPal buttons integrated using one of our trusted partner sites.

Surely google sites is a trusted partner ?

How do I overcome this issue ?

Can anyone supply the code to allow my buyers to return to the correct page if the payment succeeds or fails ?

I am currently having to manually key my customer data from the Paypal emails. 

 

Regards

 

Alex

 

 

Login to Me Too
2 REPLIES 2

Kavyar
Moderator
Moderator

Good day @nzxela 

 

Thank you for posting to the PayPal community.

 

The "Website payment preference" auto return URL functionality will only work for the payments processed via "WPS (Website Payments Standard)" i,e PayPal HTML button integration payments.

 

If you have integrated the Smart button code integration on your website, I kindly request that you contact your website developer to pass the Redirection URLs parameter in your smart button request call to PayPal. By doing so, the PayPal system will automatically redirect customers to the specified endpoint URLs, as necessary.

 

redirect_urls

Specify the return and cancel URLs:

  • return_url. The URL where the customer is redirected after the customer approves the payment.
  • cancel_url. The URL where the customer is redirected after the customer cancels the payment.

 

When creating a subscription, you can also pass the "return URL/RETURN URL". For more detailed information on how to resolve this issue, please refer to the guide links provided below:

 

REST API guide -https://developer.paypal.com/docs/api/subscriptions/v1/#subscriptions_create!path=application_contex...

 

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

alexheffer
Contributor
Contributor

I have added these re-directs but subscribers are still not being re-directed back to these pages as they were with the previous buttons. 

,
"redirect_urls": {
"return_url": "https://www.nzrocketry.org.nz/join-nzra/welcome-to-nzra-membership",
"cancel_url": "https://www.nzrocketry.org.nz/join-nzra/cancel"

 

I am using sites.google.com.  There is a message on the website payments preferances option that says "Re-directs only work on 'approved sites'"

Is google sites an approved site ?

 

Regards

 

Alex

 

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.