#Vincent_92-giropay klarna
1 messages · Page 1 of 1 (latest)
Klarna and Giropay aren't available for use with recurring payments, so I believe you can't use them with setup_future_usage
Go ahead!
If I configure payment element with for example : 'card' , 'giropay'
then I want to turn on future usage if the user select card, and obviously do not activate giropay if the the user select it
how can I do ?
Depends of the user choice, I can setup recuring charge or not, but for now if i setup future usage and add "card' & "giropay" it throw an error obviously
I mean I want to be able to make recuring charge if the user select "card" and enter his card number. And if he choose "giropay" this will be only a one time payment
I hope your understand what I meant
I see what you're saying - unfortunately, right now there isn't a great way to support this flow with the Payment Element. The assumption is that you would know up front whether you want to save the payment method for future usage, and then you can add the payment method types that support that
not really
in fact
if I configure now a payment element with 2 options : "card" & "giropay" If then I also setup for future usage => off_session, the page will not load (will throw error) because in my list of option ( card & giropay ) there is one which is not able to do recuring pay (giropay)
so its weird, because maybe the customer will choose card
so I can setup for future usage
later
and if he select giropay, then ok , this will be a onetime payment with this customer
so the way stripe has handle this is limitative
I should be able to make a list of every payment method (giropay, card, klarna) and have the ability to tell stripe : if a user choose a card that can have recuring payment, then please setup future usage => offsession, otherwise, do not configure future usage because the method that the customer have chosen do not support it
I think this is a missing feature in stripe payment element
Maybe you can ask dev team
@clever oyster I got it
@knotty marten we're working on improvements to this flow just this month. We hope to ship it in a few weeks. The idea is that you will be able to configure setup_future_usage per payment method instead of it applying to all of them
No clear timeline but it's coming
Ok great ! If you can let us have an option also to have the card number/expire/cvc input in one line, that would be very great (have the option of 1 line or separate field )
We don't have plans to support this for now. Separate fields convert better
Ok, thank you
@warm wraith An other thing
when I configure multiple payment like so : "card", "giropay", "klarna" I was expecting have this "order" in the checkout page, but this not what happe, is there a way to control the order ?
you can not control the order no
we control it based on a lot of factors like the customer's country (from the IP) and such
Ok thank you
@knotty marten https://stripe.com/docs/js/elements_object/create_payment_element#payment_element_create-options-paymentMethodOrder turns out you can control this, courtesy of @clever oyster
Oh ok , thank you, and thanks to him !