Display - something - while laravel is away processing in the background.
Part of my user journey involves taking out a membership using Stripe. This is all awesome and Stripe is just too good! However there is a several second delay while laravel is talking to stripe and returning with data.
How can I show something to my user during this 3 to 8 second pause?
you could do the request to your backend in ajax, this way the user doesn't leave the form yet, you can show them some spinning banner while the ajax request is waiting for a response.
You could also have the stripe signup go in a background job, show the user the 'thank you, we're processing your request' page and poll the backend to see if the job has finnished, if so: you show the user the success / error message.