Reply
Member
Posts: 2
Registered: ‎11-26-2019

How to hide/skip the "order pay" page in woocommerce.

Hello to the Community.

 

First time on this forum. And first time integrating Authorize.net payment gateway. I'm developing a booking website using Wordpress and WooCommerce. I've run into a minor user experience issue that my client wants to be resolved. Let me explain the scenario. When the user completes the billing information page and clicks submit it briefly takes them to an "order pay" page and then redirects to the cc payment page. I'd like to hide/skip the order pay page completely. Anyone know about this issue or how to resolve itit?

 

My searches online have been contradictory. Some saying its an issue with the Woocommerce plugin and others saying its an issue with the payment gateway. 

 

https://wordpress.org/support/topic/skip-order-pay-page/

https://wordpress.org/support/topic/how-to-remove-the-extra-step/

 

Any help would be appreciated. Thanks in advance. 

All Star
Posts: 684
Registered: ‎11-05-2018

Re: How to hide/skip the "order pay" page in woocommerce.

[ Edited ]
Sounds like you are using a hosted form. For sure your issue is with the plugin/CMS. When the customer goes to the auth.net form where they enter their credit card info, this is accomplished behind the scenes via an API call. No matter what CMS or plugin you use, this is taking place somewhere in the source code.

There are numerous ways to display the hosted form. Usually it happens via a redirect. What happens is an html form is submitted to auth.net. The html form will pass the merchants API credentials and/or validation token and usually info about the customer. Auth.net validates the API call and then the form is pulled up.

There is, however, no need for the customer to press any button to submit the form, or to even see the form or know it exists. For all of my integrations I use hidden input fields to house the validation token and JavaScript to submit the form automatically. So the user just enters their shipping details and clicks a button to pay and boom there the payment form is.

The other option with a hosted form is to use an iframe, and it is the same principle. The user never has to press anything to call up the form.
Member
Posts: 2
Registered: ‎11-26-2019

Re: How to hide/skip the "order pay" page in woocommerce.

Thank you for the information. I do appreciate it. I'm probably going to hire a more experienced developer to create a better plugin. Cheers.