【问题标题】:Paypal recurring payment ipnPaypal 定期付款 ipn
【发布时间】:2012-11-07 03:58:59
【问题描述】:

我对贝宝中的定期付款有一个小问题。

示例:我开始定期付款,1 年内每月支付 20 美元。

paypal 是否会为这种定期付款的每个月发送一个 IPN?

谢谢。

【问题讨论】:

标签: paypal payment paypal-ipn recurring


【解决方案1】:

是的。以下是用于定期付款的 IPN 的示例。

period_type = Regular
outstanding_balance = 0.00
next_payment_date = 02:00:00 Dec 19, 2012 PST
protection_eligibility = Ineligible
payment_cycle = Monthly
tax = 0.00
payer_id = E7BTGVXBFSUAU
payment_date = 05:38:59 Nov 19, 2012 PST
payment_status = Completed
product_name = ElderHelpers.org
charset = windows-1252
recurring_payment_id = I-PFSGNJYBXBH5
first_name = Drew
mc_fee = 0.65
notify_version = 3.7
amount_per_cycle = 12.00
payer_status = verified
currency_code = USD
business = sandbo_1215254764_biz@angelleye.com
verify_sign = AUivUYns031-2-dNgZdEkr51EzGcAF5d4-6xZ2neOdkff7tDdERk1R9k
payer_email = sandbo_1204199080_biz@angelleye.com
initial_payment_amount = 0.00
profile_status = Active
amount = 12.00
txn_id = 3GN39710BA809992V
payment_type = instant
payer_business_name = Drew Angell's Test Store
last_name = Angell
receiver_email = sandbo_1215254764_biz@angelleye.com
payment_fee = 0.65
receiver_id = ATSCG2QMC9KAU
txn_type = recurring_payment
mc_currency = USD
residence_country = US
test_ipn = 1
transaction_subject = ElderHelpers.org
payment_gross = 12.00
shipping = 0.00
product_type = 1
time_created = 21:19:38 Dec 19, 2011 PST
ipn_track_id = b6f7576ff1e68

【讨论】:

  • 这取决于付款的设置方式。如果此人直接使用信用卡 (Payments Pro) 创建配置文件,而不是使用 PayPal (Express Checkout) 付款,那么您会看到 IPN 数据中包含一些附加参数。也就是说,在大多数情况下,这对你来说真的没有什么用处。我什至不记得它们是什么,因为我从来没有用过它们。
  • 如果有人遇到这个答案,txn_type 不再是“recurring_payment”。根据此处paypal.com/cgi-bin/webscr?cmd=p/acc/ipn-subscriptions-outside 的文档,这是可能的值之一。正确的值是“subscr_payment”。
  • 仅当您将 Payments Standard 与 Standard 订阅一起使用时。这与 Recurring Payments API 不同。
  • 有谁知道金额参数是否包含税费?
  • 是的,这将是定期付款的全部金额。
猜你喜欢
  • 2014-01-23
  • 2016-10-27
  • 2011-12-02
  • 2013-06-09
  • 2013-01-19
  • 2017-03-07
  • 1970-01-01
  • 2013-04-20
  • 2011-11-28
相关资源
最近更新 更多