#milan_error

1 messages ¡ Page 1 of 1 (latest)

hoary glenBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1234591731136069713

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

raven yoke
#

I take that back. Auth/capture is now failing as well, but it worked before.

sweet hemlockBOT
topaz bridge
#

Hello can you show me the exact Stripe code your are calling when you run in to this error?

#

And is auth/capture failing the same with the exact same error message or is this a different one?

raven yoke
#

Same error

#

You want the full code for running a payment?

topaz bridge
#

Just the call that you are making when you get this error for now

raven yoke
#

Well there are several lines that construct the paymentIntent model that I'm sending your way. I can send that. Let me grab it. In the meantime, I see this in the logs for that merchant. Notice the shipping_from_zip value. I didn't pass that in for this transaction, so it appears it's defaulting that from the merchant account, is that right?

{
"capture_method": "automatic",
"statement_descriptor_suffix": "Acme Bricks",
"application_fee_amount": "0",
"transfer_data": {
"destination": "acct_1PAxwqDAarTLCYUx"
},
"currency": "cad",
"level3": {
"merchant_reference": "abcdefghi",
"shipping_from_zip": "K4A 9Z9",
"customer_reference": "1234567890",
"shipping_amount": "1500",
"line_items": {
"0": {
"discount_amount": "787",
"tax_amount": "51",
"product_description": "Shiny new widget.",
"product_code": "widget123",
"unit_cost": "5120",
"quantity": "3"
}
}
},
"payment_method": "pm_1PB05cDFt6iTMCHHQTArgQrh",
"on_behalf_of": "acct_1PAxwqDAarTLCYUx",
"confirm": "True",
"amount": "16124",
"payment_method_types": {
"0": "card"
}
}

topaz bridge
#

Unfortunately we don't know much about L3 data on this server as it isn't enabled on accounts by default, but I will ask my colleagues about the defaulting

#

Do you have the ID of a payment where that zip code was accepted before?

#

And to clarify I was asking for your code, like the javascript/python/etc code call that returns this error. That will also be helpful here

raven yoke
#

The one that failed is req_RqwazVDoTomqCO

And when I remove L2/3 data from the call, it works great. So that appears to be the issue. There is defaulting of values when we pass in L2/3.

#

OH. I got it! "Only US merchants are currently supported." for Level 2/3

#

Problem resolved.

topaz bridge
#

Ah gotcha, great catch! That is very good to know

raven yoke
#

Well, glad we got that figured out. Thank you for the help. And it was great meeting some of your team at Stripe Sessions.

topaz bridge
#

Absolutely! It was a great time for us too