关于paypal pro订阅流程的几个问题
我已将标准 paypal 与其中一个网站集成,其工作原理如下:用户选择要购买的订阅,他被重定向到 paypal,paypal 发送 IPN 响应,我对其进行处理,然后每隔 X 天 PayPal 发送一个新的 IPN 通知该用户的网站已成功对新的订阅迭代进行收费。现在的问题是用户需要有贝宝帐户才能注册此类订阅。
客户联系了PayPal,发现当卖家使用PayPal Pro帐户时,可以避免用户使用其PayPal帐户购买订阅。真的是这样吗?我是否能够收集用户的卡信息,然后向 PayPal API 发送一些请求并创建订阅。如果是,接下来会发生什么? PayPal 将每隔 X 天向我发送 IPN 请求,通知网站该卡已成功扣款?
另外,一般流程是怎样的?我是否总是需要收集卡信息并将其发送到 paypal api,或者我可以以与标准 paypal 功能类似的方式将用户重定向到 paypal 吗?
I have integrated standard paypal with one of sites and it works as follows: user selects which subscription to buy, he is redirected to paypal, paypal sends IPN response, I process it and then every X days PayPal sends a new IPN notifying site that user has been successfully charged for new subscription iteration. Now the problem is that user needs to have paypal account to sign up for such subscription.
The customer contacted PayPal and found out that it is possible to avoid having user to use their PayPal account to buy subscription when seller uses paypal pro account. Is it really so? Will I be able to gather user's card info, then send some request to PayPal API and have the subscription created. If yes, what will happen next? PayPal will be sending me IPN requests every X days notifying site that the card has been successfully charged?
Also, what is the general flow? Do I always have to gather card info and send it to paypal api or can I redirect user to paypal in a similar way as standard paypal functions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,这是可能的。您需要注册 PayPal Website Payments Pro 和直接定期付款付款。然后,您可以使用 CreateRecurringPaymentsProfile API 并直接在单个 API 调用中指定卡详细信息。
这将创建一个定期配置文件,每 X 天/月计费一次,具体取决于您在 CreateRecurringPaymentsProfile 中指定的计费周期。
或者,您也可以注册 PayPal 高级服务(适用于英国)或 PayPal 增强定期付款(适用于美国)。这允许您接受访客用户的订阅付款,使用与您目前完全相同的集成,但“访客付款”部分将添加到 PayPal 结账屏幕,因此买家不会被迫创建 PayPal 帐户不再注册您的订阅。
(注:增强定期付款/高级服务还有其他好处,例如分期付款计划,但宾客订阅付款绝对是最大的好处)。
Yes, this is possible. You would need to sign up for PayPal Website Payments Pro and Direct Payment Recurring Payments. You can then use the CreateRecurringPaymentsProfile API and specify the card details directly in a single API call.
This will create a recurring profile, which is billed every X days / months, depending on what you specified as the billing period in CreateRecurringPaymentsProfile.
Alternatively, you can also sign up for PayPal Premium Services (for the UK) or PayPal Enhanced Recurring Payments (for the US). This allows you to accept subscription payments from guest users, using the exact same integration you have at the moment, except a 'guest payment' section will be added to the PayPal checkout screen, so buyers won't be forced to create a PayPal account to sign up for your subscriptions any longer.
(Note: Enhanced Recurring Payments / Premium Services has other benefits as well, such as Installment Plans, but guest subscription payments is definitely the biggest benefit).