Stripe requests are taking more than 4 seconds in 3G network

Published 4 weeks ago by reddysridhar53

I am using Stripe payments gateway and I am trying to optimize the page performance. Can someone please help me improve the performance ? Thanks.

jlrdw
jlrdw
4 weeks ago (215,260 XP)

I wish my cell phone and plan was that fast. For work we use an at&t plan, even with no wifi it is fast. But my personal phone through bo??? mobile the same thing would take 15 seconds, a guess and it is 4g.

So have you actually tested this on other phones and plans.

To me 4 seconds in blazingly fast.

Everything online doesn't take place in one millisecond you know.

m-rk
m-rk
4 weeks ago (41,640 XP)

If stripe is slow you can't do anything to improve the speed. Stripe is handling the connection so there is nothing to do on your side to improve the speed of that request.

4 seconds is acceptable. If you are able to show some kind of nice loader it should not be a big problem. Faster is always better but if there is no faster connection there is not much you can do. If you entertain the user that your payment process is 'busy' than waiting 4 seconds on a checkout page is acceptable imo.

Cronix
Cronix
4 weeks ago (384,270 XP)

@m-rk I lol'd

If you entertain the user that your payment process is 'busy' than waiting 4 seconds on a checkout page is acceptable imo.

I pictured them playing tic-tac-toe or something while they are waiting lol

jlrdw
jlrdw
4 weeks ago (215,260 XP)

Not just this https://daveismyname.blog/stripe-api-format-invoices-totals but search around in David's blog he has several stripe tutorials. See if any talk about speed of transaction, that sort of thing.

He is also a developer of a php framework where I also wrote some of the code. A while back however.

Please sign in or create an account to participate in this conversation.