Voting starts in March for the Drupal Association Board election.
After a successful payment, if user clicks on the "Return to merchant" button from PayPal, he is redirected to page
But at the same time, browser displays an unwanted scary security warning about moving to a http page from a https page.
At this point, user is forced to click whether "Continue" or "Cancel".
If user clicks "Continue", he will be then redirected to
cart with message "Thank you for your order! PayPal will notify us once your payment has been processed.", and can no longer see the useful information displayed on
This is a major problem that can easily be fixed:
Instead of sending value 2 to PayPal for variable
rm (Return Method), 1 should be sent.
This way, the "Return to merchant" button is rendered as a simple link to
cart/checkout/complete and no security warning is displayed.
For information, rm=2 is only useful when you want to use POST data sent back by PayPal when returning to merchant. But page callback
uc_paypal_complete does not use it at all so it makes no sense here.