Is it possible to filter bank statement descriptor
-
Hi,
Is it possible to programatically filter the “Customer bank statement”?
Scenario: Multi-lingual shop (in this case WPML, but it could be anything else) with a different domain name on each language.
For Spanish the back statement should be tortillas.es and for Portuguese it should be pasteisdenata.pt
I’ve looked into the code and I couldn’t find a specific filter for this field. O course I could just go Cowboy Style and use the
wc_stripe_generate_payment_request
filter, but that would not benefit from all theWC_Stripe_Helper
functions that clean and generate the descriptor with or without the order number.Maybe implement two filters right at the beginning of
WC_Stripe_Payment_Gateway::generate_payment_request
for the$statement_descriptor
and$short_statement_descriptor
variables?
- The topic ‘Is it possible to filter bank statement descriptor’ is closed to new replies.