Skip to main content
NorrNext Anniversary. We've been around for 10 years! Celebrate with us and get a 20% discount. Coupon code: ANNIVERSARY10

#184 Please wait while redirecting to Stripe checkout page

Posted in ‘Stripe Checkout for VirtueMart’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information (available for public)

PHP version
8.2.29

Latest post by danpadure on Tuesday, 19 August 2025 07:42 EEST

danpadure

after finalizing the order it gets stuck at 

Your order #NQL301578 has been successfully processed.

Please wait while redirecting to Stripe checkout page... -398

 

Can you check, please?

just order anything with price 5000 or higher for stripe checkout to show up

 

danpadure

I do see the API requests in stripe dashboard, all "succeeded"

 

b2z

Hello!

On checkout I always get

Ori nu ati introdus adresa de livrare ori nici un mod de livrare nu se potriveste caracteristicilor comenzii dumneavoastră.

Either you have not entered a delivery address or no delivery method matches the characteristics of your order.

What address should I enter to proceed futher?

Kind regards,

Dmitrijs

danpadure

just order 2 of these and it should be fine

https://masini-electrice.ro/index.php/incarcare-auto/statii-de-incarcare/statie-incarcare-navo-solar-dlb-t2-22kw-h1-detail

and select Romania as country

 

b2z

OK, now I see errors in the browser console:

Uncaught IntegrationError: Stripe.js must be loaded from js.stripe.com.

Uncaught ReferenceError: stripe is not defined

And these errors come from /media/vpframework/optimized/gz/120/4deff3a95ad16af21546e608296e91ec.js

Normally there should be a Stripe v3 JavaScript loaded from https://js.stripe.com/v3/. But I do not see it on your page, because it is combined inside the file and that leads to an error.

You need to exclude Stripe Javascript in the the extension that combines JS.

Kind regards,

Dmitrijs

danpadure

I removed the stripe script from the optimizer. Now indeed the payment loads up

But after the payment the user should get a "thank you for your order" message
This loads from https://masini-electrice.ro/index.php/cart?task=orderdone

But it does not happen when paying with stripe
It loads https://masini-electrice.ro/index.php?option=com_virtuemart&view=pluginresponse&task=pluginresponsereceived&pm=16&on=CJ3I01577

not sure if this is because of sandbox or something else?

 

danpadure

is the return url incorrect?

b2z

That's the correct behaviour according to VirtueMart when a user returns from the external payment page back to the shop.

It allows to call the payment plugin, process the order information and inject the additional data to the layout. I have it also on your website:

Vă mulţumim pentru comanda dumneavoastră!

Your order #TY1B01578 has been successfully processed.
Sandbox Mode is enabled, no real money are transferred. Sandbox is used to test the payments.

View order

The problem is, that it is being displayed below all modules you have, because the VirtueMart component body is displayed there...

And /cart?task=orderdone is needed to render the page after completing the order, where payment plugin displays the information and redirects you to the payment page.

Kind regards,

Dmitrijs

danpadure

You are correct.
I hid the other modules on the final page and now the confirmation message is on top

Thank you

Support information

Support hours: You can get our help: Monday - Friday / 09:00 to 17:00 (GMT+3), but not limited. Our staff is pleased to provide Premium support to every paid subscriber asap, but sometimes you should be ready to wait for our reply for up to 3 days.


Our time: / Your time:

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. We also ask you to remove temporary credentials at your site after the problem is resolved. Thank you.

Support of free extensions is not provided on this forum. Please submit your questions or report issues via Github tracker. See link on the product page.