贝宝礼物援助

发布于 2025-02-06 16:26:11 字数 249 浏览 0 评论 0 原文

我已经通过遵循此文档援助。再加上如何在沙盒上进行测试?

I have implemented PayPal Gift Aid / Donate as a separate SDK by following this documentation PayPal Donate SDK. But how can I add this Donate functionality to regular PayPal payment as a checkbox just like the attached screenshot Donor opt into Gift Aid. Plus how can I test it on sandbox?

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

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

发布评论

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

评论(2

2025-02-13 16:26:11

我相信PayPal按钮是由其API渲染的,我认为没有一种方法可以更改生成的按钮。

就个人而言,我将考虑进行自定义结帐并添加一个单独的复选框,该复选框将触发“捐赠”功能,以在结帐时添加额外的数量。

I believe the Paypal buttons are rendered out by their API, I don't think there is a way to change the button that is generated.

Personally, I would consider doing a custom checkout and adding a separate checkbox that will trigger the "Donate" function to add an extra amount to the checkout.

小霸王臭丫头 2025-02-13 16:26:11

礼品援助是一种特定于英国的税收调整。当英国付款人捐款时,它已经是捐赠流的一部分。这似乎不是您实际上要问的问题,因此您可能希望澄清。

在到达PayPal之前,您将在自己的网站上添加捐款(非捐赠)结帐,这将作为常规结帐处理总计,也许有某些订单项指示哪些部分是捐赠的。如果这对您不起作用,请使用单独的按钮和交易。

Gift Aid is a UK-specific tax adjustment. It is part of the Donation flow already when UK payers donate. This does not seem to be what your question is actually trying to ask about, so you may wish to clarify.

Adding donations onto a regular (non-donation) checkout of some sort is something you would do on your own site, prior to reaching PayPal, which would process the total as a regular checkout, perhaps with some line item indicating what portion is a donation. If this doesn't work for you, then use separate buttons and transactions.

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