Changeset 3055598
- Timestamp:
- 03/20/2024 08:02:58 PM (2 years ago)
- Location:
- zafepay
- Files:
-
- 15 added
- 1 edited
-
tags/1.0.3 (added)
-
tags/1.0.3/README.md (added)
-
tags/1.0.3/build (added)
-
tags/1.0.3/build/index.asset.php (added)
-
tags/1.0.3/build/index.js (added)
-
tags/1.0.3/includes (added)
-
tags/1.0.3/includes/class-wc-gateway-zafepay.php (added)
-
tags/1.0.3/includes/class-wc-zafepay-blocks-support.php (added)
-
tags/1.0.3/license (added)
-
tags/1.0.3/package.json (added)
-
tags/1.0.3/readme.txt (added)
-
tags/1.0.3/src (added)
-
tags/1.0.3/src/index.js (added)
-
tags/1.0.3/zafepay (added)
-
tags/1.0.3/zafepay.php (added)
-
trunk/includes/class-wc-gateway-zafepay.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
zafepay/trunk/includes/class-wc-gateway-zafepay.php
r3046572 r3055598 24 24 $this->api_key = $this->testmode ? $this->get_option('test_api_key') : $this->get_option('api_key'); 25 25 $this->api_secret = $this->testmode ? $this->get_option('test_api_secret') : $this->get_option('api_secret'); 26 $this->base_url = $this->testmode ? 'http:// localhost:3000/api' : 'https://api.zafepay.com/api';26 $this->base_url = $this->testmode ? 'http://api.staging.zafepay.com/api' : 'https://api.zafepay.com/api'; 27 27 28 28 add_action('woocommerce_update_options_payment_gateways_' . $this->id, array($this, 'process_admin_options'));
Note: See TracChangeset
for help on using the changeset viewer.