#enrique_23554

1 messages ยท Page 1 of 1 (latest)

lime tinselBOT
obsidian breach
#

Hi what's your question

peak sentinel
#

this morning we had an incident when getting the response from stripe

#

it was about an Spanish address, we expected a region "V" but stripe sent us "Valencia" instead

#

are you with me?

obsidian breach
#

Yes but we have many threads at once

#

You'll need to be patient

#

Can you share the request id where this happened

peak sentinel
#

ok, I'll give you more details

#

this is the screenshot of the failure, if you see the yellow mark, this should contain the state (V), as we've seen in test, but is empty

#

and in the json you're sending "Valencia"

#

For choosing the Stripe form has a select with an option for each Spanish state
Marked in blue is our error, but in the select is ok

#

This is the session of the error, just in case you need to take a look
cs_live_a1FUlrC5ihtqGhHOgEryopHzAowXb8kOboBzI8QhGIWYxIgaYZYfBfzs3R

#

This lead to our commerce server to an error becase was expecting "V" instead of "Valencia", so customer was angry....

obsidian breach
#

What's the failure though?

#

I'm only seeing successes

#

The payment intent shows requires capture

#

Also can you share a checkout session where Valencia was previously just "V"?

peak sentinel
#

We put to success manually to make the order work

#

We have checkout sessions on TEST with Valencia as "V" too

#

but not on prod

#

also on PROD we had a successful order with Madrid yesterday, in that case worked, returning a M in the state

obsidian breach
#

Can you share a checkout session where Valencia was previously just "V"?

peak sentinel
#

no

#

could you just check what has went wrong?
cs_live_a1FUlrC5ihtqGhHOgEryopHzAowXb8kOboBzI8QhGIWYxIgaYZYfBfzs3R

#

you can get some sessions on TEST where Valencia has the "V" too

obsidian breach
#

It would help if you provided me one to compare

#

I don't have time to dig around your accounts logs when I'm helping a bunch of other people in here too

#

If you'd rather have 1-on-1 support then please just contact our support team

peak sentinel
#

This error was because STRIPE and caused damage to our commerce system. Is not our fault that you were alone supporting all of us

#

I'll find a session id for you with correct "V" on test

obsidian breach
#

You're not giving me the info I need to help you

#

To be clear this isn't support

#

This is just a public discord server to help folks with api questions

peak sentinel
#

ook, sorry then. Should be enough if I pass you the session ID that worked with the "M" ?

obsidian breach
#

Sure send it and I can take a look

peak sentinel
#

cs_live_a115CHg14es6OZ5QquWXGEVJKuFJh4dYu3vinmkIk1mGF5dIUCf14ZsCir

lime tinselBOT
obsidian breach
#

Looking

#

Interesting. Let me check with a colleague

peak sentinel
#

yes, please

tawny loom
#

Hello! I'm taking over and catching up...

peak sentinel
#

hi, nice to meet you

tawny loom
#

The Payment Method with state set to Valencia is expected. That Payment Method was created with a Google Pay Token, and Google Pay supplied the Valencia value, so that's what we stored in our system.

peak sentinel
#

So Stripe delegates the payment to Google Pay and it overrides the address?

#

We thought that the payment address always came from your form

tawny loom
#

No, in this case it came from Google Pay because the customer paid with Google Pay and their billing details were already stored in their Google account.

#

There are zero guarantees about the format of billing details coming from Checkout because they don't always go through the form. They might come from Google Pay, Apple Pay, and various other sources depending on the payment method used.

peak sentinel
#

ook, thanks! Is the first notice we have about this

#

so, we should be ready for more cases than this

tawny loom
#

Yep, absolutely.

peak sentinel
#

Thanks!!!

#

This has explained the mistery. We'll proceed to change some things ๐Ÿ™‚