PayPal : Angular Js PayPal按钮不会重定向到付款页面



我正在尝试使用沙盒帐户凭据测试我的PayPal集成

这是我的按钮代码

<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="3M2C8VGPZSHSW">
<input type="image" src="https://www.sandbox.paypal.com/en_GB/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal – The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.sandbox.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</form> 

按钮没有重定向到任何地方?

我从中得到了答案,它包含许多示例和有用的代码 https://developer.paypal.com/demo/checkout/#/pattern/validation

最新更新