#Hugues-SpringMVC-returnUrl
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- Hugues, 1 day ago, 8 messages
Hi 👋
I'm sorry to say this sounds like more of an issue with Spring MVC not hosting a resouce at /checkout.html. If you navigate to that URL do you see a page?
As mentioned above, my web controller was successful in dispatching to /checkout.html But you can't access the page simply by typing http://localhost:8080/checkout.html. It has to pass through the controller.
Unfortunately that is something you will have to solve. That isn't a Stripe problem but a Spring MVC problem. You need to have a resource available that you can reach directly.
Is it possible to get away with this without specifying a "return_url" and, if so, would Stripe redispatch to the checkout form by default?
The return URL is required as we specify here: https://stripe.com/docs/js/payment_intents/confirm_payment#confirm_payment_intent-options-confirmParams-return_url
Thanks...
Is this something you could do using the Static Resources feature?
https://docs.spring.io/spring-framework/reference/web/webmvc/mvc-config/static-resources.html