Hi @fwlw
Here is an example of how to modify the statement descriptor:
add_filter('wc_stripe_payment_intent_args', function($args, $order){
if ( \in_array( 'card', $args['payment_method_types'] ) ) {
$args['statement_descriptor_suffix'] = 'Company' . $order->get_order_number();
}else{
$args['statement_descriptor'] = 'Company' . $order->get_order_number();
}
return $args;
}, 10, 2);
You can modify this example for your specific company name, etc.
Kind Regards
Thread Starter
fwlw
(@fwlw)
Thanks. Is this also the descriptor the payer will see on his bank account?
Hi @fwlw
Is this also the descriptor the payer will see on his bank account?
Yes, the descriptor is what your customer sees on their bank transaction.
Kind Regards