Skip to content

Commit 865d23d

Browse files
committed
Get correct account id for classic checkout
1 parent b2182d5 commit 865d23d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Gateways/PaymentMethods/WCGatewayMoneiBizum.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public function bizum_scripts() {
176176
'woocommerce_monei-bizum',
177177
'wc_bizum_params',
178178
array(
179-
'account_id' => monei_get_settings( false, 'monei_accountid' ),
179+
'account_id' => $this->getAccountId(),
180180
'session_id' => WC()->session->get_customer_id(),
181181
'total' => monei_price_format( $total ),
182182
'currency' => get_woocommerce_currency(),

src/Gateways/PaymentMethods/WCGatewayMoneiCC.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ public function monei_scripts() {
370370
'woocommerce_monei',
371371
'wc_monei_params',
372372
array(
373-
'account_id' => monei_get_settings( false, 'monei_accountid' ),
373+
'account_id' => $this->getAccountId(),
374374
'session_id' => WC()->session->get_customer_id(),
375375
'apple_google_pay' => $this->apple_google_pay,
376376
'total' => monei_price_format( $total ),

0 commit comments

Comments
 (0)