【问题标题】:Paypal IPN not sending recurring payment informationPaypal IPN 未发送定期付款信息
【发布时间】:2016-06-28 19:21:52
【问题描述】:

我正在尝试使用 django-paypal 标准通过生成“订阅”按钮来实现订阅付款。我能够收到 IPN 发布数据,但是没有关于退回的定期付款的信息。除了交易在贝宝上注册的形式。我在沙盒环境中工作。

我发送的数据如下:

dict = {
    "cmd": "_xclick-subscriptions",
    "business": settings.PAYPAL_RECEIVER_EMAIL,
    "a3": "11.99",                      
    "p3": "1",                            
    "t3": "M",                         
    "src": "1",                        
    "sra": "0",        
    "no_note": "1",
    "no_shipping": "1",
    "rm": "1",
    "currency_code": "USD",
    "lc": "US",
    "quantity": "1",
    "invoice": invoice_number,
    "item_name": "Item 1",
    'item_number': "1",
    "notify_url": notify_url_value,
    "return_url": return_url_value,
    "cancel_return": cancel_url_value,
    "custom": uid,
}

【问题讨论】:

    标签: python django paypal django-paypal


    【解决方案1】:

    我在您的 dict 中看到了几个问题。修复低于 keys 值可能会解决您的问题。

    【讨论】:

    • 它们是实际的 url,我刚刚为这个问题交换了值。
    • 哦,我明白了。您是否尝试将 P3 设置为整数?
    猜你喜欢
    • 2023-03-05
    • 2013-06-09
    • 2014-01-23
    • 2012-11-07
    • 2014-08-19
    • 2016-10-27
    • 2011-12-02
    • 2012-06-18
    • 2013-01-19
    相关资源
    最近更新 更多