Paypal结算协议不快付款?

时间:2016-10-13 14:09:03

标签: paypal

我已经按照以下方式制定了Paypal计划,价格为49 $:

{
    'id': 'P-PAYPAL-ID',
    'name': "My Plan",
    'description': 'My description of the plan',
    'type': 'INFINITE',
    'merchant_preferences': {
        'auto_bill_amount': 'YES',
        "initial_fail_amount_action": "CONTINUE",
        "max_fail_attempts": "3",
        "return_url": "https://example.com/paypal/response",
        "cancel_url": "https://example.com/paypal/response"
    },
    'payment_definitions': [{
        'name': 'Monthly payment',
        'type': 'REGULAR',
        'frequency': 'MONTH',
        'frequency_interval': 1,
        'cycles': 0,
        'amount': {
            'value': '49',
            'currency': 'USD'
        }
    }]
}

我已经创建了该计划,并在documentation here之后启用了它。

然后我按照以下步骤创建了Billing Agreement

  1. 创建结算协议
  2. 将用户重定向到Paypal页面以接受协议
  3. 从我在1中获得的URL执行协议。
  4. 一切正常,在我的沙箱用户帐户中,我可以看到"定期付款详情"标记为活动。

    我将我的服务器订阅了webhooks。

    我的问题如下:付款不是立即付款的?我等了一个小时,什么都没付!

    我是否忘记了执行已执行的协议" ...?

0 个答案:

没有答案
相关问题