简体   繁体   English

使用rails和active_paypal_adaptive_payment执行预批准付款

[英]Execute preapproval payment with rails & active_paypal_adaptive_payment

How can I execute a preapproved payment using active_paypal_adaptive_payment and rails? 如何使用active_paypal_adaptive_payment和rails执行预先批准的付款? I have pre-approved payment set up (authorised by user) but I don't know how to execute the payment. 我已经预先设置了付款(由用户授权),但是我不知道如何执行付款。 Should I use execute_payment method? 我应该使用execute_payment方法吗? But what params does it take? 但是它需要什么参数? I cannot find it in the documentation. 我在文档中找不到它。 Thanks for help. 感谢帮助。

The preapproval key needs to be set in the 'Pay' API call ( https://www.x.com/developers/paypal/documentation-tools/api/pay-api-operation - look for Preapproval Payment section) 需要在“付款” API调用中设置预批准密钥( https://www.x.com/developers/paypal/documentation-tools/api/pay-api-operation-查找“预批准付款”部分)

Btw can you let me know where you got the active_payPAl_adaptive_payment from ? 顺便说一句,您能告诉我您从哪里获得active_payPAl_adaptive_payment吗? We can work on getting it updated. 我们可以继续进行更新。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM