#deputycheese_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/1308750135626301492
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Background: the bank field is automatically added via stripe js api and I cannot not add it
I am referring to this change: https://support.stripe.com/questions/make-required-changes-to-your-ideal-api-integration
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Are you using the Payment Element?
I think so
createPaymentMethod() is the method
stripe js api
And then I use confirmIdealPayment to confirm it
Yes, but which UI are you using to collect the iDEAL payment info? If you can share your full code relevant to this
this.stripe.api.confirmIdealPayment(response.secret,{
payment_method:{
billing_details: this.getBillingDetails(),
ideal: this.stripe.mounts['idealBank']
},
return_url: response.return_url
}).then(function(result){
if (result.error) {
FlashMessaging.add('Error', result.error.message, 'error', null);
Logger.log(result.error.message);
}
});
and
this.stripe.api.createPaymentMethod(type, this.stripe.mounts[type]).then(function(response) {
if (response.error) {
FlashMessaging.add(null, response.error.message, 'error', null, 5000);
Logger.log(response.error);
return;
}
}.bind(this));
and
this.stripe.elements.create(name, options) to create the element if that's what you mean
I guess you use elements.create('idealBank') https://docs.stripe.com/js/elements_object/create_element?type=idealBank
Yes
Then yes you need to make changes
Where can I find out about those changes? I just found out that I dont need to send the bank parameter anymore, but I'm not doing that (explicitely) anyway
Not really familiar with the iDEAL Element. Does it have a bank selection UI?
At the moment it has, but it'll be deprecated and removed end of this year (see: https://support.stripe.com/questions/make-required-changes-to-your-ideal-api-integration)
I dont really define or send this bank element though anywhere in my code, it gets automatically added by the stripe js api when I'm creating the element (like when you are paying with credit card too for example)
It's a change specific to the ideal element
I would suspect that you're fine as we note:
No action is required for Stripe users on Checkout, Payment Links, Payment Element and Hosted Invoices, since Stripe has already migrated these to comply with the new iDEAL regulations.
Although it doesn't specifically list the iDEAL Element
Ah thanks, I didnt see that