gpt4 book ai didi

php - 循环支付 IPN 请求 rp_invoice_id 字段

转载 作者:太空宇宙 更新时间:2023-11-03 16:29:41 31 4
gpt4 key购买 nike

这是 PayPal Express Checkout 定期付款 IPN 请求的示例:

 [mc_gross] => 6.56
[period_type] => Regular
[outstanding_balance] => 0.00
[next_payment_date] => 03:00:00 Jun 21, 2012 PDT
[protection_eligibility] => Ineligible
[payment_cycle] => Weekly
[tax] => 0.00
[payer_id] => K48P3Fxxxx
[payment_date] => 16:52:28 Jun 14, 2012 PDT
[payment_status] => Completed
[product_name] => Virtual Subscription $6.56 / week for 3 weeks
[charset] => windows-1252
[rp_invoice_id] => 208
[recurring_payment_id] => I-4DHKxxxx
[first_name] => Test
[mc_fee] => 0.38
[notify_version] => 3.4
[amount_per_cycle] => 6.56
[payer_status] => verified
[currency_code] => USD
[business] => xxxx@gmail.com
[verify_sign] => AlAlnsACWRTf4OV6vRMZG4sCyEdYACBnr7ishagKt60BxtlJgPjaRIAh
[payer_email] => xxxx@gmail.com
[initial_payment_amount] => 0.00
[profile_status] => Active
[amount] => 6.56
[txn_id] => 3PE0612xxxx
[payment_type] => instant
[last_name] => User
[receiver_email] => xxxx@gmail.com
[payment_fee] => 0.38
[receiver_id] => TYDEKWLxxxx
[txn_type] => recurring_payment
[mc_currency] => USD
[residence_country] => US
[test_ipn] => 1
[transaction_subject] => Virtual Subscription $6.56 / week for 3 weeks
[payment_gross] => 6.56
[shipping] => 0.00
[product_type] => 1
[time_created] => 23:48:22 Jun 13, 2012 PDT
[ipn_track_id] => b2c853ddxxxx

如您所见,有一个名为 rp_invoice_id 的字段,它是商家自己的唯一引用号或发票号,可用于唯一标识配置文件。 p>

创建API调用CreateRecurringPaymentsProfile时,如何传递这个值,应该在API调用中设置哪个字段?

谢谢

最佳答案

您需要使用 PROFILEREFERENCE 参数传入一个值,该值将通过 rp_invoice_id 参数中的 IPN 返回。

PROFILEREFERENCE

(Optional) The merchant's own unique reference or invoice number.

Character length and limitations: 127 single-byte alphanumeric characters

https://developer.paypal.com/webapps/developer/docs/classic/api/merchant/CreateRecurringPaymentsProfile_API_Operation_NVP/

关于php - 循环支付 IPN 请求 rp_invoice_id 字段,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26037028/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com