#venkateshjsoft
1 messages · Page 1 of 1 (latest)
Hello, what do you need clarification on?
I created payment intent for klarna, I received the status "requires_payment_method"
in the document, I Couldnt find any steps to confirm the payment method
I could see steps to confirm payment for sepa, ideal, sofort but not for this
requires_payment_method is the default status for payment intents.
The doc you linked to has a "Direct API" tab that shows how to confirm klarna payments with Stripe.js https://stripe.com/docs/payments/klarna/accept-a-payment?platform=web&ui=API#web-submit-payment
Is there a specific part of submitting the payment that you are getting stuck on?
The provided PaymentMethod was previously used with a PaymentIntent without Customer attachment, shared with a connected account without Customer attachment, or was detached from a Customer. It may not be used again. To use a PaymentMethod multiple times, you must attach it to a Customer first.
im getting error when i submit recurring payment
Gotcha, so as that error says you will need to attach the Klarna PM to a Customer before it is used for a payment for it to be re-used
attach during payment intent creation?
Taking a step back, in your actual live flow are you actually going to have a one-off payment intent like this before the subscription is created?
You can do that, I just want to make sure. It is also possible to create the subscription and have the user pay the first payment on it while saving and attaching the PM
actually we charge our customers firstime also during subscription renewal
PaymentMethods of type klarna cannot be attached to Customers directly. Please instead provide the PaymentMethod and Customer alongside a SetupIntent or PaymentIntent with the setup_future_usage parameter.
when I was trying to add payment method iam getting this error
It actually looks like KIarna does not support subscriptions at all. We show "Recurring payments: No" on the page for the. Apologies I forgot that Klarna is a Buy Now, Pay Later payment method, I don't think they support subcriptions in general. https://stripe.com/docs/payments/klarna
So unfortunatley I don't think you'll be able to use Klarna here