问题标签 [paypal-subscriptions]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
3 回答
2122 浏览

php - Paypal 订阅 - 付款失败次数

我使用以下 html 创建贝宝订阅:

一切正常,创建了新订阅,我的场景收到了 IPN 通知。一件事是打扰我。如果某些支付失败,相应的订阅将被暂停。它是由于订阅的默认设置而发生的。在暂停订阅配置文件之前允许设置 1 次失败的付款。

我可以按照文档中的说明手动关闭它,但是如何在订阅创建阶段设置它?是否值得关闭它或更好地设置一些失败?

0 投票
1 回答
326 浏览

c# - 贝宝订阅按钮错误

这是我的标记

这样它会重定向到贝宝,但是当我使用沙盒测试帐户电子邮件登录时,它会出现以下错误: The link you have used to enter the PayPal system is invalid. Please review the link and try again.

任何的想法?

0 投票
1 回答
152 浏览

php - 贝宝订阅

在我的网站中,我想集成一种贝宝订阅方法,我想根据选择每天、每周或每月将特定金额从用户的贝宝账户转移到管理员的贝宝账户。为此,我使用以下代码:

但是在这段代码中,我如何添加管理员的贝宝电子邮件 ID,以便我可以将资金转移到该帐户?

0 投票
0 回答
657 浏览

php - 在 Paypal 中进行定期付款按钮

我想在我的网站中添加一个订阅按钮,用于在 PayPal 中使用 HTML 和 PHP 进行定期付款。

我已经使用了此处给出的代码https://www.paypal.com/cgi-bin/webscr?cmd=_pdn_subscr_techview_outside,但用于开发人员测试帐户。但我无法测试它,并检查它是否有效。

我必须在我的开发者帐户中设置什么吗?我还使用回调函数,因为我想每月通知我的数据库进行付款。对于第一次付款,回调被调用。但是我如何检查测试帐户是否也可以在第二个月工作?我在 $_POST 中获得的变量是哪个变量,以便通知每个月付款是否成功?所以你能帮我吗,或者给我发任何有一些代码示例的链接?

提前致谢

0 投票
2 回答
631 浏览

ruby - Paypal Website Payments Pro 通过 Paypal Express Checkout 定期付款 - 他们如何通知我们下一次付款?

我们已经设置了 Website Payments Pro 帐户,并且我设法使用 ruby​​ gem paypal-recurring创建初始付款和定期配置文件。

但我仍然不知道一些事情,我在 API 文档(和/或堆栈溢出)中找不到其中一些的答案。

  • 他们是否通过 IPN 通知我们下一次付款已计费?
  • 或者我应该理所当然地在没有任何通知的情况下自动在每个计费周期向用户计费,我应该依靠“取消”IPN 请求(当用户取消他/她的贝宝账户上的付款时)?
  • 或者我应该是每个计费周期要求下一次付款给用户贝宝帐户的人?(如果是这种情况,那么我真的不明白为什么我在创建重复配置文件时将计费期发送到贝宝......)
  • 或者它以其他方式工作?
0 投票
2 回答
5284 浏览

paypal - 贝宝订阅付款失败

当订阅支付失败时,PayPal 将重试 n 次。

在所有重试失败后,通过 IPN 发回什么交易类型(subscr_cancel或)?subscr_eot

0 投票
1 回答
411 浏览

paypal - Switch from WPS to Express Checkout?

I currently have a Website Payments Standard checkout process for purchasing annual subscriptions & standalone virtual products, which in its simplest form;

  • Collects a few basic details about the customer & logs a new purchase in a database on my site
  • Uses the trick of preparing a webform that auto-submits to PayPal on the client-side, using the custom field to track & verify the purchase with IPN

As I understand, with Express I could

  • Cut out the form technique & tighten my application, initiating the request server-side & then send the user straight to PayPal
  • Process the payment instantly when the customer is returned (no waiting on possible IPN delays - though I know I can counter for this with auto-return PDT)
  • Manage subscriptions on-site (not required, but acknowledged as a benefit)

However, I am aware of the additional work involved, particularly with recurring payments.

Would you argue it's worth it for the gains? Or is what I'm doing acceptable*, given the requirements?


*I've always been concerned about exposing the transaction in a standard PayPal webform, which is why I like the idea of Express, but I'm rigorously validating IPN calls; do I have any genuine reason to worry?

0 投票
1 回答
331 浏览

paypal - 在处理之前如何确保贝宝 IPN 是唯一的?

因为你必须检查subscr_payment它是否已经发送给你。web_accepttxn_id

但是怎么样

哪里没有txn_id

如果我subscr_modify从贝宝获得 3 次,我的脚本如何知道是否发送了 3 次相同的 IPN,或者用户是否修改了 3 次订阅?

有谁知道如果ipn_track_id多次发送相同的 IPN 消息是否保持不变?

0 投票
1 回答
1072 浏览

php - PayPal API 重复付款

我需要向我的网站添加定期付款。在注册之前,用户必须支付例如 10 英镑 1 个月,之后每月 9 英镑。我尝试根据 [PayPal][1] 创建定期付款。但是在 IPN 中,我没有收到响应 subscr_signup 或其他。当我完成 doExpressChechoutPayment 时,我收到了待处理状态。我必须等待多长时间才能完成授权?我使用沙盒。

0 投票
0 回答
1070 浏览

php - PayPal 定期付款演示无效的个人资料描述?

使用此代码:https ://github.com/thenbrent/paypal-digital-goods-php-examples

贝宝定期付款演示

错误:使用操作 CreateRecurringPaymentsProfile 调用 PayPal 失败:配置文件描述无效

我该如何解决这个问题/找出错误的原因?

我真的迷路了!