HTML PayPal-Button, return to shop does not work, /genericError?code=PAYMENT_ALREADY_DONE

VNS_Thorsten
Contributor
Contributor

Hi, I have a really old setup (customer development) of some websites using all the same method to supply paypal payment. I use a HTML-Button (via paypal code generator, paypal hosted) and add the "return" form variable. But after finishing a payment, the user is not getting back to my shop (return url).

 

1) I activated Auto Return and set a valid value.

 

2) The "solutions" worked for me for more than 3 years and started to fail some days ago without any change by myself.

 

3) After successful payment, I can see the info text from paypal "... wait 10 secs to come back to the shop or click here ...". The Browser-URL is

https://www.paypal.com/webapps/hermes?token=40D220308W093760W&useraction=commit&mfid=1540499249870_b...

 

4) About 2-3 secs later I get forwarded to a paypal site showing me "You are done. Go back to the shop.". But there is no link to the shop (return url). The Browser-URL is:

https://www.paypal.com/webapps/hermes?token=40D220308W093760W&useraction=commit&mfid=1540499249870_b.../genericError?code=PAYMENT_ALREADY_DONE

 

So there seems to be a "generic error"?!

 

5) Here is my HTML-Code for the buton:

<form action="https://www.paypal.com/cgi-bin/webscr" name="paypal" method="post">
<input type="hidden" value="https://astro-direkt.de/mit-paypal-sparen" name="return" />
<input type="hidden" value="_s-xclick" name="cmd" />
<input type="hidden" value="C4ZTKAFWZFYGE" name="hosted_button_id" />
<input type="hidden" value="Minuten" name="on0" />
<select name="os0">
<option value="5 Minuten">5 Minuten: 7,00&euro; (1,40&euro;/Min. &sup1;)</option>
<option value="10 Minuten">10 Minuten: 13,50&euro; (1,35&euro;/Min. &sup1;)</option>
<option value="20 Minuten">20 Minuten: 26,00&euro; (1,30&euro;/Min. &sup1;)</option>
<option value="30 Minuten" selected>30 Minuten: 36,00&euro; (1,20&euro;/Min. &sup1;)</option>
<option value="45 Minuten">45 Minuten: 49,50&euro; (1,10&euro;/Min. &sup1;)</option>
<option value="60 Minuten">60 Minuten: 59,40&euro; (0,99&euro;/Min. &sup1;)</option>
</select>
<input type="hidden" value="EUR" name="currency_code" />
<input border="0" type="image" alt="" name="submit" src="https://www.paypal.com/de_DE/DE/i/btn/btn_paynowCC_LG.gif" />
</form>

 

As I said above: the solution worked for years without any change until some days ago.

 

Do you have any idea, what is going wrong here?

 

I need the user to come back to my website.

 

Thanks in advance, Thorsten

Login to Me Too
6 REPLIES 6

downhiller
Contributor
Contributor

As of a couple of days ago, I have this exact issue as well.  Did you figure out how to fix it?

Login to Me Too

newtvision
New Community Member

Hi All,

I had the same problem from few days.

I solved inserting item_number in the form.

The other difference with the your form is that I have notify_url.

 

Kind regards,

Simone

Login to Me Too

VNS_Thorsten
Contributor
Contributor

Hi,

 

I invested another 2 hours in analysing the problem. I tried the following without any success:

1) Added item_name and item_number.

2) Added notify_url. (yes - IPN was called on my site by paypal - but there was no effect for return url)

3) Added a cancel_return url - BUT: also the cancel link is NOT shown!

4) I double checked merchant/account settings - in particular "website payment options" (where you can set the return url. This url must be set here.)

5) Created a completly new hosted button and tried all above points again with this button.

 

From my point of view paypal ignores form parms "return" and "cancel-return" completly for any reason. ONLY if you set the url in the button settings - it will work. But the values are NOT overwritten if you pass them via form. And this is essential for me.

 

By the way: how can I contact paypal-tech-support? I think that paypal must help here.

 

Thanks, Thorsten

Login to Me Too

Harry-T
Contributor
Contributor

Hi,

 

we have the same problem since a couple of days.

Although there is a notify_url, paypal doesn't redirect (after 10 seconds) to this url but shows that page with the "Back to merchant" button, which seems to be the cancel_return url.

 

Any suggestions?

Login to Me Too

lsfpub
Contributor
Contributor

If you check recent posts on this forum you'll see a whole bunch of people are having the same problem. PayPal has broken the functionality. I reported it to Merchant Services Tech Support over 5 days ago - my ticket status is set to "Pending Fix" but no sign as yet of them fixing it. Not impressed.

 

Login to Me Too

Harry-T
Contributor
Contributor

The problem still seems  to exist!

Does anybody have new information on that?

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.