@@ -94,22 +94,22 @@ public function get_payment_method_data() {
9494 }
9595 $ data = array (
9696
97- 'title ' => $ this ->gateway ->title ,
98- 'logo ' => WC_Monei ()->plugin_url () . '/public/images/bizum-logo.svg ' ,
99- 'supports ' => $ this ->get_supported_features (),
100- 'currency ' => get_woocommerce_currency (),
101- 'total ' => $ total ,
102- 'language ' => locale_iso_639_1_code (),
97+ 'title ' => $ this ->gateway ->title ,
98+ 'logo ' => WC_Monei ()->plugin_url () . '/public/images/bizum-logo.svg ' ,
99+ 'supports ' => $ this ->get_supported_features (),
100+ 'currency ' => get_woocommerce_currency (),
101+ 'total ' => $ total ,
102+ 'language ' => locale_iso_639_1_code (),
103103
104104 // yes: test mode.
105105 // no: live,
106- 'test_mode ' => $ this ->gateway ->getTestmode () ?? false ,
107- 'accountId ' => $ this ->gateway ->getAccountId () ?? false ,
108- 'sessionId ' => wc ()->session !== null ? wc ()->session ->get_customer_id () : '' ,
109- 'cart_has_subscription ' => $ cart_has_subscription ,
110- 'bizumStyle ' => json_decode ( $ bizum_style ),
111- 'redirectFlow ' => $ redirect_flow ,
112- 'description ' => $ this ->get_setting ( 'description ' ),
106+ 'testMode ' => $ this ->gateway ->getTestmode () ?? false ,
107+ 'accountId ' => $ this ->gateway ->getAccountId () ?? false ,
108+ 'sessionId ' => wc ()->session !== null ? wc ()->session ->get_customer_id () : '' ,
109+ 'cartHasSubscription ' => $ cart_has_subscription ,
110+ 'bizumStyle ' => json_decode ( $ bizum_style ),
111+ 'redirectFlow ' => $ redirect_flow ,
112+ 'description ' => $ this ->get_setting ( 'description ' ),
113113 );
114114
115115 $ hide_logo = $ this ->get_setting ( 'hide_logo ' );
0 commit comments