MONEI / MONEI-WooCommerce

WooCommerce module for MONEI
https://docs.monei.com/docs/e-commerce/woocommerce/
Other
6 stars 7 forks source link

Avoid intermediate screen #7

Closed jimmyn closed 3 years ago

jimmyn commented 4 years ago

@joseconti can we avoid intermediate screen and redirect right away?

Screen Recording 2020-04-23 at 14 24

alexandresaiz commented 4 years ago

@joseconti status here?

joseconti commented 4 years ago

No, that screen is mandatory @alexandresaiz and @jimmyn. For this reason, I add jQuery on that screen so that you are redirected directly to MONEI, and don't have to press a second pay button to be forwarded to the gateway.

https://github.com/MONEI/MONEI-WooCommerce/blob/master/monei.php#L317

jimmyn commented 4 years ago

@joseconti I see, then let’s put a white overlay over entire screen with the same loader that appears when you click a checkout button.

joseconti commented 4 years ago

Ok @jimmyn

alexandresaiz commented 4 years ago

@joseconti status?

alexandresaiz commented 4 years ago

@joseconti can we close this issue? has it been fixed?

alexandresaiz commented 4 years ago

@joseconti hello?!

joseconti commented 4 years ago

Done checkout

jimmyn commented 4 years ago

@joseconti But even your gif shows that there is a flash of intermediate screen and a visible message. Can we avoid that?

joseconti commented 4 years ago

@jimmyn I know it. But I don't know how to resolve it. With Credit Card OnSite there isn't this problem because this screen doesn't exist. The problem is that you have to load the page before you get to the JS that puts the overlay.

alexandresaiz commented 4 years ago

@jimmyn what should we do here for offsite transactions?

joseconti commented 4 years ago

All offsite gateways with redirection (posting with a form) have "this problem". It is the WooCommerce work-form.