【问题标题】:Change Failed Payment Attempts in Paypal Standard Subsribe Button在 Paypal 标准订阅按钮中更改失败的付款尝试
【发布时间】:2014-09-21 09:49:44
【问题描述】:

一位客户要求我将订阅按钮设置为非常明确地重新尝试失败的付款。使用的帐户是 Paypal 标准(不是 paypal 专业版),根据我的研究,只有 SRA variable 只能在 Paypal 设置的 5 天内切换预设的 3 次尝试,这太容易从我的客户的观点。他希望在接下来的 90 天内每 3 天重新尝试 30 次计费。 我只找到other people wondering the same thing,但还没有找到解决方案。我当前页面上的代码是这样的:

  <form  id='frmPayPalYearly' action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
    <input type="hidden" name="cmd" value="_s-xclick">
    <input type="hidden" name="hosted_button_id" value="xxxxxxxx">
    <input type="hidden" name="custom" value="Standard Annual Member with id:<?php echo $user_id;?>">
    <input type="hidden" name="invoice" value="03/2013/<?php echo $user_id;?>/12/<?php echo uniqid()?>">
    <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/btn/btn_subscribe_SM.gif" width="0" height="1">
</form>

如果我像这样添加 SRA:

<input type="hidden" name="sra" value="1">

如果我错了,请纠正我,但这会告诉 Paypal 重试 3 次。有什么方法可以让 Paypal 重试 30 次?

有人有什么想法吗?

【问题讨论】:

    标签: paypal paypal-subscriptions


    【解决方案1】:

    很遗憾,您无能为力。

    API 产品实际上提供了参数来指定这类事情,但它们被忽略了。这是一个已知问题,多年来我一直希望看到它得到解决。我没有屏住呼吸。一切都默认为 3 次尝试,间隔 5 天,然后暂停。

    如果您使用的是 API,那么您至少可以在插件在第 3 次尝试时暂停时自动重新激活插件的过程,以便它立即回到新的 3 次尝试周期,并继续这样做您希望您的应用程序允许的次数。

    但是,使用 Payments Standard,没有 API 可以让您执行此操作。为此,您需要切换到 Express Checkout API,然后在 IPN 解决方案中处理自动重新激活。

    【讨论】:

    • 谢谢安德鲁。我担心是这种情况。正如我所听到的,使用 API 意味着需要大量重新编码,因为定价页面只有常规的 paypal 生成的按钮。不过,有一个关于转移到 Paypal Pro 的讨论。那会有帮助吗?知道集成支付 API 方法需要做多少工作吗?
    • 您是否偶然使用 PHP?如果是这样,我的class library for PayPal 将使您的所有 API 调用变得非常快速和轻松。
    • 是的,它是 PHP。一定会看看的。多谢!非常感谢。
    猜你喜欢
    • 2012-02-06
    • 2020-01-03
    • 2018-10-27
    • 2011-06-22
    • 2017-07-12
    • 2021-12-02
    • 2012-03-04
    • 2014-03-01
    • 2017-09-24
    相关资源
    最近更新 更多