Skip to content

Commit

Permalink
hmmm better, I guess
Browse files Browse the repository at this point in the history
  • Loading branch information
frosso committed Nov 7, 2024
1 parent d64fe96 commit e9f269b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion includes/class-wc-payments-order-success-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,18 @@ public function show_woopay_payment_method_name( $order ) {
* @return string|false
*/
public function show_lpm_payment_method_name( $gateway, $payment_method ) {
$method_logo_url = apply_filters_deprecated(
'wc_payments_thank_you_page_bnpl_payment_method_logo_url',
[
$payment_method->get_payment_method_icon_for_location( 'checkout', false, $gateway->get_account_country() ),
$payment_method->get_id(),
],
'8.5.0',
'wc_payments_thank_you_page_lpm_payment_method_logo_url'
);
$method_logo_url = apply_filters(
'wc_payments_thank_you_page_lpm_payment_method_logo_url',
$payment_method->get_payment_method_icon_for_location( 'checkout', false, $gateway->get_account_country() ),
$method_logo_url,
$payment_method->get_id()
);

Expand Down

0 comments on commit e9f269b

Please sign in to comment.