#ucjonathan_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/1433097608716484658
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
You're using api version 2020-03-02 which was before automatic payment methods were used by default on a payment intent. On that older version, only card payments would be allowed unless you explicitly enabled automatic payment methods on the payment intent: https://docs.stripe.com/api/payment_intents/create#create_payment_intent-automatic_payment_methods
So you can either enable klarna in your payment method settings and turn on automatic payment methods via the above param
Or manually pass a list of payment method types that you want to accept: https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_types
Adding that parameter worked. Please take a look at pi_3SNaFhBcdceOP5x50eeS2yJG and let me know if that looks good to you
Klarna is in the list of payment method types you can use to confirm that payment intent
Off to the races then! Thanks so much for your assistance. Have a wonderful day.