Changeset 2476029
- Timestamp:
- 02/17/2021 04:24:44 AM (5 years ago)
- Location:
- zipmoney-payments-woocommerce
- Files:
-
- 232 added
- 5 edited
-
assets/icon-128x128.png (added)
-
assets/icon-256x256.png (added)
-
tags/2.3.2 (added)
-
tags/2.3.2/LICENSE.txt (added)
-
tags/2.3.2/README.txt (added)
-
tags/2.3.2/assets (added)
-
tags/2.3.2/assets/css (added)
-
tags/2.3.2/assets/css/woocommerce-zipmoney-payment-admin.css (added)
-
tags/2.3.2/assets/css/woocommerce-zipmoney-payment-front.css (added)
-
tags/2.3.2/assets/img (added)
-
tags/2.3.2/assets/img/loader.gif (added)
-
tags/2.3.2/assets/img/loading.gif (added)
-
tags/2.3.2/assets/js (added)
-
tags/2.3.2/assets/js/admin_options.js (added)
-
tags/2.3.2/assets/js/woocommerce-zipmoney-payment-front.js (added)
-
tags/2.3.2/assets/js/zip_order_button.js (added)
-
tags/2.3.2/composer.json (added)
-
tags/2.3.2/includes (added)
-
tags/2.3.2/includes/api (added)
-
tags/2.3.2/includes/api/class-wc-zipmoney-payment-gateway-api-abstract.php (added)
-
tags/2.3.2/includes/api/class-wc-zipmoney-payment-gateway-api-charge.php (added)
-
tags/2.3.2/includes/api/class-wc-zipmoney-payment-gateway-api-checkout.php (added)
-
tags/2.3.2/includes/class-wc-zipmoney-payment-gateway-config.php (added)
-
tags/2.3.2/includes/class-wc-zipmoney-payment-gateway-util.php (added)
-
tags/2.3.2/includes/class-wc-zipmoney-payment-gateway-widget.php (added)
-
tags/2.3.2/includes/class-wc-zipmoney-payment-gateway.php (added)
-
tags/2.3.2/includes/compatibility (added)
-
tags/2.3.2/includes/compatibility/abstract-wc-data-compatibility.php (added)
-
tags/2.3.2/includes/compatibility/class-wc-core-compatibility.php (added)
-
tags/2.3.2/includes/compatibility/class-wc-order-compatibility.php (added)
-
tags/2.3.2/includes/controller (added)
-
tags/2.3.2/includes/controller/class-wc-zipmoney-payment-abstract-controller.php (added)
-
tags/2.3.2/includes/controller/class-wc-zipmoney-payment-charge-controller.php (added)
-
tags/2.3.2/includes/controller/class-wc-zipmoney-payment-checkout-controller.php (added)
-
tags/2.3.2/includes/view (added)
-
tags/2.3.2/includes/view/backend (added)
-
tags/2.3.2/includes/view/backend/admin_options.php (added)
-
tags/2.3.2/includes/view/backend/charge_buttons.php (added)
-
tags/2.3.2/includes/view/frontend (added)
-
tags/2.3.2/includes/view/frontend/checkout_notification_section.php (added)
-
tags/2.3.2/includes/view/frontend/error_page.php (added)
-
tags/2.3.2/includes/view/frontend/express_payment_button.php (added)
-
tags/2.3.2/includes/view/frontend/iframe_redirect.php (added)
-
tags/2.3.2/includes/view/frontend/notification_page.php (added)
-
tags/2.3.2/includes/view/frontend/order_button.php (added)
-
tags/2.3.2/log.txt (added)
-
tags/2.3.2/test.txt (added)
-
tags/2.3.2/tests (added)
-
tags/2.3.2/tests/bootstrap.php (added)
-
tags/2.3.2/tests/test-charge-api.php (added)
-
tags/2.3.2/tests/test-checkout-api.php (added)
-
tags/2.3.2/tests/test-sample.php (added)
-
tags/2.3.2/tests/wc-zipmoney-test-main.php (added)
-
tags/2.3.2/vendor (added)
-
tags/2.3.2/vendor/autoload.php (added)
-
tags/2.3.2/vendor/bin (added)
-
tags/2.3.2/vendor/composer (added)
-
tags/2.3.2/vendor/composer/ClassLoader.php (added)
-
tags/2.3.2/vendor/composer/LICENSE (added)
-
tags/2.3.2/vendor/composer/autoload_classmap.php (added)
-
tags/2.3.2/vendor/composer/autoload_namespaces.php (added)
-
tags/2.3.2/vendor/composer/autoload_psr4.php (added)
-
tags/2.3.2/vendor/composer/autoload_real.php (added)
-
tags/2.3.2/vendor/composer/autoload_static.php (added)
-
tags/2.3.2/vendor/composer/installed.json (added)
-
tags/2.3.2/vendor/zipmoney (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.editorconfig (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/HEAD (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/ORIG_HEAD (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/config (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/description (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/hooks (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/hooks/applypatch-msg.sample (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/hooks/commit-msg.sample (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/hooks/fsmonitor-watchman.sample (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/hooks/post-update.sample (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/hooks/pre-applypatch.sample (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/hooks/pre-commit.sample (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/hooks/pre-merge-commit.sample (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/hooks/pre-push.sample (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/hooks/pre-rebase.sample (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/hooks/pre-receive.sample (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/hooks/prepare-commit-msg.sample (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/hooks/update.sample (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/index (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/info (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/info/exclude (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/info/refs (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/logs (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/logs/HEAD (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/logs/refs (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/logs/refs/heads (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/logs/refs/heads/master (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/logs/refs/remotes (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/logs/refs/remotes/origin (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/logs/refs/remotes/origin/HEAD (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/objects (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/objects/5e (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/objects/5e/60a146bdbcfb2e8af7cd835441c880325d9419 (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/objects/info (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/objects/info/packs (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/objects/pack (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/objects/pack/pack-82db4f4ceed51fa2276ce058eab640bbc348d4fd.idx (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/objects/pack/pack-82db4f4ceed51fa2276ce058eab640bbc348d4fd.pack (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/packed-refs (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/refs (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/refs/heads (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/refs/heads/master (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/refs/remotes (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/refs/remotes/origin (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/refs/remotes/origin/HEAD (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.git/refs/tags (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/.gitignore (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/LICENSE.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/README.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/autoload.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/build (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/build.xml (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/build/shell (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/build/shell/publish.sh (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/composer.json (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Api (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Api/ChargesApi.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Api/CheckoutsApi.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Api/CustomersApi.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Api/RefundsApi.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Api/SettlementsApi.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Api/TokensApi.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/Address.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/Authority.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/CaptureChargeRequest.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/Charge.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/ChargeCollection.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/ChargeOrder.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/Checkout.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/CheckoutConfiguration.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/CheckoutFeatures.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/CheckoutFeaturesTokenisation.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/CheckoutOrder.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/CreateChargeRequest.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/CreateCheckoutRequest.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/CreateCheckoutRequestFeatures.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/CreateCheckoutRequestFeaturesTokenisation.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/CreateRefundRequest.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/CreateTokenRequest.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/Customer.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/ErrorResponse.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/ErrorResponseError.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/ErrorResponseErrorDetails.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/Flightadditionaldetails.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/FlightadditionaldetailsPassengers.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/HateoasLinks.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/HateoaslinksLinks.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/InlineResponse200.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/Metadata.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/OrderItem.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/OrderItemAdditionalDetails.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/OrderShipping.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/OrderShippingTracking.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/Refund.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/Settlement.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/SettlementTransactions.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/Shopper.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/ShopperStatistics.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/docs/Model/Token.md (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Api (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Api/ChargesApi.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Api/CheckoutsApi.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Api/CustomersApi.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Api/RefundsApi.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Api/SettlementsApi.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Api/TokensApi.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/ApiClient.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/ApiException.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Configuration.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/Address.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/Authority.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/CaptureChargeRequest.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/Charge.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/ChargeCollection.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/ChargeOrder.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/Checkout.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/CheckoutConfiguration.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/CheckoutFeatures.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/CheckoutFeaturesTokenisation.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/CheckoutOrder.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/CreateChargeRequest.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/CreateCheckoutRequest.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/CreateCheckoutRequestFeatures.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/CreateCheckoutRequestFeaturesTokenisation.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/CreateRefundRequest.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/CreateTokenRequest.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/CurrencyUtil.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/Customer.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/ErrorResponse.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/ErrorResponseError.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/ErrorResponseErrorDetails.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/Flightadditionaldetails.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/FlightadditionaldetailsPassengers.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/HateoasLinks.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/HateoaslinksLinks.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/InlineResponse200.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/Metadata.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/OrderItem.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/OrderItemAdditionalDetails.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/OrderShipping.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/OrderShippingTracking.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/Refund.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/Settlement.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/SettlementTransactions.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/Shopper.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/ShopperStatistics.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/Model/Token.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/lib/ObjectSerializer.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/phpunit.xml.dist (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/test (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/test/Api (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/test/Api/ChargesApiTest.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/test/Api/CheckoutsApiTest.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/test/Api/RefundsApiTest.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/test/ConfigurationTest.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/test/Helper (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/test/Helper/Payload.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/test/Setup.php (added)
-
tags/2.3.2/vendor/zipmoney/merchantapi-php/test/auth.ini (added)
-
tags/2.3.2/zipmoney-payment-gateway.php (added)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/includes/api/class-wc-zipmoney-payment-gateway-api-charge.php (modified) (2 diffs)
-
trunk/includes/class-wc-zipmoney-payment-gateway-util.php (modified) (1 diff)
-
trunk/includes/class-wc-zipmoney-payment-gateway.php (modified) (1 diff)
-
trunk/zipmoney-payment-gateway.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
zipmoney-payments-woocommerce/trunk/README.txt
r2467646 r2476029 4 4 Requires at least: WP 4.0 5 5 Tested up to: 5.6 6 Stable tag: 2.3. 16 Stable tag: 2.3.2 7 7 License: GPLv2 or later License http://www.gnu.org/licenses/gpl-2.0.html 8 8 … … 161 161 * Fixed api key validation issue 162 162 * Fixed case sensitive file call 163 164 = 2.3.2 = 165 * Fixed auto loader issue zip library 166 * Fixed 302 redirect issue for key validation route when wordpress site under subdirectory 167 * Fixed auth and capture for Partpay and Quadpay -
zipmoney-payments-woocommerce/trunk/includes/api/class-wc-zipmoney-payment-gateway-api-charge.php
r2464696 r2476029 210 210 211 211 212 if ($charge->getState() == 'captured' ) {212 if ($charge->getState() == 'captured' || $charge->getState() == 'approved') { 213 213 214 214 WC_Zipmoney_Payment_Gateway_Util::log('Order captured, charge successfull for: ' . $charge->getId(), WC_Zipmoney_Payment_Gateway_Config::LOG_LEVEL_DEBUG); … … 307 307 WC_Zipmoney_Payment_Gateway_Util::log(sprintf('Order authorised for charge (%s)', $charge->getId()), WC_Zipmoney_Payment_Gateway_Config::LOG_LEVEL_DEBUG); 308 308 } else if ($charge->getState() == 'approved') { 309 $order->payment_complete($charge->getId()); 310 do_action( 'woocommerce_checkout_order_processed', $order_id, (array) $WC_Session, $order ); 311 WC_Zipmoney_Payment_Gateway_Util::log(sprintf('Charged successfull with id (%s)', $charge->getId()), WC_Zipmoney_Payment_Gateway_Config::LOG_LEVEL_DEBUG); 309 $capture_charge_option = $this->WC_Zipmoney_Payment_Gateway->get_option(WC_Zipmoney_Payment_Gateway_Config::CONFIG_CHARGE_CAPTURE); 310 $is_capture = $capture_charge_option == WC_Zipmoney_Payment_Gateway_Config::CAPTURE_CHARGE_IMMEDIATELY ? true : false; 311 if($is_capture) { 312 $order->payment_complete($charge->getId()); 313 do_action('woocommerce_checkout_order_processed', $order_id, (array)$WC_Session, $order); 314 WC_Zipmoney_Payment_Gateway_Util::log(sprintf('Charged successfull with id (%s)', $charge->getId()), WC_Zipmoney_Payment_Gateway_Config::LOG_LEVEL_DEBUG); 315 } else { 316 $order->add_order_note('A zipMoney charge authorization is completed. Waiting for shop administrator to complete the charge. Charge id: ' . $charge->getId()); 317 $order->update_status(WC_Zipmoney_Payment_Gateway_Config::ZIP_ORDER_STATUS_AUTHORIZED_KEY); 318 WC_Zipmoney_Payment_Gateway_Util::log(sprintf('Order authorised for charge (%s)', $charge->getId()), WC_Zipmoney_Payment_Gateway_Config::LOG_LEVEL_DEBUG); 319 } 312 320 WC()->cart->empty_cart(); 313 321 $response['success'] = true; -
zipmoney-payments-woocommerce/trunk/includes/class-wc-zipmoney-payment-gateway-util.php
r2467646 r2476029 323 323 public static function get_clear_options_url() 324 324 { 325 return get_site_url() . ' ?p=zipmoneypayment&route=clear';325 return get_site_url() . '/?p=zipmoneypayment&route=clear'; 326 326 } 327 327 328 328 public static function get_priavte_key_validation_url() 329 329 { 330 return get_site_url() . ' ?p=zipmoneypayment&route=key-validation';330 return get_site_url() . '/?p=zipmoneypayment&route=key-validation'; 331 331 } 332 332 /** -
zipmoney-payments-woocommerce/trunk/includes/class-wc-zipmoney-payment-gateway.php
r2467646 r2476029 24 24 public $description = 'Own the way you pay'; 25 25 26 public $version = '2.3. 1';26 public $version = '2.3.2'; 27 27 28 28 public $supports = array('products', 'refunds'); -
zipmoney-payments-woocommerce/trunk/zipmoney-payment-gateway.php
r2467646 r2476029 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. 19 * Version: 2.3.2 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: 4.8.0 17 * @version 2.3. 117 * @version 2.3.2 18 18 * @package Zip 19 19 * @author Zip … … 24 24 die; 25 25 } 26 26 require_once plugin_dir_path(__FILE__) . 'vendor/autoload.php'; 27 27 28 28 /**
Note: See TracChangeset
for help on using the changeset viewer.