0

How i have to set a rule to go direct to Paypal site? I use PayPal Express and i am not able to solve this. The only one rule i can set is to go to cart/checkout. But i´d like to go one step forward without to see the order and to have to click on the PayPal button. Thanks for helping

1 Answer 1

0

It's not possible without custom code. The customer either initiates the Express Checkout payment by clicking the button form on the cart page, or the Commerce PayPal module does it on a form submission when the customer chooses PayPal as a payment option on the checkout form. That requires sending an API request to initiate the payment and get the tokens that must be passed with the customer to PayPal to submit payment. With custom code you could simulate the customer choosing PayPal as a payment option on the checkout form and initiate the redirect, but there's nothing that exists to do that that I've seen.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.