Need HELP with Paypal Standard order button code, please!

1 replies
  • WEB DESIGN
  • |
Hi, I'm having some problems with the code for an order button. If you look at the image below you will see that part of the Thank You page URL is appearing next to the order button.

The order button code below was generated by DAP (Digital Access Pass) for a Paypal Standard account. The way it's supposed to work is that after Paypal is done processing the order the new user is automatically logged in to the Thank You page in the membership site.

This is the DAP generated order button code:
Code:
<form name="PaymentForm" method="post" action="https://www.mysite.com/dap/paypalCoupon.php"><input type="hidden" name="cmd" value="_xclick-subscriptions"/><input type="hidden" name="currency_code" value="USD" /><input type="hidden" name="item_number" value="17" /><div><input type="image" src="https://www.paypal.com/en_US/i/btn/btn_subscribe_LG.gif" border="0" name="submit" alt="Make payments with PayPal - its fast, free and secure!" /></div></form>
And somewhere in the code above I'm supposed to add this for the Thank You page:
Code:
<input type="hidden" name="redirect" value="https://www.mysite.com/thankyou/pp-ty-19-95-month" />
I also tried adding the next two but Optimizepress wouldn't let me insert it into the page because it said it was "malformed html":
Code:
https://www.mysite.com/dap/paypalCoupon.php?cmd=_xclick-subscriptions&item_number=10&currency_code=USD&redirect=https://www.mysite.com/thankyou/pp-ty-19-95-month/
Code:
 https://www.mysite.com/dap/paypalCoupon.php?cmd=_xclick-subscriptions&item_number=10&currency_code=USD&redirect=/thankyou/pp-ty-19-95-month/
So far I have tried about 12 different ways to incorporate everything above and nothing has worked in that either I see the "https" near the order button or OP says it is "malformed html".

Any ideas will be greatly appreciated.

Thank you.
#button #code #order #paypal #standard
  • Profile picture of the author magentawave
    For anyone with similar issues... DAP got back to me and told me where to put the "Thank You' page URL. And the problem with OP saying the code was malformed was because I didn't realize TextEdit was using curly quotes instead of straight quotes.

    If someone is familiar with DAP I am still trying to figure out why new users don't get automatically logged into the membership site after Paypal is done processing their order. (FOPEN is turned ON)
    {{ DiscussionBoard.errors[10661947].message }}

Trending Topics