我正在我的网站上 Build 订阅系统 . 这是月度订阅系统,我正在使用Paypal Express结账 .
我的问题是 will Paypal send IPN notification to the notify_url every month when the user's account is charged, or only when the first payment is made ?
PayPal将每月向您的IPN侦听器发送通知,该通知应在 Profile > My Selling Tools > Instant payment notifications 中指定并启用
Profile > My Selling Tools > Instant payment notifications
每个定期付款通知都包含 txn_type=subscr_payment
txn_type=subscr_payment
为了获得IPN,需要确保在PayPal帐户配置文件中配置了IPN . 它会 not 不断使用原始的NotifyURL值 .
在我目前的PayPal测试中,我看到以下txn_types;
txn_type => recurring_payment_profile_created
这是第一次仅创建加号然后每个经常性时间,每个付款周期的通知;
txn_type => recurring_payment
另外,正如其他人所说,它将使用PayPal配置文件中指定的IPN URL .
首次创建付款资料时,您将收到跟踪代码资料ID,并在每次通知时发送 . 查找[recurring_payment_id]并在数据库中与此匹配,以跟踪订阅发生的情况(更改/用户取消等) .
3 回答
PayPal将每月向您的IPN侦听器发送通知,该通知应在
Profile > My Selling Tools > Instant payment notifications
中指定并启用每个定期付款通知都包含
txn_type=subscr_payment
为了获得IPN,需要确保在PayPal帐户配置文件中配置了IPN . 它会 not 不断使用原始的NotifyURL值 .
在我目前的PayPal测试中,我看到以下txn_types;
txn_type => recurring_payment_profile_created
这是第一次仅创建加号然后每个经常性时间,每个付款周期的通知;
txn_type => recurring_payment
另外,正如其他人所说,它将使用PayPal配置文件中指定的IPN URL .
首次创建付款资料时,您将收到跟踪代码资料ID,并在每次通知时发送 . 查找[recurring_payment_id]并在数据库中与此匹配,以跟踪订阅发生的情况(更改/用户取消等) .