#jmr21941_api

1 messages ¡ Page 1 of 1 (latest)

dull marshBOT
#

👋 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/1224795743647170632

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

mortal fractalBOT
worthy minnow
#

Can you try changing that and see if it helps? @sick flower

sick flower
#

I will switch and post back what happens thanks

#

I get a 400 with the following error message in the console:
"error": {
"message": "The value provided for setup_future_usage (off_session) is not supported for amazon_pay.",
"param": "deferred_intent.payment_method_types",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_ddJnqixO2Y1t2A?t=1712085396",
"type": "invalid_request_error"
}

worthy minnow
#

Can you share the code you're using for this?

specifically, are you setting setup_future_usage: "off_session", anywhere in your code?

sick flower
#

In the StripeElementOptions I am setting it to undefined.

worthy minnow
#

Can you remove it instead?

#

with mode subscription, you don't need to specify it at all

sick flower
#

let me try that

#

same error even if I do not set it

worthy minnow
#

Gotcha. Hmm, sorry! Since Amazon Pay is still beta, I don't know if your account needs additional approvals to use it with a subscription + defer intent flow.

I'd recommend talking to our support team or reaching out to the beta team directly via the beta email

sick flower
#

Sounds good thanks, do you happen to know the beta email?

worthy minnow
split fulcrumBOT
#

:question: Have a non-technical question, account issue, or need one-on-one support?
We wish we could help, but this community is focused on developers and technical discussions. Our support team will be able to assist you better than we can: https://support.stripe.com/contact

worthy minnow
#

You can use the support URL above

sick flower
#

will do, thank you for your time and assistance