Support » Plugin: WooCommerce Stripe Payment Gateway » Payment Processing Splash page “Please Wait”

  • Resolved SDATAS

    (@sdatas)



    Hi,

    I find that the processing time for payment until confirmation page can take up to 30 seconds.

    During this time the page dims to white but I believe many people are clicking away from this page because they are not sure if their payment completed correctly.

    I am not having issues reciving payment but the process is a little slow, and I undestand that this process can take a little time.

    I’m just wondering if anyone knows of a way to show a splash page or notification while payment is processing.

    eg. “Please Wait – We are processing your payment, do not click away from this page. This process can take up to 30 seconds”

    Has anyone achieved this?

Viewing 10 replies - 1 through 10 (of 10 total)
  • I’d really like this function as well to clarify for the customers that their payment is processing and that they shouldn’t close the browser or refresh the page.

    I’ve actually had a few customers that thought the purchase was complete and closed the browser.

    Plugin Author royho

    (@royho)

    @sdatas @jyourstone have you folks try asking this question to WooCommerce core? Because this feature comes from that plugin.

    SDATAS

    (@sdatas)

    Hi @royho

    No I haven’t, as I only use the stripe plugin to process payments I just thought it would be a nice feature/option to have for the plugin.

    Do you think this could be an option for a future build?

    Plugin Support madeincosmos

    (@madeincosmos)

    Automattic Happiness Engineer

    Hi @sdatas,

    The payment itself usually takes a second or two to process, and Stripe has little control over other things that are happening during checkout, or information about how much time they take. If the total checkout time is more than 10s, this is usually due to WooCommerce getting stuck on the mailserver sending emails. To solve this problem, you can either switch to a dedicated SMTP provider, or delay sending emails so they don’t block the checkout process. Here is a snippet that will let you do the second thing:

    https://gist.github.com/madeincosmos/f73f6a3c7dc376c817483ff26f3fc596

    Cheers!

    According to Stripe support, it’s normal that a purchase can take up to 20 seconds when the web server and payer is located in Europe due to communication between the web host, Stripe servers in the US and the customer bank located in Europe.

    kimsf

    (@kimsf)

    What can also extend the payment time by a large amount are emails. I’ve found that a few additional seconds can be added until the user is directed to the thankyou page due to emails. You can check it out yourself by timing how long it takes with emails enabled/disabled. A possible solution is to use different email plugins, email server, or queue emails.

    Another reason for slow checkout is a huge mysql database and insufficient cpu speed.

    Absolutely, but in my case the other payment gateways are very fast, it’s only Stripe that’s slow.

    SDATAS

    (@sdatas)

    Thanks everyone for the input, I understand there are many different variables regarding how long its takes from payment process to confirmation page, I have tweaked my site as best I can to minimise any latency.

    The question as originally posted is there a way to show a splash page or notification while payment is processing until it loads order confirmation page?

    eg. “Please Wait – We are processing your payment, do not click away from this page. This process can take up to 30 seconds”

    thanks

    Plugin Support madeincosmos

    (@madeincosmos)

    Automattic Happiness Engineer

    Hi @sdatas,

    Thanks for the explanation!

    @royho do you think this could be achieved with a filter in the plugin?

    Plugin Author royho

    (@royho)

    @madeincosmos – Unfortunately not after looking at what is involved. It requires changes in WC core as well otherwise you will get mixed UX.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Payment Processing Splash page “Please Wait”’ is closed to new replies.