【问题标题】:Setting billing frequency in trial period with PayPal HTML variables使用 PayPal HTML 变量在试用期内设置计费频率
【发布时间】:2015-11-17 01:22:30
【问题描述】:

我想以一定的计费频率在试用期内实施定期付款 (HTML Variables for Recurring Payments Buttons)

示例:试用期为三个月,每月按一定价格收费。这可能吗?

试用期有三个变量:

a1: trial period price

p1: trial period duration

t1: trial period units of duration

如果我将持续时间设置为 3,将单位设置为 M(月),并将价格设置为 100 美元,PayPal 将收取 3 个月的总价格金额。但我需要经常性收费频率为 1 个月。所以我需要 PayPal 在前三个月(试用期)每月向客户收取 100 美元。如何使用 PayPal 的循环支付变量来实现这一点?

【问题讨论】:

    标签: paypal


    【解决方案1】:

    您可以提供的最接近的是两个试用期。订阅按钮不允许三个试用期。

    这是因为如果您将第一次试用设置为 3 个月,那么您的客户只需支付 100.00 美元一次,然后三个月后试用到期。当它到期时,常规订阅值开始。

    对于第二个试用期,您可以指定两个月的费用为 200.00 美元,但您的客户最初需要支付 200.00 美元,然后两个月内不再收取费用。

    您可以提供一个月的初始试用期,您的客户为第一次试用支付 100.00 美元,然后为第二次试用支付 200.00 美元。

    提供第二个试用期最接近他们最初每月收取 100.00 美元的费用。
    这是来自 PayPal 开发者网站的sample code 稍作修改:

    <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
    
    <!-- Identify your business so that you can collect the payments. -->
    <input type="hidden" name="business" value="alice@mystore.com">
    
    <!-- Specify a Subscribe button. -->
    <input type="hidden" name="cmd" value="_xclick-subscriptions">
    
    <!-- Identify the subscription. -->
    <input type="hidden" name="item_name" value="Alice's Monthly Digest">
    <input type="hidden" name="item_number" value="DIG Monthly">
    
    <!-- Set the terms of the 1st trial period. -->
    <input type="hidden" name="currency_code" value="USD">
    <input type="hidden" name="a1" value="100.00">
    <input type="hidden" name="p1" value="1">
    <input type="hidden" name="t1" value="M">
    
    <!-- Set the terms of the 2nd trial period. Below is for a 2 month period  -->
    <input type="hidden" name="a2" value="200.00">
    <input type="hidden" name="p2" value="2">
    <input type="hidden" name="t2" value="M">
    
    <!-- Set the terms of the regular subscription. -->
    <input type="hidden" name="a3" value="250.99">
    <input type="hidden" name="p3" value="1">
    <input type="hidden" name="t3" value="M">
    
    <!-- Set recurring payments until canceled. -->
    <input type="hidden" name="src" value="1">
    
    <!-- Display the payment button. -->
    <input type="image" name="submit" border="0"
    src="https://www.paypalobjects.com/en_US/i/btn/btn_subscribe_LG.gif"
    alt="PayPal - The safer, easier way to pay online">
    <img alt="" border="0" width="1" height="1"
    src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" >
    </form>
    

    如果您想了解有关设置两个试用期的更多信息,请参阅以下文档:
    Setting Trial Periods

    【讨论】:

      猜你喜欢
      • 2012-12-03
      • 2012-03-05
      • 2021-10-03
      • 2011-12-04
      • 2015-12-30
      • 2010-12-01
      • 2014-08-09
      • 1970-01-01
      • 2017-09-17
      相关资源
      最近更新 更多