贝宝验证第一笔付款或 initamt 是在定期付款中计费的 [英] paypal verifying first payment or initamt was billed in recurring payment

查看:23
本文介绍了贝宝验证第一笔付款或 initamt 是在定期付款中计费的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望我的用户能够订阅定期付款(使用快速结账 API)第一次付款需要在用户订阅后立即计费,我需要在授予他们访问权限之前知道他们已成功计费.

I want my users to be able to subscribe to a recurring payment (using the express checkout api) The first payment needs to be billed immediately that the user subscribes, and I need to know that they have been successfully billed before granting them access.

有没有直接的方法来做到这一点?

Is there a straight forward way to do this?

我已经尝试过,使用 INITAMT 集创建定期付款配置文件,但是,不清楚是否向用户收费(使用沙箱时),并且没有返回 txn_id(或等效项)以建议那个账单已经完成了.我确实收到了 IPN 确认,但是这是在创建配置文件后一段时间"出现的,这使得很难提供出色的用户体验.

I've tried, creating a recurring payment profile with an INITAMT set, however, it's not clear that the user is being billed (when using the sandbox), and there is no txn_id (or the equivalent) being returned to suggest that billing has been done. I do get an IPN confirmation however that comes "some time" after creating the profile, which makes it difficult to offer a great user experience.

我尝试添加一次性付款,使用 DoExpressCheckoutPayment 对其进行身份验证,然后在一次性付款有效时设置循环配置文件,但是身份验证也失败了,此时我已经放弃了(尽管可能在这种方法中仍然是一些腿).

I've tried adding a one time payment, authenticating that with DoExpressCheckoutPayment, then setting up the recurring profile if the one-off payment works, however the Authentication also fails and at this points I've given up (although there may still be some legs in this approach).

无论如何,我想我会问这里的专家.有没有一种简单的方法来设置定期付款,每月一次付款,第一笔付款立即计费()并通过 API 确认第一笔付款,而不必等待未知的时间来获得 IPN 确认消息?

Anyway, I thought I'd ask the experts here. Is there a simple way to setup a recurring payment, one payment per month, first payment billed now() and have the first payment confirmed via the API without having to wait an unknown amount of time for an IPN confirmation message?

推荐答案

我发现的唯一解决方案(很差)是接受最多 24 小时延迟收到第一个月订阅费用的通知.我们现在正在研究 Google Checkout 和 Braintree 支付作为 Paypal 的替代方案,以便我们可以摆脱它.

The only solution I've found (which is poor) is to accept up to a 24 hour delay in being notified that the first month's subscription has been billed. We're now investigating Google checkout and braintree payments as alternatives to paypal so we can migrate away from it.

这篇关于贝宝验证第一笔付款或 initamt 是在定期付款中计费的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆