#softnet-ideal-sepa

1 messages · Page 1 of 1 (latest)

real orbitBOT
#

@dense roost :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

dense roost
#

Hi

#

I created new payment intent in the backend for ideal and I confirmed the payment method via frontend

#

when I checked the payment intent, generated_sepa_debit is null

kind blade
#

@dense roost hello! Can you provide more actionable details like an exact PaymentIntent id, how you created it, share the exact code, etc.?

#

softnet-ideal-sepa

dense roost
#

pi_3Nf4l3DEdWHgNJda0agBvecu

#

form.addEventListener('submit', (event) => {
event.preventDefault();
stripe.confirmIdealPayment(clientSecret.value,
{
payment_method: {
ideal: idealBank,
setup_future_usage : "off_session",
billing_details: {
name: accountholderName.value,
email: email.value,
},
},
return_url: 'https://example.com/checkout/complete',
}
);
});

#
  1. I created new customer with email id
  2. Created payment method with type ideal
  3. create payment intent with the new customer id and payment method id
  4. from the frontend I confirmed the ideal payment using the client secreat and authorised the payment
kind blade
#

looking

dense roost
#

is this enough?

#

thanks

#

req_29xIYP93nzPKZn

kind blade
#

the problem is on PaymentIntent creation. That's where you need to set setup_future_usage: 'off_session'

dense roost
#

you mean first time

#

or second time from the UI?

kind blade
#

I don't understand what "the first time" could mean

#

You shared your client-side code. That should not have setup_future_usage there

#

You want to set this on the PaymentIntent creation server-side.

dense roost
#

yes

#

okay clear

#

Thanks