#arnis_api

1 messages ยท Page 1 of 1 (latest)

fast galleonBOT
#

๐Ÿ‘‹ 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/1444986737964224574

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

pseudo kettle
#

hey there ๐Ÿ‘‹ so you're saying that this works correctly when you don't use Invoices?

fast galleonBOT
charred vale
#

@peak hemlock the error you're getting on the request you shared comes from the fact that you're not specifying the PaymentMethodTypes on the element

peak hemlock
#

If is specifically set the payment method type to card, will it work. Should this be specified in stripe checkout element or on the backend

charred vale
#

you need to use the same PMTs that are on the PaymentIntent's payment_method_types

peak hemlock
#

The point is that I'm creating an invoice even for one time payments, and I'm having the issue. I'm not directly creating payment intent. I'm creating an invoice, finalizing it and then returning the payment intent secret to confirm it

charred vale
#

instead of just returning the payment_intent secret, you can also return the payment method types

#

and use those to initialize the Element

peak hemlock
#

And this should fix the issue right? Does anyone had this issue ?

charred vale
#

would you mind sharing your front end code?