Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Paypal with Return URL and RM Variable


fmdeveloper

Recommended Posts

Want to use the return feature so the users does not have to click the continue button at the bottom of Paypal's confirmation page. Added the RM variable with a value of 1, and tried it with 2 as well. The code of the form is shown below. The url provided in the form is valid, however it still does not auto return the user.

 

Can anyone help me out here>

 

<form name="checkout_confirmation" action="https://secure.paypal.com/cgi-bin/webscr" method="post">

<input type="hidden" name="osCsid" value="abc" />

<input type="hidden" name="cmd" value="_xclick">

<input type="hidden" name="business" value="[email protected]">

<input type="hidden" name="item_name" value="TEST">

<input type="hidden" name="amount" value="32.42">

<input type="hidden" name="shipping" value="3.50">

<input type="hidden" name="currency_code" value="USD">

<input type="hidden" name="return" value="https://VALID_URL.com">

<input type="hidden" name="rm" value="2">

<input type="hidden" name="cbt" value="Your order is NOT complete until you click here!">

<input type="hidden" name="cancel_return" value="https://VALID_URL.com">

<input type="image" src="LOCATION" border="0" alt="Confirm Order" title=" Confirm Order "></form>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...