#Geoff-blocked-SEPA
1 messages · Page 1 of 1 (latest)
HI there 👋 do you happen to have the ID of a payment where you saw this behavior that I can look at? It'll help me get a better feel for exactly what you're referring to.
i have the request_id : req_LcBuw4ZqTViwRV
doesn't have payment id since the charge didn't go through
Thanks, looking.
Unfortunately at the moment there is not a good way to test this, and - as you note - the lack of error code will make it more difficult to react to programmatically.
I will put in feature requests for an error_code to accompany this message and a test IBAN for this scenario.
In the mean time, you can react to this error by checking if the error message contains that first sentence in the error message The payment is blocked because the used IBAN has been suspended.
Or something similar. I understand that that is possibly prone to break, we don't change error messages like this often but we don't completely guaruntee that they won't change the same way we do with error_codes. Unfortunately until we add an error code, checking the message is the best way to programmatically react to this error.
ok, that's what i was afraid of
since i don't have any other choice for now, i'll do it this way. I'll keep an eye on the new feature and make the change when they'll come
thank you for the answer
Of course, sorry there isn't a better option at the moment. Glad you have at least something to go forward with