Changeset 2583230
- Timestamp:
- 08/16/2021 12:16:17 AM (5 years ago)
- Location:
- zipmoney-payments-woocommerce
- Files:
-
- 191 added
- 6 edited
-
tags/2.3.7 (added)
-
tags/2.3.7/LICENSE.txt (added)
-
tags/2.3.7/README.txt (added)
-
tags/2.3.7/assets (added)
-
tags/2.3.7/assets/css (added)
-
tags/2.3.7/assets/css/woocommerce-zipmoney-payment-admin.css (added)
-
tags/2.3.7/assets/css/woocommerce-zipmoney-payment-front.css (added)
-
tags/2.3.7/assets/img (added)
-
tags/2.3.7/assets/img/loader.gif (added)
-
tags/2.3.7/assets/img/loading.gif (added)
-
tags/2.3.7/assets/js (added)
-
tags/2.3.7/assets/js/admin_options.js (added)
-
tags/2.3.7/assets/js/woocommerce-zipmoney-payment-front.js (added)
-
tags/2.3.7/assets/js/zip_order_button.js (added)
-
tags/2.3.7/bin (added)
-
tags/2.3.7/bin/install-wp-tests.sh (added)
-
tags/2.3.7/build.xml (added)
-
tags/2.3.7/composer.json (added)
-
tags/2.3.7/includes (added)
-
tags/2.3.7/includes/api (added)
-
tags/2.3.7/includes/api/class-wc-zipmoney-payment-gateway-api-abstract.php (added)
-
tags/2.3.7/includes/api/class-wc-zipmoney-payment-gateway-api-charge.php (added)
-
tags/2.3.7/includes/api/class-wc-zipmoney-payment-gateway-api-checkout.php (added)
-
tags/2.3.7/includes/class-wc-zipmoney-payment-gateway-config.php (added)
-
tags/2.3.7/includes/class-wc-zipmoney-payment-gateway-util.php (added)
-
tags/2.3.7/includes/class-wc-zipmoney-payment-gateway-widget.php (added)
-
tags/2.3.7/includes/class-wc-zipmoney-payment-gateway.php (added)
-
tags/2.3.7/includes/compatibility (added)
-
tags/2.3.7/includes/compatibility/abstract-wc-data-compatibility.php (added)
-
tags/2.3.7/includes/compatibility/class-wc-core-compatibility.php (added)
-
tags/2.3.7/includes/compatibility/class-wc-order-compatibility.php (added)
-
tags/2.3.7/includes/controller (added)
-
tags/2.3.7/includes/controller/class-wc-zipmoney-payment-abstract-controller.php (added)
-
tags/2.3.7/includes/controller/class-wc-zipmoney-payment-charge-controller.php (added)
-
tags/2.3.7/includes/controller/class-wc-zipmoney-payment-checkout-controller.php (added)
-
tags/2.3.7/includes/view (added)
-
tags/2.3.7/includes/view/backend (added)
-
tags/2.3.7/includes/view/backend/admin_options.php (added)
-
tags/2.3.7/includes/view/backend/charge_buttons.php (added)
-
tags/2.3.7/includes/view/frontend (added)
-
tags/2.3.7/includes/view/frontend/checkout_notification_section.php (added)
-
tags/2.3.7/includes/view/frontend/error_page.php (added)
-
tags/2.3.7/includes/view/frontend/express_payment_button.php (added)
-
tags/2.3.7/includes/view/frontend/iframe_redirect.php (added)
-
tags/2.3.7/includes/view/frontend/notification_page.php (added)
-
tags/2.3.7/includes/view/frontend/order_button.php (added)
-
tags/2.3.7/languages (added)
-
tags/2.3.7/languages/default.mo (added)
-
tags/2.3.7/languages/default.po (added)
-
tags/2.3.7/languages/default.pot (added)
-
tags/2.3.7/languages/zippayment-es_MX.mo (added)
-
tags/2.3.7/languages/zippayment-es_MX.po (added)
-
tags/2.3.7/log.txt (added)
-
tags/2.3.7/test.txt (added)
-
tags/2.3.7/tests (added)
-
tags/2.3.7/tests/bootstrap.php (added)
-
tags/2.3.7/tests/test-charge-api.php (added)
-
tags/2.3.7/tests/test-checkout-api.php (added)
-
tags/2.3.7/tests/test-sample.php (added)
-
tags/2.3.7/tests/wc-zipmoney-test-main.php (added)
-
tags/2.3.7/vendor (added)
-
tags/2.3.7/vendor/autoload.php (added)
-
tags/2.3.7/vendor/bin (added)
-
tags/2.3.7/vendor/composer (added)
-
tags/2.3.7/vendor/composer/ClassLoader.php (added)
-
tags/2.3.7/vendor/composer/LICENSE (added)
-
tags/2.3.7/vendor/composer/autoload_classmap.php (added)
-
tags/2.3.7/vendor/composer/autoload_namespaces.php (added)
-
tags/2.3.7/vendor/composer/autoload_psr4.php (added)
-
tags/2.3.7/vendor/composer/autoload_real.php (added)
-
tags/2.3.7/vendor/composer/autoload_static.php (added)
-
tags/2.3.7/vendor/composer/installed.json (added)
-
tags/2.3.7/vendor/zipmoney (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/LICENSE.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/README.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/autoload.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/build (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/build.xml (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/build/shell (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/build/shell/publish.sh (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/composer.json (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Api (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Api/ChargesApi.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Api/CheckoutsApi.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Api/CustomersApi.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Api/RefundsApi.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Api/SettlementsApi.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Api/TokensApi.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/Address.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/Authority.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/CaptureChargeRequest.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/Charge.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/ChargeCollection.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/ChargeOrder.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/Checkout.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/CheckoutConfiguration.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/CheckoutFeatures.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/CheckoutFeaturesTokenisation.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/CheckoutOrder.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/CreateChargeRequest.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/CreateCheckoutRequest.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/CreateCheckoutRequestFeatures.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/CreateCheckoutRequestFeaturesTokenisation.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/CreateRefundRequest.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/CreateTokenRequest.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/Customer.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/ErrorResponse.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/ErrorResponseError.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/ErrorResponseErrorDetails.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/Flightadditionaldetails.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/FlightadditionaldetailsPassengers.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/HateoasLinks.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/HateoaslinksLinks.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/InlineResponse200.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/Metadata.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/OrderItem.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/OrderItemAdditionalDetails.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/OrderShipping.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/OrderShippingTracking.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/Refund.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/Settlement.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/SettlementTransactions.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/Shopper.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/ShopperStatistics.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/docs/Model/Token.md (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Api (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Api/ChargesApi.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Api/CheckoutsApi.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Api/CustomersApi.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Api/RefundsApi.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Api/SettlementsApi.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Api/TokensApi.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/ApiClient.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/ApiException.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Configuration.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/Address.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/Authority.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/CaptureChargeRequest.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/Charge.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/ChargeCollection.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/ChargeOrder.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/Checkout.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/CheckoutConfiguration.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/CheckoutFeatures.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/CheckoutFeaturesTokenisation.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/CheckoutOrder.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/CreateChargeRequest.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/CreateCheckoutRequest.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/CreateCheckoutRequestFeatures.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/CreateCheckoutRequestFeaturesTokenisation.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/CreateRefundRequest.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/CreateTokenRequest.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/CurrencyUtil.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/Customer.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/ErrorResponse.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/ErrorResponseError.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/ErrorResponseErrorDetails.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/Flightadditionaldetails.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/FlightadditionaldetailsPassengers.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/HateoasLinks.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/HateoaslinksLinks.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/InlineResponse200.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/Metadata.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/OrderItem.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/OrderItemAdditionalDetails.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/OrderShipping.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/OrderShippingTracking.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/Refund.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/Settlement.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/SettlementTransactions.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/Shopper.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/ShopperStatistics.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/Model/Token.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/lib/ObjectSerializer.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/phpunit.xml.dist (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/test (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/test/Api (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/test/Api/ChargesApiTest.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/test/Api/CheckoutsApiTest.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/test/Api/RefundsApiTest.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/test/ConfigurationTest.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/test/Helper (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/test/Helper/Payload.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/test/Setup.php (added)
-
tags/2.3.7/vendor/zipmoney/merchantapi-php/test/auth.ini (added)
-
tags/2.3.7/zipmoney-payment-gateway.php (added)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/includes/class-wc-zipmoney-payment-gateway-config.php (modified) (17 diffs)
-
trunk/includes/class-wc-zipmoney-payment-gateway.php (modified) (7 diffs)
-
trunk/languages/zippayment-es_MX.mo (modified) (previous)
-
trunk/languages/zippayment-es_MX.po (modified) (24 diffs)
-
trunk/zipmoney-payment-gateway.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
zipmoney-payments-woocommerce/trunk/README.txt
r2565581 r2583230 4 4 Requires at least: WP 4.0 5 5 Tested up to: 5.6 6 Stable tag: 2.3. 66 Stable tag: 2.3.7 7 7 License: GPLv2 or later License http://www.gnu.org/licenses/gpl-2.0.html 8 8 … … 182 182 * fixed check private key validity issue 183 183 * fixed issue All orders from all payment methods marked as Paid via Zip. 184 185 = 2.3.7 = 186 * Rebranding copy text change -
zipmoney-payments-woocommerce/trunk/includes/class-wc-zipmoney-payment-gateway-config.php
r2560395 r2583230 14 14 const ZIP_ORDER_STATUS_AUTHORIZED_KEY_COMPARE = 'zip-authorised'; //If we call $order->get_status() it will cut the 'wc-'. So we need this value for status comparison 15 15 const ZIP_ORDER_STATUS_AUTHORIZED_NAME = 'Authorised'; //The label 16 16 17 17 const USER_META_ADMIN_NOTICE = 'zip-admin-notice'; 18 18 … … 101 101 $this->WC_Zipmoney_Payment_Gateway = $WC_Zipmoney_Payment_Gateway; 102 102 103 wc_enqueue_js ("jQuery( function( $ ) {103 wc_enqueue_js("jQuery( function( $ ) { 104 104 105 105 if($('.woocommerce_sandbox_enable_option').prop('checked') == true){ … … 156 156 157 157 //return the admin form fields 158 public static function get_admin_form_fields(){ 158 public static function get_admin_form_fields() 159 { 159 160 return array( 160 161 self::CONFIG_ENABLED => array( … … 165 166 'default' => 'no' 166 167 ), 167 /*self::CONFIG_TITLE => array( 168 'title' => __('Title', 'woocommerce'), 169 'type' => 'text', 170 'desc_tip' => __('Payment method title.', 'woocommerce'), 171 'default' => "<span data-zm-widget='inline' data-zm-asset='checkouttitle'> Own it now pay later </span>", 172 ),*/ 168 173 169 self::CONFIG_SANDBOX => array( 174 170 'title' => __('Environment', 'zippayment'), … … 184 180 'class' => 'woocommerce_toggle_sandbox_field', 185 181 'desc_tip' => __('Please contact [email protected] to request your Sandbox Public key.', 'zippayment'), 186 'description' => __('Required for Australia only.', 'zippayment'),182 'description' => __('Required for Australia only.', 'zippayment'), 187 183 'default' => 'no', 188 184 ), … … 192 188 'class' => 'woocommerce_toggle_sandbox_field', 193 189 'desc_tip' => __('Please contact [email protected] to request your Sandbox API key.', 'zippayment'), 194 'description' => __( 'Please contact [email protected] to request Sandbox API key.', 'zippayment'),190 'description' => __('Please contact [email protected] to request Sandbox API key.', 'zippayment'), 195 191 'default' => 'no', 196 192 ), … … 200 196 'class' => 'woocommerce_toggle_prod_field', 201 197 'desc_tip' => __('Please contact [email protected] to request your production public key..', 'zippayment'), 202 'description' => __('Required for Australia only.', 'zippayment'),198 'description' => __('Required for Australia only.', 'zippayment'), 203 199 'default' => '', 204 200 ), … … 208 204 'class' => 'woocommerce_toggle_prod_field', 209 205 'desc_tip' => __('Please contact [email protected] to request your product API key.', 'zippayment'), 210 'description' => __( 'Please contact [email protected] to request your API key.', 'zippayment'),206 'description' => __('Please contact [email protected] to request your API key.', 'zippayment'), 211 207 'default' => '', 212 208 ), 213 209 214 210 self::CONFIG_CHECK_CREDENTIALS_BTN => array( 215 211 'type' => 'button', … … 224 220 'default' => self::CAPTURE_CHARGE_IMMEDIATELY, 225 221 'options' => array( 226 self::CAPTURE_CHARGE_IMMEDIATELY => __('Immediate capture', 'zippayment'),227 self::CAPTURE_CHARGE_AUTHORIZED => __('Authorise & capture', 'zippayment')222 self::CAPTURE_CHARGE_IMMEDIATELY => __('Immediate capture', 'zippayment'), 223 self::CAPTURE_CHARGE_AUTHORIZED => __('Authorise & capture', 'zippayment') 228 224 ) 229 225 ), … … 234 230 'default' => self::LOG_LEVEL_ALL, 235 231 'options' => array( 236 self::LOG_LEVEL_ALL => __('All messages', 'zippayment'),237 self::LOG_LEVEL_DEBUG => __('Debug (and above)', 'zippayment'),238 self::LOG_LEVEL_INFO => __('Info (and above)', 'zippayment'),239 self::LOG_LEVEL_WARN => __('Warn (and above)', 'zippayment'),240 self::LOG_LEVEL_ERROR => __('Error (and above)', 'zippayment'),241 self::LOG_LEVEL_FATAL => __('Fatal (and above)', 'zippayment'),242 self::LOG_LEVEL_OFF => __('Off (No message will be logged)', 'zippayment')232 self::LOG_LEVEL_ALL => __('All messages', 'zippayment'), 233 self::LOG_LEVEL_DEBUG => __('Debug (and above)', 'zippayment'), 234 self::LOG_LEVEL_INFO => __('Info (and above)', 'zippayment'), 235 self::LOG_LEVEL_WARN => __('Warn (and above)', 'zippayment'), 236 self::LOG_LEVEL_ERROR => __('Error (and above)', 'zippayment'), 237 self::LOG_LEVEL_FATAL => __('Fatal (and above)', 'zippayment'), 238 self::LOG_LEVEL_OFF => __('Off (No message will be logged)', 'zippayment') 243 239 ) 244 240 ), … … 254 250 'title' => __('Minimum order value', 'zippayment'), 255 251 'type' => 'text', 256 'desc_tip' => __('Set the minimum shopping cart value that Zip will be available for use.', "zippayment"),252 'desc_tip' => __('Set the minimum shopping cart value that Zip will be available for use.', "zippayment"), 257 253 'default' => 1 258 254 ), … … 260 256 'title' => __('Maximum order value', 'zippayment'), 261 257 'type' => 'text', 262 'desc_tip' => __('Set the maximum shopping cart value that Zip will be available for use.', 'zippayment'),258 'desc_tip' => __('Set the maximum shopping cart value that Zip will be available for use.', 'zippayment'), 263 259 'default' => 1500 264 260 ), 265 261 self::CONFIG_SELECT_REGION => array( 266 'title' => __( 'Widget Region', 'zippayment'),262 'title' => __('Widget Region', 'zippayment'), 267 263 'type' => 'select', 268 264 'desc_tip' => __('Select Region to show proper zip widget in product, cart and checkout page', 'zippayment'), … … 278 274 ), 279 275 self::CONFIG_DISPLAY_WIDGET_MODE => array( 280 'title' => __( 'Display Widget Mode', 'zippayment'),276 'title' => __('Display Widget Mode', 'zippayment'), 281 277 'type' => 'select', 282 278 'desc_tip' => __('Select Display widget mode for Zip widget', 'zippayment'), 283 279 'default' => self::REGION_AU, 284 280 'options' => array( 285 self::DISPLAY_IFRAME => __('iframe', 'zippayment'),286 self::DISPLAY_INLINE => __('inline', 'zippayment'),281 self::DISPLAY_IFRAME => __('iframe', 'zippayment'), 282 self::DISPLAY_INLINE => __('inline', 'zippayment'), 287 283 ) 288 284 ), … … 395 391 $new_hash = md5(serialize(array($merchant_public_key, $merchant_private_key))); 396 392 397 if ($current_api_hash !== $new_hash) {393 if ($current_api_hash !== $new_hash) { 398 394 //update config in single entry 399 395 update_option($update_key, $new_hash); … … 418 414 public function get_merchant_public_key() 419 415 { 420 if ($this->is_bool_config_by_key(self::CONFIG_SANDBOX)){416 if ($this->is_bool_config_by_key(self::CONFIG_SANDBOX)) { 421 417 return $this->WC_Zipmoney_Payment_Gateway->get_option(self::CONFIG_SANDBOX_MERCHANT_PUBLIC_KEY); 422 418 } … … 432 428 public function get_merchant_private_key() 433 429 { 434 if ($this->is_bool_config_by_key(self::CONFIG_SANDBOX)){430 if ($this->is_bool_config_by_key(self::CONFIG_SANDBOX)) { 435 431 return $this->WC_Zipmoney_Payment_Gateway->get_option(self::CONFIG_SANDBOX_MERCHANT_PRIVATE_KEY); 436 432 } … … 476 472 } 477 473 } 478 479 474 } -
zipmoney-payments-woocommerce/trunk/includes/class-wc-zipmoney-payment-gateway.php
r2565581 r2583230 21 21 public $method_title = 'Zip'; 22 22 //public $method_description = 'Zip Payments allows real-time credit to customers in a seamless and user friendly way.'; 23 public $title = 'Zip - Own itnow, pay later';23 public $title = 'Zip now, pay later'; 24 24 public $description = 'Own the way you pay'; 25 25 26 public $version = '2.3. 6';26 public $version = '2.3.7'; 27 27 28 28 public $supports = array('products', 'refunds'); … … 85 85 if ($display) { 86 86 87 echo '<div class="error" style="color: red;"><p><strong>' .__("Error:","zippayment").'</strong>'.__(" Zip private key is invalid.","zippayment").'</p></div>';87 echo '<div class="error" style="color: red;"><p><strong>' . __("Error:", "zippayment") . '</strong>' . __(" Zip private key is invalid.", "zippayment") . '</p></div>'; 88 88 } 89 89 } … … 91 91 public function get_title() 92 92 { 93 return "<span data-zm-widget='inline' data-zm-asset='checkouttitle'>" .__(" Zip - Own it now, pay later ","zippayment")." </span>";93 return "<span data-zm-widget='inline' data-zm-asset='checkouttitle'>" . __(" Zip now, pay later ", "zippayment") . " </span>"; 94 94 } 95 95 96 96 public function zip_order_payment_title($title, $order) 97 97 { 98 if ($order->get_payment_method() == "zipmoney") {99 return strip_tags("Zip - Own itnow, pay later");98 if ($order->get_payment_method() == "zipmoney") { 99 return strip_tags("Zip now, pay later"); 100 100 } 101 101 return $title; … … 224 224 if ($responseCode == '200' && $isAuEndpoint == false) { 225 225 $body = json_decode($response['body']); 226 $message = ucfirst($environment) . __(' private key is valid for ', 'zippayment') . $body->name;226 $message = ucfirst($environment) . __(' private key is valid for ', 'zippayment') . $body->name; 227 227 $htmlMessage = '<div class="notice notice-success notice-alt is-dismissible zip-notice"><p>' . $message . '</p>'; 228 228 $regions = $body->regions; 229 229 //var_dump($regions); 230 230 if ($regions) { 231 $regionList = '<p>' .__('key is valid for below regions ','zippayment') . ucfirst($environment) . ' environment:<br>';231 $regionList = '<p>' . __('key is valid for below regions ', 'zippayment') . ucfirst($environment) . ' environment:<br>'; 232 232 $countriesObj = new WC_Countries(); 233 233 $allCountries = $countriesObj->get_countries(); 234 234 foreach ($regions as $key => $value) { 235 if (array_key_exists(strtoupper($regions[$key]), $allCountries)) {235 if (array_key_exists(strtoupper($regions[$key]), $allCountries)) { 236 236 $regionList .= $allCountries[strtoupper($regions[$key])] . '<br>'; 237 237 } … … 242 242 } 243 243 if (($responseCode == '404' || $responseCode == '200') && $isAuEndpoint == true) { 244 $message = ucfirst($environment) . __(" private key valid for Australia region.", "zippayment");244 $message = ucfirst($environment) . __(" private key valid for Australia region.", "zippayment"); 245 245 $htmlMessage = '<div class="notice notice-success notice-alt is-dismissible zip-notice"><p>' . $message . '</p></div>'; 246 246 } … … 252 252 if (!is_wp_error($response)) { 253 253 if ($responseCode == '401' || $responseCode == '403' || ($responseCode == '404' && $isAuEndpoint == false)) { 254 $htmlMessage = '<div class="notice notice-error notice-alt is-dismissible zip-notice"><p>' .__("Invalid Zip private key. Please check with Zip.","zippayment").'</p></div>';254 $htmlMessage = '<div class="notice notice-error notice-alt is-dismissible zip-notice"><p>' . __("Invalid Zip private key. Please check with Zip.", "zippayment") . '</p></div>'; 255 255 $result = array( 256 256 'error' => true, … … 260 260 } 261 261 } else { 262 $htmlMessage = '<div class="notice notice-error notice-alt is-dismissible zip-notice"><p>' .__("Connection error. Please try later.","zippayment").'</p></div>';262 $htmlMessage = '<div class="notice notice-error notice-alt is-dismissible zip-notice"><p>' . __("Connection error. Please try later.", "zippayment") . '</p></div>'; 263 263 $result = array( 264 264 'error' => true, -
zipmoney-payments-woocommerce/trunk/languages/zippayment-es_MX.po
r2560395 r2583230 2 2 msgstr "" 3 3 "Project-Id-Version: \n" 4 "POT-Creation-Date: 2021-0 4-23 10:38+1000\n"5 "PO-Revision-Date: 2021-0 4-23 10:39+1000\n"4 "POT-Creation-Date: 2021-08-12 11:45+1000\n" 5 "PO-Revision-Date: 2021-08-12 12:08+1000\n" 6 6 "Last-Translator: \n" 7 7 "Language-Team: \n" … … 17 17 18 18 #: api/class-wc-zipmoney-payment-gateway-api-charge.php:348 19 #: class-wc-zipmoney-payment-gateway.php:39 719 #: class-wc-zipmoney-payment-gateway.php:396 20 20 msgid "Payment error:" 21 21 msgstr "Error en el pago:" 22 22 23 #: class-wc-zipmoney-payment-gateway-config.php:16 023 #: class-wc-zipmoney-payment-gateway-config.php:162 24 24 msgid "Active" 25 25 msgstr "Activa o Activo" 26 26 27 #: class-wc-zipmoney-payment-gateway-config.php:16 127 #: class-wc-zipmoney-payment-gateway-config.php:163 28 28 msgid "Enable Zip payment" 29 29 msgstr "Habilitar pago Zip" 30 30 31 #: class-wc-zipmoney-payment-gateway-config.php:17 331 #: class-wc-zipmoney-payment-gateway-config.php:170 32 32 msgid "Environment" 33 33 msgstr "Ambiente" 34 34 35 #: class-wc-zipmoney-payment-gateway-config.php:17 435 #: class-wc-zipmoney-payment-gateway-config.php:171 36 36 msgid "Enable sandbox mode" 37 37 msgstr "Habilitar modo sandbox" 38 38 39 #: class-wc-zipmoney-payment-gateway-config.php:17 739 #: class-wc-zipmoney-payment-gateway-config.php:174 40 40 msgid "ONLY use sandbox mode in conjunction with sandbox Zip credentials." 41 41 msgstr "" 42 42 "ÚNICAMENTE usa el modo sandbox junto con las credenciales de sandbox Zip" 43 43 44 #: class-wc-zipmoney-payment-gateway-config.php:1 8144 #: class-wc-zipmoney-payment-gateway-config.php:178 45 45 msgid "Sandbox public key" 46 46 msgstr "Clave pública de sandbox" 47 47 48 #: class-wc-zipmoney-payment-gateway-config.php:18 448 #: class-wc-zipmoney-payment-gateway-config.php:181 49 49 msgid "Please contact [email protected] to request your Sandbox Public key." 50 50 msgstr "" … … 52 52 "pública de Sandbox" 53 53 54 #: class-wc-zipmoney-payment-gateway-config.php:18 555 #: class-wc-zipmoney-payment-gateway-config.php: 20154 #: class-wc-zipmoney-payment-gateway-config.php:182 55 #: class-wc-zipmoney-payment-gateway-config.php:198 56 56 msgid "Required for Australia only." 57 57 msgstr "Requerido solo para Australia." 58 58 59 #: class-wc-zipmoney-payment-gateway-config.php:18 959 #: class-wc-zipmoney-payment-gateway-config.php:186 60 60 msgid "Sandbox private key" 61 61 msgstr "Clave privada de sandbox" 62 62 63 #: class-wc-zipmoney-payment-gateway-config.php:1 9263 #: class-wc-zipmoney-payment-gateway-config.php:189 64 64 msgid "Please contact [email protected] to request your Sandbox API key." 65 65 msgstr "" … … 67 67 "API de Sandbox" 68 68 69 #: class-wc-zipmoney-payment-gateway-config.php:19 369 #: class-wc-zipmoney-payment-gateway-config.php:190 70 70 msgid "Please contact [email protected] to request Sandbox API key." 71 71 msgstr "" … … 73 73 "API de Sandbox" 74 74 75 #: class-wc-zipmoney-payment-gateway-config.php:19 775 #: class-wc-zipmoney-payment-gateway-config.php:194 76 76 msgid "Public key" 77 77 msgstr "Clave pública o Llave pública" 78 78 79 #: class-wc-zipmoney-payment-gateway-config.php: 20079 #: class-wc-zipmoney-payment-gateway-config.php:197 80 80 msgid "" 81 81 "Please contact [email protected] to request your production public key.." … … 84 84 "pública de producción" 85 85 86 #: class-wc-zipmoney-payment-gateway-config.php:20 586 #: class-wc-zipmoney-payment-gateway-config.php:202 87 87 msgid "Private key" 88 88 msgstr "Clave privada o Llave privada" 89 89 90 #: class-wc-zipmoney-payment-gateway-config.php:20 890 #: class-wc-zipmoney-payment-gateway-config.php:205 91 91 msgid "Please contact [email protected] to request your product API key." 92 92 msgstr "" … … 94 94 "API de producto" 95 95 96 #: class-wc-zipmoney-payment-gateway-config.php:20 996 #: class-wc-zipmoney-payment-gateway-config.php:206 97 97 msgid "Please contact [email protected] to request your API key." 98 98 msgstr "" … … 100 100 "API" 101 101 102 #: class-wc-zipmoney-payment-gateway-config.php:2 20102 #: class-wc-zipmoney-payment-gateway-config.php:217 103 103 msgid "Capture method" 104 104 msgstr "Método de captura " 105 105 106 #: class-wc-zipmoney-payment-gateway-config.php:2 22106 #: class-wc-zipmoney-payment-gateway-config.php:219 107 107 msgid "" 108 108 "Set to \"Immediate capture\" unless directed by Zip. Immedate capture = " … … 116 116 "cliente y capturarlos manualmente en un momento posterior" 117 117 118 #: class-wc-zipmoney-payment-gateway-config.php:22 5118 #: class-wc-zipmoney-payment-gateway-config.php:222 119 119 msgid "Immediate capture" 120 120 msgstr "Captura inmediata" 121 121 122 #: class-wc-zipmoney-payment-gateway-config.php:22 6122 #: class-wc-zipmoney-payment-gateway-config.php:223 123 123 msgid "Authorise & capture" 124 124 msgstr "Autorizar y capturar o Autoriza y Captura" 125 125 126 #: class-wc-zipmoney-payment-gateway-config.php:2 30126 #: class-wc-zipmoney-payment-gateway-config.php:227 127 127 msgid "Log setting" 128 128 msgstr "Configuración de registro" 129 129 130 #: class-wc-zipmoney-payment-gateway-config.php:2 31130 #: class-wc-zipmoney-payment-gateway-config.php:228 131 131 msgid "" 132 132 "So Zip can assist with troubleshooting any potential issues, we recommend " … … 136 136 "recomendamos configurar la Configuración de registro en “TODOS”" 137 137 138 #: class-wc-zipmoney-payment-gateway-config.php:23 5138 #: class-wc-zipmoney-payment-gateway-config.php:232 139 139 msgid "All messages" 140 140 msgstr "Todos los mensajes" 141 141 142 #: class-wc-zipmoney-payment-gateway-config.php:23 6142 #: class-wc-zipmoney-payment-gateway-config.php:233 143 143 msgid "Debug (and above)" 144 144 msgstr "Depurar (y lo de arriba)" 145 145 146 #: class-wc-zipmoney-payment-gateway-config.php:23 7146 #: class-wc-zipmoney-payment-gateway-config.php:234 147 147 msgid "Info (and above)" 148 148 msgstr "Información (y lo de arriba)" 149 149 150 #: class-wc-zipmoney-payment-gateway-config.php:23 8150 #: class-wc-zipmoney-payment-gateway-config.php:235 151 151 msgid "Warn (and above)" 152 152 msgstr "Advertir (y lo de arriba)" 153 153 154 #: class-wc-zipmoney-payment-gateway-config.php:23 9154 #: class-wc-zipmoney-payment-gateway-config.php:236 155 155 msgid "Error (and above)" 156 156 msgstr "Error (y lo de arriba)" 157 157 158 #: class-wc-zipmoney-payment-gateway-config.php:2 40158 #: class-wc-zipmoney-payment-gateway-config.php:237 159 159 msgid "Fatal (and above)" 160 160 msgstr "Fatal (y lo de arriba)" 161 161 162 #: class-wc-zipmoney-payment-gateway-config.php:2 41162 #: class-wc-zipmoney-payment-gateway-config.php:238 163 163 msgid "Off (No message will be logged)" 164 164 msgstr "Apagado(No se registrará ningún mensaje)" 165 165 166 #: class-wc-zipmoney-payment-gateway-config.php:24 5166 #: class-wc-zipmoney-payment-gateway-config.php:242 167 167 msgid "In-context checkout" 168 168 msgstr "Pago en contexto" 169 169 170 #: class-wc-zipmoney-payment-gateway-config.php:24 6170 #: class-wc-zipmoney-payment-gateway-config.php:243 171 171 msgid "Enable in-context checkout flow" 172 172 msgstr "Habilitar el flujo de pago en contexto" 173 173 174 #: class-wc-zipmoney-payment-gateway-config.php:24 8174 #: class-wc-zipmoney-payment-gateway-config.php:245 175 175 msgid "" 176 176 "Enable to offer your customers an iframe checkout experience without being " … … 183 183 "Zip para el pago." 184 184 185 #: class-wc-zipmoney-payment-gateway-config.php:24 9185 #: class-wc-zipmoney-payment-gateway-config.php:246 186 186 msgid "" 187 187 "Iframe zip checkout only work for AU region. Other region customer will " … … 191 191 "región te redireccionará a Zip para el pago." 192 192 193 #: class-wc-zipmoney-payment-gateway-config.php:25 3193 #: class-wc-zipmoney-payment-gateway-config.php:250 194 194 msgid "Minimum order value" 195 195 msgstr "Valor mínimo de pedido" 196 196 197 #: class-wc-zipmoney-payment-gateway-config.php:25 5197 #: class-wc-zipmoney-payment-gateway-config.php:252 198 198 msgid "Set the minimum shopping cart value that Zip will be available for use." 199 199 msgstr "" … … 201 201 "para su uso" 202 202 203 #: class-wc-zipmoney-payment-gateway-config.php:25 9203 #: class-wc-zipmoney-payment-gateway-config.php:256 204 204 msgid "Maximum order value" 205 205 msgstr "Valor máximo de pedido" 206 206 207 #: class-wc-zipmoney-payment-gateway-config.php:2 61207 #: class-wc-zipmoney-payment-gateway-config.php:258 208 208 msgid "Set the maximum shopping cart value that Zip will be available for use." 209 209 msgstr "" … … 211 211 "para su uso" 212 212 213 #: class-wc-zipmoney-payment-gateway-config.php:26 5213 #: class-wc-zipmoney-payment-gateway-config.php:262 214 214 msgid "Widget Region" 215 215 msgstr "Región de widget" 216 216 217 #: class-wc-zipmoney-payment-gateway-config.php:26 7217 #: class-wc-zipmoney-payment-gateway-config.php:264 218 218 msgid "" 219 219 "Select Region to show proper zip widget in product, cart and checkout page" … … 222 222 "carrito y la página de pago" 223 223 224 #: class-wc-zipmoney-payment-gateway-config.php:27 8224 #: class-wc-zipmoney-payment-gateway-config.php:276 225 225 msgid "Display Widget Mode" 226 226 msgstr "Mostrar modo de Widget" 227 227 228 #: class-wc-zipmoney-payment-gateway-config.php:2 80228 #: class-wc-zipmoney-payment-gateway-config.php:278 229 229 msgid "Select Display widget mode for Zip widget" 230 230 msgstr "Selecciona el modo de widget de visualización para el widget Zip" 231 231 232 #: class-wc-zipmoney-payment-gateway-config.php:28 3232 #: class-wc-zipmoney-payment-gateway-config.php:281 233 233 msgid "iframe" 234 234 msgstr "iframe" 235 235 236 #: class-wc-zipmoney-payment-gateway-config.php:28 4236 #: class-wc-zipmoney-payment-gateway-config.php:282 237 237 msgid "inline" 238 238 msgstr "inline" 239 239 240 #: class-wc-zipmoney-payment-gateway-config.php:28 8240 #: class-wc-zipmoney-payment-gateway-config.php:286 241 241 msgid "Marketing widgets" 242 242 msgstr "Widgets de marketing" 243 243 244 #: class-wc-zipmoney-payment-gateway-config.php:28 9245 #: class-wc-zipmoney-payment-gateway-config.php:30 2246 #: class-wc-zipmoney-payment-gateway-config.php:32 8244 #: class-wc-zipmoney-payment-gateway-config.php:287 245 #: class-wc-zipmoney-payment-gateway-config.php:300 246 #: class-wc-zipmoney-payment-gateway-config.php:326 247 247 msgid "Display on product page" 248 248 msgstr "Mostrar en la página del producto" 249 249 250 #: class-wc-zipmoney-payment-gateway-config.php:2 91250 #: class-wc-zipmoney-payment-gateway-config.php:289 251 251 msgid "" 252 252 "Enable to display the Zip widget below the add to cart button on the product " … … 256 256 "la página del producto." 257 257 258 #: class-wc-zipmoney-payment-gateway-config.php:29 5259 #: class-wc-zipmoney-payment-gateway-config.php:30 8258 #: class-wc-zipmoney-payment-gateway-config.php:293 259 #: class-wc-zipmoney-payment-gateway-config.php:306 260 260 msgid "Display on cart page" 261 261 msgstr "Mostrar en el carrito de la página" 262 262 263 #: class-wc-zipmoney-payment-gateway-config.php:29 7263 #: class-wc-zipmoney-payment-gateway-config.php:295 264 264 msgid "" 265 265 "Enable to display the Zip widget below the checkout button on the cart page." … … 268 268 "del carrito." 269 269 270 #: class-wc-zipmoney-payment-gateway-config.php: 301270 #: class-wc-zipmoney-payment-gateway-config.php:299 271 271 msgid "Marketing taglines" 272 272 msgstr "Eslogans de marketing" 273 273 274 #: class-wc-zipmoney-payment-gateway-config.php:30 3274 #: class-wc-zipmoney-payment-gateway-config.php:301 275 275 msgid "" 276 276 "Enable to display the Zip tagline widget below the price on the product page." … … 279 279 "página del producto." 280 280 281 #: class-wc-zipmoney-payment-gateway-config.php:30 9281 #: class-wc-zipmoney-payment-gateway-config.php:307 282 282 msgid "" 283 283 "Enable to display the Zip tagline widget below the total price on the cart " … … 287 287 "página del carrito." 288 288 289 #: class-wc-zipmoney-payment-gateway-config.php:31 4289 #: class-wc-zipmoney-payment-gateway-config.php:312 290 290 msgid "Marketing banners" 291 291 msgstr "Banners de marketing" 292 292 293 #: class-wc-zipmoney-payment-gateway-config.php:31 5293 #: class-wc-zipmoney-payment-gateway-config.php:313 294 294 msgid "Display marketing banners" 295 295 msgstr "Mostrar banners de marketing" 296 296 297 #: class-wc-zipmoney-payment-gateway-config.php:31 8297 #: class-wc-zipmoney-payment-gateway-config.php:316 298 298 msgid "Enable to display the Zip strip banners on the pages outlined below." 299 299 msgstr "" … … 301 301 "describen a continuación." 302 302 303 #: class-wc-zipmoney-payment-gateway-config.php:32 2303 #: class-wc-zipmoney-payment-gateway-config.php:320 304 304 msgid "Display on shop" 305 305 msgstr "Mostrar en tienda" 306 306 307 #: class-wc-zipmoney-payment-gateway-config.php:33 4307 #: class-wc-zipmoney-payment-gateway-config.php:332 308 308 msgid "Display on category cage" 309 309 msgstr "Mostrar en jaula de categoría" 310 310 311 #: class-wc-zipmoney-payment-gateway-config.php:3 40311 #: class-wc-zipmoney-payment-gateway-config.php:338 312 312 msgid "Display on cart" 313 313 msgstr "Mostrar en el carrito" … … 321 321 msgstr "La clave privada de Zip no es válida." 322 322 323 #: class-wc-zipmoney-payment-gateway.php:95 324 msgid "Zip - Own it now, pay later" 325 msgstr "Zip - Cómpralo ahora, paga después" 326 327 #: class-wc-zipmoney-payment-gateway.php:97 328 #: class-wc-zipmoney-payment-gateway.php:103 329 msgid " Zip - Own it now, pay later " 330 msgstr "Zip - Cómpralo ahora, paga después" 331 332 #: class-wc-zipmoney-payment-gateway.php:231 323 #: class-wc-zipmoney-payment-gateway.php:93 324 msgid " Zip now, pay later " 325 msgstr "Compra ahora, paga despues" 326 327 #: class-wc-zipmoney-payment-gateway.php:226 333 328 msgid " private key is valid for " 334 329 msgstr "La clave privada de Zip es válida para" 335 330 336 #: class-wc-zipmoney-payment-gateway.php:23 5331 #: class-wc-zipmoney-payment-gateway.php:231 337 332 msgid "key is valid for below regions " 338 333 msgstr "la clave es válida para las siguientes regiones" 339 334 340 #: class-wc-zipmoney-payment-gateway.php:24 5335 #: class-wc-zipmoney-payment-gateway.php:244 341 336 msgid " private key valid for Australia region." 342 337 msgstr "clave privada válida para la región de Australia." 343 338 344 #: class-wc-zipmoney-payment-gateway.php:25 5339 #: class-wc-zipmoney-payment-gateway.php:254 345 340 msgid "Invalid Zip private key. Please check with Zip." 346 341 msgstr "Clave privada Zip no válida. Consulta con Zip." 347 342 348 #: class-wc-zipmoney-payment-gateway.php:26 3343 #: class-wc-zipmoney-payment-gateway.php:262 349 344 msgid "Connection error. Please try later." 350 345 msgstr "Error de conexión. Por favor intentalo mas tarde." 351 346 352 #: class-wc-zipmoney-payment-gateway.php:32 1347 #: class-wc-zipmoney-payment-gateway.php:320 353 348 #, php-format 354 349 msgid "" … … 359 354 "versión %s." 360 355 361 #: class-wc-zipmoney-payment-gateway.php:32 4356 #: class-wc-zipmoney-payment-gateway.php:323 362 357 #, php-format 363 358 msgid "" … … 371 366 "solo funcionará en modo sandbox." 372 367 373 #: class-wc-zipmoney-payment-gateway.php:41 2368 #: class-wc-zipmoney-payment-gateway.php:411 374 369 msgid "Payment error: " 375 370 msgstr "Error de pago:" … … 425 420 msgid "An error occurred while getting the redirect url from Zip." 426 421 msgstr "Se produjo un error al obtener la URL de redireccionamiento de Zip." 422 423 #~ msgid "Zip - Own it now, pay later" 424 #~ msgstr "Zip - Cómpralo ahora, paga después" -
zipmoney-payments-woocommerce/trunk/zipmoney-payment-gateway.php
r2565581 r2583230 7 7 Give your customers the power to pay later, interest free and watch your sales grow. 8 8 Take advantage of our fast-growing customer base, proven revenue uplift, fast and simple integration. 9 * Version: 2.3. 69 * Version: 2.3.7 10 10 * Author: Zip 11 11 * Author URI: https://www.zip.co/ … … 15 15 * WC requires at least: 2.6.13 16 16 * WC tested up to: 5.5.1 17 * @version 2.3. 617 * @version 2.3.7 18 18 * @package Zip 19 19 * @author Zip … … 50 50 * Include the core class responsible for loading all necessary components of the plugin. 51 51 */ 52 52 53 53 54 54 if (!class_exists('WC_Payment_Gateway')) { … … 64 64 //After the class is initialized, we put the class to wc payment options 65 65 add_filter('woocommerce_payment_gateways', 'add_zipmoney_gateway_class'); 66 add_filter( "plugin_action_links_" . plugin_basename( __FILE__ ), "zipmoney_plugin_action_links");66 add_filter("plugin_action_links_" . plugin_basename(__FILE__), "zipmoney_plugin_action_links"); 67 67 } 68 68 69 69 /** 70 * Adds plugin action links.71 *72 * @since 1.0.073 * @version 4.0.070 * Adds plugin action links. 71 * 72 * @since 1.0.0 73 * @version 4.0.0 74 74 */ 75 function zipmoney_plugin_action_links( $links ) { 76 75 function zipmoney_plugin_action_links($links) 76 { 77 77 78 $plugin_links = array( 78 '<a href="admin.php?page=wc-settings&tab=checkout§ion=zipmoney">' . esc_html__( 'Settings', 'zipmoney-payment-gateway') . '</a>',79 '<a href="https://help.zipmoney.com.au/hc/en-us/categories/200306615-merchants" target="_blank">' . esc_html__( 'Support', 'zipmoney-payment-gateway') . '</a>',80 '<a href="https://zip-woocomerce.api-docs.io/v1/integration-steps" target="_blank">' . esc_html__( 'Integration Doc', 'zipmoney-payment-gateway') . '</a>',81 );82 83 return array_merge($plugin_links, $links);79 '<a href="admin.php?page=wc-settings&tab=checkout§ion=zipmoney">' . esc_html__('Settings', 'zipmoney-payment-gateway') . '</a>', 80 '<a href="https://help.zipmoney.com.au/hc/en-us/categories/200306615-merchants" target="_blank">' . esc_html__('Support', 'zipmoney-payment-gateway') . '</a>', 81 '<a href="https://zip-woocomerce.api-docs.io/v1/integration-steps" target="_blank">' . esc_html__('Integration Doc', 'zipmoney-payment-gateway') . '</a>', 82 ); 83 84 return array_merge($plugin_links, $links); 84 85 } 85 86 86 87 // load language file 87 function load_language() { 88 load_plugin_textdomain( 'zippayment', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' ); 88 function load_language() 89 { 90 load_plugin_textdomain('zippayment', false, dirname(plugin_basename(__FILE__)) . '/languages/'); 89 91 } 90 92
Note: See TracChangeset
for help on using the changeset viewer.