Showing results for 
Search instead for 
Did you mean: 

PayPal redirect after complete payment does not work anymore since 1 week

Posted on



we are using _cart checkout with PDT method. 

With the "return" variable we define the page, where the customer returns after successful payment as described at .



This worked fine for the last years but since about March 13th 2017 customers suddenly don't get returned to our page.

Thus the payment is not recognized as successful on our site.


Now I tried to find the error by switching to the sandbox mode. Surprisingly within the sandbox everything works fine. So I don't know where the error could be.


Here some details:


Screen shot when using PayPals production server:

Production 2017-03-18 um 00.30.36.png


Screen shot when using Paypal's Sandbox:

Sandbox 2017-03-18 um 09.03.13.png


The form used to send the information to paypal is like this:


<html><head><title> -> PayPal</title></head><body>

<form method="post" name="paypal_form" action="">

<input type="hidden" name="cmd" value="_cart" />
<input type="hidden" name="upload" value="1" />
<input type="hidden" name="business" value="" />
<input type="hidden" name="image_url" value="" />
<input type="hidden" name="return" value="" />
<input type="hidden" name="cancel_return" value="" />
<input type="hidden" name="notify_url" value="" />
<input type="hidden" name="rm" value="1" />
<input type="hidden" name="currency_code" value="EUR" />
<input type="hidden" name="lc" value="DE" />
<input type="hidden" name="bn" value="us_Premium" />
<input type="hidden" name="cbt" value="Weiter bei uns" />
<input type="hidden" name="no_shipping" value="1" />
<input type="hidden" name="no_note" value="1" />
<input type="hidden" name="first_name" value="My" />
<input type="hidden" name="last_name" value="Name" />
<input type="hidden" name="address1" value="Street 26" />
<input type="hidden" name="address2" value="" />
<input type="hidden" name="city" value="BERLIN" />
<input type="hidden" name="zip" value="10000" />
<input type="hidden" name="state" value="" />
<input type="hidden" name="country" value="Deutschland" />
<input type="hidden" name="email" value="(removed)" />
<input type="hidden" name="charset" value="utf-8" />
<input type="hidden" name="item_name_1" value="1 Monat Premium-Mitgliedschaft zum Aktionspreis - 50% Rabatt">
<input type="hidden" name="amount_1" value="4.49">
<input type="hidden" name="quantity_1" value="1">
<input type="hidden" name="item_number_1" value="9">
<input type="hidden" name="custom" value="67_uid3">

<font>Der Vorgang wird bearbeitet...</font>


So we would be glad for any help!






PayPal redirect after complete payment does not work anymore since 1 week


Do you mean that your customers are not automatically returned to your site?


The intended behaviour of our system is the following:


- Providing that Auto Return is enabled in the account, we will redirect buyers that have paid with a PayPal account back to your site automatically.


However, customers that pay with a card directly without registering with PayPal won't be returned automatically and they will need to click on a link to return back to your site.


- If Auto Return is not enabled, we won't redirect any buyers automatically, and they will need to click on the "Return to (Merchant)" link.


Please double check if Auto Return is currently enabled from this direct link ->



PayPal redirect after complete payment does not work anymore since 1 week


Yes, customers are not automatically returned to our site since about 2 weeks.


And yes, Auto Return in NOT and never was enabled in our account, because this was never necessary. In fact this option can not be used by a multi domain site, because to enable Auto Return on the site that you have linked to, it is also necessary to enter a domain - which is different, depending on language...


That return url is passed to PayPal in the standart _car payment method by using the "return" variable - unless paypal has changed something within the last to weeks.


And again: Within the Sandbox everything works fine!

PayPal redirect after complete payment does not work anymore since 1 week


If we are talking about PayPal Standard payments, Auto Return must be enabled in the merchant account or customers won't be automatically redirected back to your site (and even then, customers that use a card as guests won't be automatically returned).


This has always been the behaviour in WPS. 


I just tested this in Sandbox (pointing to an account with Auto Return off, but passing "return" variable) and I wasn't automatically redirected back. I had to click on the "Return to Merchant" button.


So if this is working for you in Sandbox, the merchant account you are using for testing must have Auto Return enabled.


Finally, just to clarify, even if Auto Return is enabled in the account, you can still pass your return URL dynamically using "return" parameter, and it will override the one in your PayPal profile. The only important part is to make sure Auto Return is "On".

PayPal redirect after complete payment does not work anymore since 1 week

New Community Member

This is still the case for me in the Sandbox, I'm using the return param and after payment there is no button to return to the merchant website.
Please help me!

PayPal redirect after complete payment does not work anymore since 1 week

Me too. There is no link, just a message saying: “Your payment has been completed. To continue shopping, please return to the merchant.” For nearly 6 years, my form has been working correctly. The user is redirected to the return URL, specified in a hidden form input. Suddenly, the system stops redirecting after payment is taken. To be honest, this is absolutely catastrophic from a financial perspective. PayPal should have fixed this bug, as a priority. And, yes, this is definitely a bug.

Haven't Found your Answer?

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