Paypal 贝宝定期支付IPN确认

Paypal 贝宝定期支付IPN确认,paypal,paypal-subscriptions,recurring-billing,Paypal,Paypal Subscriptions,Recurring Billing,我遇到了贝宝定期付款的问题。 CreateRecurringPaymentsProfile()返回创建的配置文件的ID(ProfileID)。同时,我收到以下关于IPN url的确认: payment_cycle - Daily txn_type - recurring_payment_profile_ created last_name - User next_payment_date - 03:00:00 Oct 06, 2011 PDT residence_country - US in

我遇到了贝宝定期付款的问题。 CreateRecurringPaymentsProfile()返回创建的配置文件的ID(ProfileID)。同时,我收到以下关于IPN url的确认:

payment_cycle - Daily
txn_type - recurring_payment_profile_ 
created
last_name - User
next_payment_date - 03:00:00 Oct 06, 2011 PDT
residence_country - US
initial_payment_amount - 0.00
currency_code - USD
time_created - 23:21:02 Oct 05, 2011 PDT
verify_sign - ...
period_type -  Regular
payer_status - verified
test_ipn - 1
tax - 0.00
payer_email - ...
first_name - Test
receiver_email - ...
payer_id - ...
product_type - 1
shipping - 0.00
amount_per_cycle - 20.00
profile_status - Active
charset - windows-1252
notify_version - 3.4
amount - 20.00
outstanding_balance - 0.00
---------->recurring_payment_id - I-6EFKVB5FXRGH
product_name - Ultimate Account
ipn_track_id - ...
显然,ProfileID和recurtive_payment_id是相等的。在此之后,将收到关于付款的确认:

mc_gross - 20.00
outstanding_balance - 0.00
period_type -  Regular
next_payment_date - 03:00:00 Oct 07, 2011 PDT
protection_eligibility - Ineligible
payment_cycle - Daily
tax - 0.00
payer_id - WR942TMLKNKZE
payment_date - 04:38:37 Oct 06, 2011 PDT
payment_status - Completed
product_name - Ultimate Account
charset - windows-1252
---------->recurring_payment_id - I-5S42CVRD6HPC
first_name - Test
mc_fee - 0.88
notify_version - 3.4
amount_per_cycle - 20.00
payer_status - verified
currency_code - USD
business - ...
verify_sign - ...
payer_email - ...
initial_payment_amount - 0.00
profile_status - Active
amount - 20.00
txn_id - 2XB154738E303273C
payment_type - instant
last_name - User
receiver_email - ...
payment_fee - 0.88
receiver_id - ...
txn_type - recurring_payment
mc_currency - USD
residence_country - US
test_ipn - 1
transaction_subject -
payment_gross - 20.00
shipping - 0.00
product_type - 1
time_created - 03:32:45 Sep 29, 2011 PDT
ipn_track_id - ...
这3个值:CreateRecurringPaymentsProfile()返回的ProfileID;创建的定期付款配置文件中的定期付款id;定期付款中的定期付款id-应相同。(似乎没有其他方法可以正确识别此特定订阅的付款) 此外,Paypal多次发送定期付款(IPN),每次定期付款id都不同


我应该使用定期付款id来识别特定订阅的付款,还是有其他正确的方法来识别它?

配置文件id=定期付款id。如果定期付款id不同,我们讨论的是不同的配置文件id(换句话说:不同的定期付款配置文件)。

谢谢,但这正是我谈论的问题。我已经清理了所有以前的交易/配置文件,并且只有一个配置文件(在paypal的沙箱中)-我仍然得到不同的ProfileID和定期付款id。我知道这是一个旧线程,但我只是问自己同样的问题,所以我刚刚测试了它,我得到了相同的id两次。在尝试之前,我还清理了所有配置文件。CreateRecurringPaymentsProfile API调用返回我[PROFILEID]=>I-L9VFD2G8KW5L,txn类型的IPN消息“Recurrential_payment_profile_created”显示“Recurrential_payment_id”:“I-L9VFD2G8KW5L”以及“Recurrential_payment”IPN,因此我认为您应该对IPN消息中的内容没有问题。可能这是旧API版本的问题。我们也在处理相同的问题,所以我想补充一点:可能是因为您在沙箱中设置了多个订阅,所以对于不同的定期付款id会得到不同的值。您在沙箱中启动的每个单独的定期付款都将携带不同的定期付款id(和ProfileID),因此请确保您记住:)