html5 - Getting error message in Paypal integration -
i trying integrate paypal after clicking on button it's asking buyer login details , entered correct details after process it's showing below error. don't know whats working code. integrating first time on site. me?
html
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" target="_top"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="hosted_button_id" value="code"><!--id comes after creating buy button--> <input type="hidden" name="business" value="myemail-facilitator@gmail.com"> <input type="hidden" name="item_name" value="widget"> <input type="hidden" name="qty" value="1"> <input type="hidden" name="amount" value="10"> <input type="hidden" name="currency_code" value="usd"> <input type="image" src="https://www.sandbox.paypal.com/en_gb/i/btn/btn_buynowcc_lg.gif" border="0" name="submit" alt="paypal – safer, easier way pay online!"> <img alt="" border="0" src="https://www.sandbox.paypal.com/en_gb/i/scr/pixel.gif" width="1" height="1"> </form>
the email address needs created in paypal sandbox environment. go https://developer.paypal.com , login dashboard. under sandbox, go accounts , select email address listed under type-business. may need reset password, choose profile link.
use email address login https://www.sandbox.paypal.com/buttons/, create button here, once save changes, you'll given html code testing.
Comments
Post a Comment