The return and cancel URLs do not work in the latest v3 dev release.
The problem is when the payment is complete on the paypal side the return to merchant button is actually a form, not just a link. The return cancel URLs are being put in the action of the return to merchant form and this causes problems back on the drupal side.
Here is a cut and paste from the payment completed page on PayPal:
(tags are removed so it shows up in this message)
form method="get" id="merchantReturn" name="merchant_return" action="http://www.milwaukeesoft.com/?q=node/2"
input type="hidden" id="" name="mc_gross" value="19.99"
Notice how the return URL is set as the action of a form? Well that means it has to go to a script that can handle the values sent back, and a standard node is not going to be able to handle this and hence that is why the nasty URL shows when the user clicks the return to merchant button.
What happens is it just goes back to the main page and shows all the returned form information in the browsers address bar.
I tried adding some php code to the node to read the form vars, but that also did not work.
The only way this would work is to be able to direct the url to a regular php script that would act as a cgi and then redirect to the correct node to display your thank you or whatever.
There is no doubt about it, there is severe issues with the E-Commerce module and PayPal.
Tony Caduto
http://www.amsoftwaredesign.com
Home Of Lightning Admin for MySQL and Postgresql
Comments
Comment #1
gordon commentedFixed in v4
Comment #2
(not verified) commented