#Wilhelm-paymentintent

1 messages · Page 1 of 1 (latest)

supple escarp
#

Hi! PaymentIntent do work with test keys. What do you mean buy "that doesn't work"? What's the error message?

junior ore
#

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?

supple escarp
#

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.

junior ore
#

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.

supple escarp
#

Sounds like a plan, don't hesitate if you have any other questions. And thanks for the feedback ):

junior ore
#

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?

supple escarp
#

Can you share the PaymentIntent ID?

junior ore
#

pi_3L03CcFEDD74UdAk0RTmRffW_secret_HELm3XiulPljZUr7uTW1X4OmF

supple escarp
#

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.

junior ore
#

Ahhh