#jmr21941_api
1 messages ¡ Page 1 of 1 (latest)
đ 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.
Hello
Amazon Pay is still in beta so I don't think we'll be able to help here.
However, I've usually seen the error you're seeing when using defer intent flow
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=subscription
First thing I noticed is that for subscriptions, you're supposed to use mode subscription in elements options.
Can you try changing that and see if it helps? @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"
}
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Can you share the code you're using for this?
specifically, are you setting setup_future_usage: "off_session", anywhere in your code?
In the StripeElementOptions I am setting it to undefined.
Can you remove it instead?
with mode subscription, you don't need to specify it at all
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
Sounds good thanks, do you happen to know the beta email?
There's one for access on this page: https://docs.stripe.com/billing/subscriptions/amazon-pay?api-integration=subscription
I don't know if they answer to other requests though, so a better approach might be to create a support ticket.
: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
You can use the support URL above
will do, thank you for your time and assistance