File tree Expand file tree Collapse file tree 4 files changed +5
-0
lines changed
src/Gateways/PaymentMethods Expand file tree Collapse file tree 4 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ public function __construct(
6868 $ this ->api_key = $ this ->getApiKey ();
6969 $ this ->account_id = $ this ->getAccountId ();
7070 $ this ->shop_name = get_bloginfo ( 'name ' );
71+ $ this ->testmode = $ this ->getTestmode ();
7172 $ this ->logging = ( ! empty ( get_option ( 'monei_debug ' ) ) && 'yes ' === get_option ( 'monei_debug ' ) ) ? true : false ;
7273
7374 // IPN callbacks
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ public function __construct(
6262 $ this ->api_key = $ this ->getApiKey ();
6363 $ this ->account_id = $ this ->getAccountId ();
6464 $ this ->shop_name = get_bloginfo ( 'name ' );
65+ $ this ->testmode = $ this ->getTestmode ();
6566 $ this ->logging = ( ! empty ( get_option ( 'monei_debug ' ) ) && 'yes ' === get_option ( 'monei_debug ' ) ) ? true : false ;
6667
6768 // IPN callbacks
Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ public function __construct(
6161 $ this ->api_key = $ this ->getApiKey ();
6262 $ this ->account_id = $ this ->getAccountId ();
6363 $ this ->shop_name = get_bloginfo ( 'name ' );
64+ $ this ->testmode = $ this ->getTestmode ();
6465 $ this ->logging = ( ! empty ( get_option ( 'monei_debug ' ) ) && 'yes ' === get_option ( 'monei_debug ' ) ) ? true : false ;
6566
6667 // IPN callbacks
Original file line number Diff line number Diff line change @@ -65,7 +65,9 @@ public function __construct(
6565 $ this ->description = ( ! empty ( $ this ->get_option ( 'description ' ) ) ) ? $ this ->get_option ( 'description ' ) : '' ;
6666 $ this ->status_after_payment = ( ! empty ( $ this ->get_option ( 'orderdo ' ) ) ) ? $ this ->get_option ( 'orderdo ' ) : '' ;
6767 $ this ->api_key = $ this ->getApiKey ();
68+ $ this ->account_id = $ this ->getAccountId ();
6869 $ this ->shop_name = get_bloginfo ( 'name ' );
70+ $ this ->testmode = $ this ->getTestmode ();
6971 $ this ->pre_auth = ( ! empty ( $ this ->get_option ( 'pre-authorize ' ) && 'yes ' === $ this ->get_option ( 'pre-authorize ' ) ) ) ? true : false ;
7072 $ this ->logging = ( ! empty ( $ this ->get_option ( 'debug ' ) ) && 'yes ' === $ this ->get_option ( 'debug ' ) ) ? true : false ;
7173
You can’t perform that action at this time.
0 commit comments