#AlexTakitani
1 messages · Page 1 of 1 (latest)
What do you mean? Creating a Checkout Session will give you a url field in the Checkout Session object. You would specify a return_url and cancel_url for Checkout to redirect to after the session is over. Can you elaborate on what you need specifically?
Hi there
I'm using stripe mock
When creating a checkout session, it's not only not active, it doesn't have a URL: curl -k https://localhost:12112/v1/checkout/sessions \ 154ms Thu Jun 9 09:43:59 2022 -u sk_test_...
Ahhhh, okay. Let me see if I can get some info from the person that was looking at that bug report
Oh that's great! Thanks!
I checked for an update internally and it looks like they are still working on a fix. Is this blocking you from doing something with your integration? Can I help you find a workaround in the meantime?
Oh I see.
Yes, since we are going from a custom checkout page
to Stripe Checkout
And every test we have uses stripe mock
I think we either have to use stripe live
or if you have a workaround it would be great
I started using stripe Live and it would require us to refactor a toon of tests
Is there a reason you couldn't create a regular test-mode Checkout Session without using Stripe mock?
If you only need a URL for the Checkout Session, then that should be easy enough to get with a real API call using your test-mode API key
The problem is all the things that come before
subscriptions, products and so on
but indeed, I think I can find a way to do it calling just the checkout using the live api
Let me know if I/we can assist!