Payment method title to contain card details
-
Hi there,
Currently, when a card is used to pay, $payment_method_title key outputs eg. “Credit Card” for a payment made with a credit card at pages such as /checkout/order-received/ or /view-order/.
However, for Woocommerce Subscriptions in view-subscription page (due to compatibility included in class-wc-stripe-subs-compat.php), the payment method outputted via $payment_method_to_display reads eg. “Via Visa ending in 4242”.
How can I make checkout and view-order pages also output $payment_method_to_display? This is extremely valuable to the customer so they can easily identify which of their cards they used to make the payment if they ever need to in the future.
Isabel
- The topic ‘Payment method title to contain card details’ is closed to new replies.