创建 Paypal 捐赠按钮,无需访问 PayPal 帐户

发布于 2025-01-03 23:13:05 字数 329 浏览 1 评论 0原文

我正在建立一个非盈利网站。我让慈善机构的财务主管为慈善机构创建了一个 PayPal 帐户,他们有 PayPal 登录信息。

我试图遵循最佳安全实践,因此,作为程序员,我不需要能够登录他们的 PayPal 帐户。如果没有其他原因,除非有人篡改账户或转移资金,他们不会将我列入嫌疑人名单,这似乎是最好的方法。

我需要做的就是在他们的网站上放置一个捐赠按钮。通常,您只需登录 PayPal,PayPal 就会为您生成 HTML 代码。如果客户很熟练,我可以让他们这样做并向我发送代码片段,但事实并非如此。

我需要从财务主管处获得的最少信息量是多少(帐号)?另外,他们向我提供所需信息的最简单方法是什么?

I am building a website for a not for profit. I had the treasurer of the charity create a PayPal account for the charity and they have the PayPal login information.

I am trying to follow best practices for security and for this reason I, as the programmer, should not need to have the ability to login to their PayPal account. If for no other reason than if someone screws with the account or diverts money they will not put me on the list of suspects this seems to be the best way.

What I do need to do is put a donate button on their website. Normally one would simply login to PayPal and PayPal will generate the HTML code for you. If the client were proficient I could have them do this and email me the code snippet, but such is not the case.

What is the minimum amount of information I need from the treasurer, the account number? Also what is the easiest way for them to get me the information I require?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

你爱我像她 2025-01-10 23:13:05

您只需要与接收捐款的 Paypal 帐户关联的电子邮件至 创建捐赠按钮

上面的链接将为您生成以下标记:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_donations">
<input type="hidden" name="business" value="[email protected]">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="item_name" value="Stackoverflow">
<input type="hidden" name="no_note" value="0">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="bn" value="PP-DonationsBF:btn_donateCC_LG.gif:NonHostedGuest">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_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_US/i/scr/pixel.gif" width="1" height="1">
</form>

您唯一需要更改的行是 business 输入,它将成为 Paypal 帐户收件人。

You should only need the email associated with the Paypal account receiving the donations to Create a Donate Button.

The above link will generate the following markup for you:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_donations">
<input type="hidden" name="business" value="[email protected]">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="item_name" value="Stackoverflow">
<input type="hidden" name="no_note" value="0">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="bn" value="PP-DonationsBF:btn_donateCC_LG.gif:NonHostedGuest">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_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_US/i/scr/pixel.gif" width="1" height="1">
</form>

The only line you will have to alter is the business input, which will be the Paypal account recipient.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文