问题描述
当有人开始定期订阅时,我会传递 custom
变量,该变量包含我系统上用户的用户 ID.付款后,我收到两个 IPN,subscr_signup 和 subscr_payment.两者都有自定义变量,可以让我识别用户.
When someone starts a recurring subscription, i pass on the custom
variable which contains the User ID of the user on my system. After the payment I receive two IPNs, subscr_signup and subscr_payment. Both have the custom variable in them which lets me identify the user.
但是,对于未来的定期付款,IPN 会继续传递自定义变量吗?我应该依赖 subscr_id 而不是自定义吗?
However, for future recurring payments, will the IPN continue to pass on the custom variable? Should I rely on the subscr_id instead of custom?
谢谢.
推荐答案
我从 此页面.是的,自定义变量将始终在每个连续的 IPN 帖子中按原样传递.
I found the answer from this page. Yes, the custom variable will always be passed as-is in every consecutive IPN post.
引用:
自定义通过注册和支付 IPN 帖子传递回来,并通过连续的 IPN 帖子传递回来.没有一个变量在第一个支付 IPN 中传回,而不是在连续的支付中重现.唯一可区分的因素是注册或第一期付款的价格是否不同.
这篇关于Paypal 定期订阅问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!