获取错误:使用此表单时缺少的一些必需信息:
<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="custom" value="$id">
<input type="hidden" name="hosted_button_id" value="PGZ7LZ2K66GLQ">
<input type="image" src="https://www.paypalobjects.com/en_US/GB/i/btn/btn_subscribeCC_LG.gif" border="0" name="submit" alt="PayPal – The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</form>我遗漏了什么信息?
发布于 2015-10-16 10:03:46
您的托管按钮id.May出了问题,错误的字符,或者您使用的是在线贝宝帐户托管id。您可以尝试生成新的按钮,我只是用我的按钮替换了托管的按钮id,它就能工作了。
<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="custom" value="3434">
<input type="hidden" name="hosted_button_id" value="DG2WCMX8VL59Q">
<input type="image" src="https://www.paypalobjects.com/en_US/GB/i/btn/btn_subscribeCC_LG.gif" border="0" name="submit" alt="PayPal – The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</form>https://stackoverflow.com/questions/33134171
复制相似问题