我已将Adaptive Payments与Preapproval选项集成,以定期向用户收取一定金额的费用。 我现在想让用户选择更改他们支付的金额 - 通过PayPal文档,我似乎找不到任何关于修改现有预批准的电话。
是否确实无法更新预批准,唯一的选择是创建一个新批准?
I've integrated Adaptive Payments with Preapproval option to charge users periodically a given amount of money. I'd like to now give users an option to change the amount they're paying - looking through the PayPal documentation I can't seem to find any calls regarding modifying an existing Preapproval.
Is it indeed not possible to update a Preapproval, and the only option is to create a new one?
最满意答案
是的,你必须再次发送用户通过某种流程来更新他们的选项,所以你可以使用PreapprovalDetails拉出他们当前的设置,然后使用这些细节为用户预先填充更新表单,让他们调整他们想要调整的内容,然后根据新选项提交新的预批准请求以创建新协议。
Yeah, you'll have to send the user through some sort of a flow again anyway to update their options, so you could just pull their current setup using PreapprovalDetails, then pre-populate an update form for the user using those details, let them adjust whatever they want to adjust, and then submit a new Preapproval request to create the new agreement based on the new options.
更多推荐
发布评论