Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to skip the order confirmation page with ActiveMerchant and PayPal Express

Regarding to the PayPal docs it's possible to skip the order confirmation page and let the customer pay on PayPal. To do so, the parameter "useraction" must be set to "commit". How can this be done with ActiveMerchants setup_purchase method?

PayPal - Customizing Express Checkout

like image 387
Michael Wallasch Avatar asked Feb 20 '23 15:02

Michael Wallasch


1 Answers

Got it. Just set the review parameter in the redirect_url_for method to false. Example:

EXPRESS_GATEWAY.redirect_url_for(response.token, review: false)
like image 117
Michael Wallasch Avatar answered May 07 '23 10:05

Michael Wallasch