简体   繁体   中英

Execute preapproval payment with rails & active_paypal_adaptive_payment

How can I execute a preapproved payment using active_paypal_adaptive_payment and 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? 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)

Btw can you let me know where you got the active_payPAl_adaptive_payment from ? We can work on getting it updated.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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