问题描述
我正在尝试获取此表格以使用PayPal Payments Standard发起捐赠...
I'm trying to get this form to initiate a donation using PayPal Payments Standard...
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_donations">
<input type="text" name="amount"></input>
<input type="hidden" name="item_name" value="OrganizationXYZ Donation">
<input type="hidden" name="image_url" value="http://www.OrganizationXYZ.org/images/logo.gif">
<input type="image" name="submit" border="0" src="https://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif" alt="PayPal - The safer, easier way to pay online">
</form>
这似乎应该按照PayPal的文档起作用. a>,但事实并非如此.相反,我收到此错误:
This seems like it should work according to PayPal's documentation, but it doesn't. Instead I get this error:
我们无法处理此交易,因为卖家提供的PayPal电子邮件地址存在问题.请与卖家联系以解决该问题.如果此付款用于eBay列表,则可以与卖家联系通过列表页面上的向卖家提问"链接.当您具有正确的电子邮件地址时,可以在www.paypal.com上进行付款."
此错误没有任何意义,因为您没有以这些形式提供电子邮件地址.但是在我看来,我的表格需要张贴某种身份证明-否则PayPal怎么知道哪个帐户正在接收捐款?除非我通过贝宝(PayPal)帐户注册域名,否则也没有这样做的地方.
This error doesn't make any sense because you do not supply an email address in these forms. Yet it seems to me that my form needs to post some kind of identification- otherwise how would PayPal know which account is receiving the donation? Unless I register a domain vai my PayPal account settings, but there is no place to do that either.
有人有设置经验吗?
推荐答案
是的,正如您提到的,它需要某种收件人的标识符.
您需要添加的是业务"参数.就这样.
Yes, as you mentioned, it need some sort of identifier of the recipient.
What you need to add is the 'business' parameter. That's all.
<input type="hidden" name="business" value="your secure merchant account ID / email here">
这篇关于PayPal Payments标准自定义HTML表单; PayPal如何知道谁正在提交?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!