Changeset 3075488
- Timestamp:
- 04/23/2024 07:46:34 AM (2 years ago)
- Location:
- zipmoney-payments-woocommerce
- Files:
-
- 1 added
- 3 edited
-
tags/2.3.19 (added)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/includes/view/backend/charge_buttons.php (modified) (2 diffs)
-
trunk/zipmoney-payment-gateway.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
zipmoney-payments-woocommerce/trunk/README.txt
r2917068 r3075488 3 3 Tags: zipmoney payments woocommerce, zipmoney payments module for woocommerce, zipmoney woocommerce addon , zipmoney payment gateway for woocommerce, zipmoney for woocommerce, zipmoney payment gateway for wordpress, buy now pay later, zippay woocommerce plugin, Own it now, pay later, Zip Co, Zip 4 4 Requires at least: WP 4.0 5 Tested up to: 6. 26 Stable tag: 2.3.1 85 Tested up to: 6.5 6 Stable tag: 2.3.19 7 7 License: GPLv2 or later License http://www.gnu.org/licenses/gpl-2.0.html 8 8 … … 225 225 = 2.3.18 = 226 226 * fixed php notification issue for wc-zipmoney-checkout-js 227 228 = 2.3.19 = 229 * fixed php notification issue for wc-zipmoney-checkout-js -
zipmoney-payments-woocommerce/trunk/includes/view/backend/charge_buttons.php
r2806192 r3075488 11 11 jQuery('button.refund-items').hide(); 12 12 13 const getFormOrder = function () { 14 return jQuery('#post').length ? jQuery('#post') : jQuery('#order'); 15 } 16 13 17 //Set the action of capture button 14 18 jQuery('button.zip-capture-btn').click(function () { 15 19 var confirmResult = confirm('Are you sure?'); 16 20 if (confirmResult == true) { 17 var post_form = jQuery('#post');18 post_form. prop('action', '<?php echo WC_Zipmoney_Payment_Gateway_Util::get_capture_charge_url(); ?>');21 var post_form = getFormOrder(); 22 post_form.attr('action', '<?php echo WC_Zipmoney_Payment_Gateway_Util::get_capture_charge_url(); ?>'); 19 23 post_form.submit(); 20 24 } … … 25 29 var confirmResult = confirm('Are you sure?'); 26 30 if(confirmResult == true){ 27 var post_form = jQuery('#post');28 post_form. prop('action', '<?php echo WC_Zipmoney_Payment_Gateway_Util::get_cancel_charge_url(); ?>');31 var post_form = getFormOrder(); 32 post_form.attr('action', '<?php echo WC_Zipmoney_Payment_Gateway_Util::get_cancel_charge_url(); ?>'); 29 33 post_form.submit(); 30 34 } -
zipmoney-payments-woocommerce/trunk/zipmoney-payment-gateway.php
r2917068 r3075488 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.1 89 * Version: 2.3.19 10 10 * Author: Zip 11 11 * Author URI: https://www.zip.co/ … … 16 16 * WC tested up to: 7.5.1 17 17 * 18 * @version 2.3.1 818 * @version 2.3.19 19 19 * @package Zip 20 20 * @author Zip … … 27 27 register_activation_hook( __FILE__, 'zip_plugin_activation' ); 28 28 require_once plugin_dir_path( __FILE__ ) . 'vendor/autoload.php'; 29 define( 'WOOCOMMERCE_GATEWAY_ZIPMONEY_VERSION', '2.3.1 4' );29 define( 'WOOCOMMERCE_GATEWAY_ZIPMONEY_VERSION', '2.3.19' ); 30 30 define( 'WOOCOMMERCE_GATEWAY_ZIPMONEY_URL', untrailingslashit( plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) ) ); 31 31 define( 'WOOCOMMERCE_GATEWAY_ZIPMONEY_PATH', untrailingslashit( plugin_dir_path( __FILE__ ) ) ); … … 131 131 } 132 132 } 133 134 add_action( 'before_woocommerce_init', function() { 135 if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) { 136 \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true ); 137 } 138 } );
Note: See TracChangeset
for help on using the changeset viewer.