Magento 2 custom payment method - how redirect to gateway after click place order button in checkout help me .
1 Like
You can use the standard PayPal module as an example:
How does the «PayPal Website Payments Standard» payment method redirect a customer to the payment gateway
1 Like
Thanks for you replay.
Have one more question.
How to set the redirect Url like this way ?
window.checkoutConfig.payment.paypalExpress.redirectUrl[quote.paymentMethod().method
1 Like
Geart Dmirty thank you.
I one think this redirect is after create order or before create order ?
how to get the order object from my controller for passing data to payment data.
Use separate topics for additional questions.
Ok sure