- Issue created by @nicolas bouteille
- 🇮🇱Israel jsacksick
I'm not really sure what you're suggesting but technically, in both cases, even for an offsite payment gateway, this code should be invoked prior to redirecting to the gateway meaning there no payment should have occurred yet?
Also, it is the job of the payment gateway to register the payment with the right amount from onReturn(), so not really sure there is a bug to fix from Core here.
- 🇫🇷France nicolas bouteille
I see... well Commerce Stripe has implemented Payment Element which requires that the pane where the Stripe PaymentElement JS object is shown to the customer at the Review step. So maybe indeed they should not have done so.
- 🇮🇱Israel jsacksick
I know Tom (TomTech) is currently making changes to Commerce Stripe which are probably related to this... You probably should double check the work that is happening there.
- 🇫🇷France nicolas bouteille
I've opened an issue on Commerce Stripe so that they can explain why they needed to display the PaymentElement at Review step instead of Payment step. 🐛 Displaying PaymentElement at Review step might not be the way to go Active