Changeset 3034458
- Timestamp:
- 02/12/2024 09:54:08 AM (2 years ago)
- Location:
- tabby-checkout
- Files:
-
- 5 edited
- 26 copied
-
tags/4.9.8 (copied) (copied from tabby-checkout/trunk)
-
tags/4.9.8/css (copied) (copied from tabby-checkout/trunk/css)
-
tags/4.9.8/css/tabby.css (copied) (copied from tabby-checkout/trunk/css/tabby.css)
-
tags/4.9.8/i18n (copied) (copied from tabby-checkout/trunk/i18n)
-
tags/4.9.8/i18n/languages/tabby-checkout-ar.mo (copied) (copied from tabby-checkout/trunk/i18n/languages/tabby-checkout-ar.mo)
-
tags/4.9.8/i18n/languages/tabby-checkout-ar.po (copied) (copied from tabby-checkout/trunk/i18n/languages/tabby-checkout-ar.po)
-
tags/4.9.8/i18n/languages/tabby-checkout.pot (copied) (copied from tabby-checkout/trunk/i18n/languages/tabby-checkout.pot)
-
tags/4.9.8/images (copied) (copied from tabby-checkout/trunk/images)
-
tags/4.9.8/includes (copied) (copied from tabby-checkout/trunk/includes)
-
tags/4.9.8/includes/class-wc-gateway-tabby-checkout-base.php (copied) (copied from tabby-checkout/trunk/includes/class-wc-gateway-tabby-checkout-base.php) (1 diff)
-
tags/4.9.8/includes/class-wc-gateway-tabby-credit-card-installments.php (copied) (copied from tabby-checkout/trunk/includes/class-wc-gateway-tabby-credit-card-installments.php)
-
tags/4.9.8/includes/class-wc-gateway-tabby-installments.php (copied) (copied from tabby-checkout/trunk/includes/class-wc-gateway-tabby-installments.php)
-
tags/4.9.8/includes/class-wc-rest-tabby-controller.php (copied) (copied from tabby-checkout/trunk/includes/class-wc-rest-tabby-controller.php)
-
tags/4.9.8/includes/class-wc-settings-tab-tabby.php (copied) (copied from tabby-checkout/trunk/includes/class-wc-settings-tab-tabby.php)
-
tags/4.9.8/includes/class-wc-tabby-ajax.php (copied) (copied from tabby-checkout/trunk/includes/class-wc-tabby-ajax.php)
-
tags/4.9.8/includes/class-wc-tabby-api.php (copied) (copied from tabby-checkout/trunk/includes/class-wc-tabby-api.php)
-
tags/4.9.8/includes/class-wc-tabby-config.php (copied) (copied from tabby-checkout/trunk/includes/class-wc-tabby-config.php)
-
tags/4.9.8/includes/class-wc-tabby-cron.php (copied) (copied from tabby-checkout/trunk/includes/class-wc-tabby-cron.php)
-
tags/4.9.8/includes/class-wc-tabby-promo.php (copied) (copied from tabby-checkout/trunk/includes/class-wc-tabby-promo.php) (1 diff)
-
tags/4.9.8/includes/class-wc-tabby-webhook.php (copied) (copied from tabby-checkout/trunk/includes/class-wc-tabby-webhook.php)
-
tags/4.9.8/includes/class-wc-tabby.php (copied) (copied from tabby-checkout/trunk/includes/class-wc-tabby.php)
-
tags/4.9.8/js (copied) (copied from tabby-checkout/trunk/js)
-
tags/4.9.8/js/tabby.js (copied) (copied from tabby-checkout/trunk/js/tabby.js) (4 diffs)
-
tags/4.9.8/log (copied) (copied from tabby-checkout/trunk/log)
-
tags/4.9.8/readme.txt (copied) (copied from tabby-checkout/trunk/readme.txt) (1 diff)
-
tags/4.9.8/tabby-checkout.php (copied) (copied from tabby-checkout/trunk/tabby-checkout.php) (2 diffs)
-
trunk/includes/class-wc-gateway-tabby-checkout-base.php (modified) (1 diff)
-
trunk/includes/class-wc-tabby-promo.php (modified) (1 diff)
-
trunk/js/tabby.js (modified) (4 diffs)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/tabby-checkout.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tabby-checkout/tags/4.9.8/includes/class-wc-gateway-tabby-checkout-base.php
r3019225 r3034458 238 238 $code = WC()->customer->get_shipping_country() ?: WC()->customer->get_billing_country(); 239 239 } 240 if ($code == 'undefined' ) $code = wc_get_base_location()['country'];240 if ($code == 'undefined' || empty($code)) $code = wc_get_base_location()['country']; 241 241 return $code; 242 242 } -
tabby-checkout/tags/4.9.8/includes/class-wc-tabby-promo.php
r3019225 r3034458 99 99 "phone" => self::getPhone(), 100 100 "source" => self::getSource(), 101 "sourcePlugin"=> 'woo', 101 102 "theme" => self::getTheme(), 102 103 "installmentsCount" => self::getInstallmentsCount(), -
tabby-checkout/tags/4.9.8/js/tabby.js
r2987288 r3034458 1 1 jQuery(document).ready(function () { 2 jQuery('form .checkoutinput').on('change', updateTabbyCheckout);2 jQuery('form input').on('change', updateTabbyCheckout); 3 3 jQuery(document.body).on('updated_checkout', updateTabbyCheckout); 4 4 … … 27 27 this.actualSession = 0; 28 28 // update payment modules on phone/email change 29 jQuery( 'form .checkout' ).on(29 jQuery( 'form' ).on( 30 30 'change', 31 31 '#billing_email, #billing_phone', … … 40 40 jQuery( document.body ).bind( 'payment_method_selected', this.updatePlaceOrderButton ); 41 41 for (var i in this.methods) { 42 jQuery( 'form .checkout' ).bind( 'checkout_place_order_tabby_' + this.methods[i], this.updatePaymentIdField.bind(this));42 jQuery( 'form' ).bind( 'checkout_place_order_tabby_' + this.methods[i], this.updatePaymentIdField.bind(this)); 43 43 } 44 44 this.style = document.createElement('style'); … … 147 147 unblockForm() { 148 148 try { 149 jQuery('form .checkout').removeClass( 'processing' ).unblock();149 jQuery('form').removeClass( 'processing' ).unblock(); 150 150 } catch (error) { 151 151 if (tabbyRenderer.config.debug) console.log(error); -
tabby-checkout/tags/4.9.8/readme.txt
r3019225 r3034458 4 4 Requires at least: 5.7 5 5 Tested up to: 6.4 6 Stable tag: 4.9. 56 Stable tag: 4.9.8 7 7 Requires PHP: 7.0 8 8 License: GPLv3 -
tabby-checkout/tags/4.9.8/tabby-checkout.php
r3019225 r3034458 4 4 * Plugin URI: https://tabby.ai/ 5 5 * Description: Tabby Checkout 6 * Version: 4.9. 56 * Version: 4.9.8 7 7 * Author: Tabby 8 8 * Author URI: https://tabby.ai … … 14 14 defined( 'ABSPATH' ) || exit; 15 15 16 define ('MODULE_TABBY_CHECKOUT_VERSION', '4.9. 5');16 define ('MODULE_TABBY_CHECKOUT_VERSION', '4.9.8'); 17 17 define ('TABBY_CHECKOUT_DOMAIN', 'checkout.tabby.ai'); 18 18 define ('TABBY_CHECKOUT_API_DOMAIN', 'api.tabby.ai'); -
tabby-checkout/trunk/includes/class-wc-gateway-tabby-checkout-base.php
r3019225 r3034458 238 238 $code = WC()->customer->get_shipping_country() ?: WC()->customer->get_billing_country(); 239 239 } 240 if ($code == 'undefined' ) $code = wc_get_base_location()['country'];240 if ($code == 'undefined' || empty($code)) $code = wc_get_base_location()['country']; 241 241 return $code; 242 242 } -
tabby-checkout/trunk/includes/class-wc-tabby-promo.php
r3019225 r3034458 99 99 "phone" => self::getPhone(), 100 100 "source" => self::getSource(), 101 "sourcePlugin"=> 'woo', 101 102 "theme" => self::getTheme(), 102 103 "installmentsCount" => self::getInstallmentsCount(), -
tabby-checkout/trunk/js/tabby.js
r2987288 r3034458 1 1 jQuery(document).ready(function () { 2 jQuery('form .checkoutinput').on('change', updateTabbyCheckout);2 jQuery('form input').on('change', updateTabbyCheckout); 3 3 jQuery(document.body).on('updated_checkout', updateTabbyCheckout); 4 4 … … 27 27 this.actualSession = 0; 28 28 // update payment modules on phone/email change 29 jQuery( 'form .checkout' ).on(29 jQuery( 'form' ).on( 30 30 'change', 31 31 '#billing_email, #billing_phone', … … 40 40 jQuery( document.body ).bind( 'payment_method_selected', this.updatePlaceOrderButton ); 41 41 for (var i in this.methods) { 42 jQuery( 'form .checkout' ).bind( 'checkout_place_order_tabby_' + this.methods[i], this.updatePaymentIdField.bind(this));42 jQuery( 'form' ).bind( 'checkout_place_order_tabby_' + this.methods[i], this.updatePaymentIdField.bind(this)); 43 43 } 44 44 this.style = document.createElement('style'); … … 147 147 unblockForm() { 148 148 try { 149 jQuery('form .checkout').removeClass( 'processing' ).unblock();149 jQuery('form').removeClass( 'processing' ).unblock(); 150 150 } catch (error) { 151 151 if (tabbyRenderer.config.debug) console.log(error); -
tabby-checkout/trunk/readme.txt
r3019225 r3034458 4 4 Requires at least: 5.7 5 5 Tested up to: 6.4 6 Stable tag: 4.9. 56 Stable tag: 4.9.8 7 7 Requires PHP: 7.0 8 8 License: GPLv3 -
tabby-checkout/trunk/tabby-checkout.php
r3019225 r3034458 4 4 * Plugin URI: https://tabby.ai/ 5 5 * Description: Tabby Checkout 6 * Version: 4.9. 56 * Version: 4.9.8 7 7 * Author: Tabby 8 8 * Author URI: https://tabby.ai … … 14 14 defined( 'ABSPATH' ) || exit; 15 15 16 define ('MODULE_TABBY_CHECKOUT_VERSION', '4.9. 5');16 define ('MODULE_TABBY_CHECKOUT_VERSION', '4.9.8'); 17 17 define ('TABBY_CHECKOUT_DOMAIN', 'checkout.tabby.ai'); 18 18 define ('TABBY_CHECKOUT_API_DOMAIN', 'api.tabby.ai');
Note: See TracChangeset
for help on using the changeset viewer.