File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/Gateways/PaymentMethods Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ public function __construct(
57
57
$ this ->title = ( ! empty ( $ this ->get_option ( 'title ' ) ) ) ? $ this ->get_option ( 'title ' ) : '' ;
58
58
$ this ->description = ( ! empty ( $ this ->get_option ( 'description ' ) ) ) ? $ this ->get_option ( 'description ' ) : '' ;
59
59
$ this ->status_after_payment = ( ! empty ( $ this ->get_option ( 'orderdo ' ) ) ) ? $ this ->get_option ( 'orderdo ' ) : '' ;
60
- $ this ->api_key = ( ! empty ( $ this ->get_option ( ' apikey ' ) ) ) ? $ this -> get_option ( ' apikey ' ) : '' ;
60
+ $ this ->api_key = $ this ->getApiKey () ;
61
61
$ this ->shop_name = get_bloginfo ( 'name ' );
62
62
$ this ->pre_auth = ( ! empty ( $ this ->get_option ( 'pre-authorize ' ) && 'yes ' === $ this ->get_option ( 'pre-authorize ' ) ) ) ? true : false ;
63
63
$ this ->logging = ( ! empty ( $ this ->get_option ( 'debug ' ) ) && 'yes ' === $ this ->get_option ( 'debug ' ) ) ? true : false ;
You can’t perform that action at this time.
0 commit comments