Hi ,
I have paypal sandbox test account. I want to create a '
buy Now' button. I am trying it with GWT.
But its even not working with simple HTML form. It displays a '
Buy Now' button on HTML page and after clicking on it redirects to PayPal site. Where it ask to login to
buy product but after that it goes on displying message: The email address or password you have entered does not match our records. Please try again. I am using buyer user to purchase product. I am pretty sure about the username and password.
Providing here the simple HTML form which I am trying:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" id="payPalForm">
<input type="hidden" name="item_number" value="1">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="business" value="
[email protected]">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="button_subtype" value="services">
<input type="hidden" name="cn" value="Add special instructions to the seller">
<input type="hidden" name="no_shipping" value="2">
<input type="hidden" name="rm" value="1">
<input type="hidden" name="bn" value="PP-BuyNowBF:btn_paynow_SM.gif:NonHosted">
<input type="hidden" name="variables" value="http://google.com">
<input type="hidden" name="cancel_return" value="http://google.com">
<input type="hidden" name="notify_url" value="http://google.com">
<input type="hidden" name="return" value="http://freelanceswitch.com/payment-complete /">
<input type="hidden" name="currency_code" value="USD">
<input name="item_name" type="hidden" value="Deal Name">
<input name="amount" type="hidden" value="500">
<input type="submit" name="Submit" value="Submit">
</form>
Please advice. Thank you.