贝宝定期订阅问题 [英] Paypal recurring subscriptions question
问题描述
当某人开始定期订阅时,我传递了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而不是custom吗?
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?
谢谢.
推荐答案
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中传回的变量,该变量在连续的笔录IPN中未重现.唯一可区别的因素是注册,或者第一期付款的价格是否不同.
Custom is passed back through both the signup and payment IPN posts and is passed back through the consecutive IPN posts. There is not a variable that is passed back in the first payment IPN that is not reproduced in the consecutive ones. The only distinguishable factor would be the sign-up or if there was a different price for the first period of payment.
这篇关于贝宝定期订阅问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!