#Wilhelm-paymentintent
1 messages · Page 1 of 1 (latest)
Hi! PaymentIntent do work with test keys. What do you mean buy "that doesn't work"? What's the error message?
Some old coworker set it up with stripe thru composer. So im not getting a error code.
But is there something you need to activate to allow test keys or should it all go automatic?
No it should work automatically. You just need to make sure you are using test keys on both the backend and the frontend.
I recommend adding some logs to understand where things break.
Yeah thats the ting i wanted to avoid. Its a git project but thanks for the help and i will add some logs to find whats wrong.
Btw Love the documentations. Its the best API docs i have ever seen.
Sounds like a plan, don't hesitate if you have any other questions. And thanks for the feedback ):
Yeah i got one more thing.
In norway we dont use ZIP code with our cards. But it seems like all the test cards needs it and uses it.
So i get error code: payment_intent_unexpected_state
When we dont live in the states and wont have any custommer from the states. Any tips here?
Can you share the PaymentIntent ID?
pi_3L03CcFEDD74UdAk0RTmRffW_secret_HELm3XiulPljZUr7uTW1X4OmF
That PaymentIntent succeeded: https://dashboard.stripe.com/test/logs/req_KiVlzVTYt1dHCB
The issue is that you are trying to confirm the same PaymentIntent multiple times in a row. The first time it works, and then when you try again you get an error.
Ahhh