Paypal IPN不发送定期付款信息

时间:2016-03-13 21:13:01

标签: python django paypal django-paypal

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

我发送的数据如下:

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,
}

1 个答案:

答案 0 :(得分:-1)

我在你的词典中看到了几个问题。修复值可能会解决您的问题。