#Bit-sepa

1 messages ยท Page 1 of 1 (latest)

gentle geyser
#

Hello. Not sure I understand. Can you share the Payment Intent ID?

elfin pecan
#

yes, let me take it

#

pi_3KTU6NDdn72I1qqY2jSbxqCl

#

this is just one

#

it's a long story for which I already have some tickets opened

#

basically, we have an Italian bank that first accepts payments and the dispute them the day after

#

they do it with 100% of all the transactions

#

since I'm using elements, and implemented a very custom iban element payment, I'm using the change event

#

in order to intercept the bank name

#

and try to match with the name "unicredit", which is the bank name for bank code 02008

#

however, while I correctly receive the bank name with IBAN Test codes, I receive an empty one for Unicredit IBANS

#

I guess you have a table with bank codes and corresponding bank names, so I wonder if you can update it to include the bank name for bank code 02008

#

so I can intercept the bank name and prevent the customers of that bank to pay us with sepa direct debit

#

I hope it's clear ๐Ÿ™‚

#

you can check their behaviour also on: pi_3KWhdSDdn72I1qqY1oH3Ifkq, pi_3KWnffDdn72I1qqY0a2hMkD7, pi_3KX22ADdn72I1qqY3hAwdB5R, pi_3KXB80Ddn72I1qqY33kY8qlX, pi_3KYWSiDdn72I1qqY4t2ofBkY, pi_3KYXVEDdn72I1qqY05H0zaxM, pi_3KYZBhDdn72I1qqY22kBgLwQ

gentle geyser
#

Not really something we can help with here I'm afraid. But what SEPA name parameter are you referring to?

#

Can't see anything in Stripe.js

elfin pecan
gentle geyser
#

Yeah, but you don't provide that. That's set on the Charge from the IBAN provided

elfin pecan
#

Event.bankName

#

exactly

#

I added a handler

#

sepa.on('change', CheckBankNameForBlacklist);

gentle geyser
elfin pecan
#

function CheckBankNameForBlacklist(event) {
if (event.bankName && event.bankName.toLowerCase().includes('unicredit')) {
ShowNoUnicreditPlease();
return;
}
}

#

because it's not in the call...

#

it's before the payment

#

so you don't have a way to add a missing mapping on your side ?

#

for a specific bank ?

gentle geyser
#

I don't, no. This isn't really an integration issue so I'd recommend speaking with support: https://support.stripe.com/contact

elfin pecan
#

because I get the bankName for other banks

#

lol... speaking with the support it means having to explain over and over and over again, since they're not technical... already tried in the past

#

I'll need to find a solution by myself

#

thanks anyway

gentle geyser
#

Well ideally the bank stop disputing the payments

#

Have you tried talking with them?

elfin pecan
#

yes, they don't want to give us any kind of information... so we asked our customers to call them

#

and they told them... the same

#

but the bad thing is that the payment goes first into charge.succeeded

#

and then charge.dispute

#

if they don't accept SEPA they could have responded with a charge.failed directly

gentle geyser
#

Yeah, that's just how SEPA works

elfin pecan
#

while this way I have to deal with the dispute fee (7.5 eur) and also with accountants because I have to emit an invoice and then a credit note

#

and also I've got my account already suspended because of "high dispute"

#

they re-enabled it eventually when I explained the problem

#

anyway it's not a problem that depend on us and nor to our customers

#

yet I have to find a way myself to fix the problem

#

so I'm not exactly "happy" as you can imagine

#

our customers call my support and complaint because "we didn't accept their payment"

#

funny eh

gentle geyser
#

Looking into this a bit more

elfin pecan
#

kk thnx

gentle geyser
#

I'm not even seeing the bank name on the associated payment/payment method for pi_3KTU6NDdn72I1qqY2jSbxqCl

elfin pecan
#

yes, that's another issue

#

from the dashboard you can't get it

#

you only get it on the change event from javascript

#

I suppose there's a quick lookup by using an external service or something similar

#

and that service is not updated with all bank names

#

and what's even worse, from the change event you can't get the bank code...

#

so I can't check it in anyway... no bank code, and no bank name from the Change event in javascript

gentle geyser
#

You just said you could:

you only get it on the change event from javascript

elfin pecan
#

yes exactly

#

but only the bank name

#

but for that particular bank, the bank name is not filled

#

so I get un "undefined"

#

if I try with the test one (DE89370400440532013000), I get "Commerzbank Fil Opladen"

#

with the test one FR1420041010050500013M02606 I get "La Banque Postale"

#

if I try the test one "IT40S0542811101000000123456" which is Italian and is also a test one provided by Stripe... I get "undefined"

#

could it be there's a bug with italian banks ??

gentle geyser
#

I'm not sure, but this is too in-depth for Discord really. So I'd recommend writing in to my team: https://support.stripe.com/contact

elfin pecan
#

ok ok

#

thanks

#

bye have a nice day and thanks for your support anyway

gentle geyser
#

Np!