贝宝(Paypal)验证第一次付款或初始付款是在定期付款中结算的 [英] paypal verifying first payment or initamt was billed in recurring payment

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

问题描述

我希望我的用户能够订阅定期付款(使用快速结帐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.

有直接的方法吗?

我已经尝试过,创建带有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.

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

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