#deputycheese_api

1 messages ¡ Page 1 of 1 (latest)

signal smeltBOT
#

👋 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.

narrow flame
#

Background: the bank field is automatically added via stripe js api and I cannot not add it

empty ember
#

Are you using the Payment Element?

narrow flame
#

I think so

#

createPaymentMethod() is the method

#

stripe js api

#

And then I use confirmIdealPayment to confirm it

empty ember
#

Yes, but which UI are you using to collect the iDEAL payment info? If you can share your full code relevant to this

narrow flame
#

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

empty ember
narrow flame
#

Yes

empty ember
#

Then yes you need to make changes

narrow flame
#

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

empty ember
#

Not really familiar with the iDEAL Element. Does it have a bank selection UI?

narrow flame
#

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

empty ember
#

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

narrow flame
#

Ah thanks, I didnt see that