Braintree 订阅定期付款
假设一个客户以每月 10 美元的价格订阅了一个产品,他的开始日期是 2011 年 5 月 11 日,结束日期是 2011 年 6 月 10 日,所以我的问题是,在 2011 年 6 月 11 日订阅到期后,谁将收取重复费用客户付款。 Braintree 将向客户收费,或者我们(商家)必须向 Braintree 发送请求。
如果商家必须收费,那么流程是怎样的,如果有人提供 PHP 代码示例那就太好了。
Let a customer has subscribed for a product for $10 monthly and his starting date is 11-May-2011 which ends on 10-June-2011, So my question was that after expiry of subscription on 11-June-2011 who will charge for recurring payment from customer. Braintree will charge the customer or we (merchant) have to send a request for that to Braintree.
If merchant have to charge then what is the process and it would be great if someone provides PHP code sample.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以在 Braintree 中设置订阅,每月向您的客户收费。您需要在 Braintree 管理控制面板中手动设置订阅计划(例如每月 10 美元),但您可以使用 API 将客户注册到您创建的订阅计划,并且不需要让您的应用程序提醒 Braintree每个月账单。
用于在 PHP 中设置订阅的 Braintree API 文档位于以下链接:
http://www.braintree payments.com/docs/php/subscriptions/overview
You can set up a subscription in Braintree which will charge your customers monthly. You need to set up the subscription plan manually (such as $10 per month) in your braintree admin control panel, but you use the API to sign up customers to the subscription plan you created, and do not need to have your app remind braintree to bill each month.
The Braintree API docs to setup subscriptions in PHP are at the following link:
http://www.braintreepayments.com/docs/php/subscriptions/overview