Skip to content

Commit a14dbf4

Browse files
committed
Update code standard.
1 parent 0d84204 commit a14dbf4

4 files changed

Lines changed: 761 additions & 48 deletions

File tree

includes/Gateways/ReepayGateway.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1493,9 +1493,9 @@ public function wcs_change_payment_method( $order, $token_id = '' ) {
14931493
),
14941494
'accept_url' => add_query_arg(
14951495
array(
1496-
'action' => 'reepay_finalize',
1497-
'key' => $order->get_order_key(),
1498-
'_wpnonce' => wp_create_nonce( 'reepay_finalize' ),
1496+
'action' => 'reepay_finalize',
1497+
'key' => $order->get_order_key(),
1498+
'_wpnonce' => wp_create_nonce( 'reepay_finalize' ),
14991499
),
15001500
admin_url( 'admin-ajax.php' )
15011501
),

includes/Tokens/TokenReepay.php

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -60,27 +60,27 @@ public function get_display_name( $deprecated = '' ): string {
6060

6161
// Map Reepay card type aliases to their image filenames (mirrors ReepayGateway::get_logo).
6262
$card_type_map = array(
63-
'visa' => 'visa',
64-
'visa_elec' => 'visa-electron',
65-
'visa-electron' => 'visa-electron',
66-
'mc' => 'mastercard',
67-
'mastercard' => 'mastercard',
68-
'dankort' => 'dankort',
69-
'visa_dk' => 'dankort',
70-
'ffk' => 'forbrugsforeningen',
71-
'maestro' => 'maestro',
72-
'amex' => 'american-express',
73-
'diners' => 'diners',
74-
'discover' => 'discover',
75-
'jcb' => 'jcb',
76-
'china_union_pay' => 'cup',
77-
'mobilepay' => 'mobilepay',
78-
'viabill' => 'viabill',
79-
'paypal' => 'paypal',
80-
'applepay' => 'applepay',
81-
'googlepay' => 'googlepay',
82-
'vipps' => 'vipps',
83-
'anyday' => 'anyday',
63+
'visa' => 'visa',
64+
'visa_elec' => 'visa-electron',
65+
'visa-electron' => 'visa-electron',
66+
'mc' => 'mastercard',
67+
'mastercard' => 'mastercard',
68+
'dankort' => 'dankort',
69+
'visa_dk' => 'dankort',
70+
'ffk' => 'forbrugsforeningen',
71+
'maestro' => 'maestro',
72+
'amex' => 'american-express',
73+
'diners' => 'diners',
74+
'discover' => 'discover',
75+
'jcb' => 'jcb',
76+
'china_union_pay' => 'cup',
77+
'mobilepay' => 'mobilepay',
78+
'viabill' => 'viabill',
79+
'paypal' => 'paypal',
80+
'applepay' => 'applepay',
81+
'googlepay' => 'googlepay',
82+
'vipps' => 'vipps',
83+
'anyday' => 'anyday',
8484
'klarna_pay_later' => 'klarna',
8585
'klarna_pay_now' => 'klarna',
8686
);

0 commit comments

Comments
 (0)