Changeset 2185908
- Timestamp:
- 11/05/2019 02:33:15 AM (6 years ago)
- Location:
- subscribility
- Files:
-
- 3 edited
- 40 copied
-
tags/2.9.16 (copied) (copied from subscribility/trunk)
-
tags/2.9.16/composer.json (copied) (copied from subscribility/trunk/composer.json)
-
tags/2.9.16/composer.lock (copied) (copied from subscribility/trunk/composer.lock)
-
tags/2.9.16/includes/admin/assets/js/wp99234-intercom.js (copied) (copied from subscribility/trunk/includes/admin/assets/js/wp99234-intercom.js)
-
tags/2.9.16/includes/admin/controllers/class-wp99234-admin-settings-data-collection.php (copied) (copied from subscribility/trunk/includes/admin/controllers/class-wp99234-admin-settings-data-collection.php)
-
tags/2.9.16/includes/admin/controllers/class-wp99234-admin.php (copied) (copied from subscribility/trunk/includes/admin/controllers/class-wp99234-admin.php)
-
tags/2.9.16/includes/admin/views/html-admin-operations-activity.php (copied) (copied from subscribility/trunk/includes/admin/views/html-admin-operations-activity.php)
-
tags/2.9.16/includes/frontend/assets/css/wp99234_frontend.css (copied) (copied from subscribility/trunk/includes/frontend/assets/css/wp99234_frontend.css)
-
tags/2.9.16/includes/frontend/assets/js/jquery.ba-throttle-debounce.js (copied) (copied from subscribility/trunk/includes/frontend/assets/js/jquery.ba-throttle-debounce.js)
-
tags/2.9.16/includes/frontend/assets/js/wp99234_checkout.js (copied) (copied from subscribility/trunk/includes/frontend/assets/js/wp99234_checkout.js)
-
tags/2.9.16/includes/frontend/assets/js/wp99234_frontend.js (copied) (copied from subscribility/trunk/includes/frontend/assets/js/wp99234_frontend.js)
-
tags/2.9.16/includes/frontend/assets/websocket_script.php (copied) (copied from subscribility/trunk/includes/frontend/assets/websocket_script.php)
-
tags/2.9.16/includes/frontend/controllers/api/abstract-wp99234-api-server.php (copied) (copied from subscribility/trunk/includes/frontend/controllers/api/abstract-wp99234-api-server.php)
-
tags/2.9.16/includes/frontend/controllers/class-wp99234-api.php (copied) (copied from subscribility/trunk/includes/frontend/controllers/class-wp99234-api.php)
-
tags/2.9.16/includes/frontend/controllers/class-wp99234-clubs.php (copied) (copied from subscribility/trunk/includes/frontend/controllers/class-wp99234-clubs.php)
-
tags/2.9.16/includes/frontend/controllers/class-wp99234-forms.php (copied) (copied from subscribility/trunk/includes/frontend/controllers/class-wp99234-forms.php)
-
tags/2.9.16/includes/frontend/controllers/class-wp99234-orders.php (copied) (copied from subscribility/trunk/includes/frontend/controllers/class-wp99234-orders.php)
-
tags/2.9.16/includes/frontend/controllers/class-wp99234-products.php (copied) (copied from subscribility/trunk/includes/frontend/controllers/class-wp99234-products.php)
-
tags/2.9.16/includes/frontend/controllers/class-wp99234-registration-forms.php (copied) (copied from subscribility/trunk/includes/frontend/controllers/class-wp99234-registration-forms.php)
-
tags/2.9.16/includes/frontend/controllers/class-wp99234-template.php (copied) (copied from subscribility/trunk/includes/frontend/controllers/class-wp99234-template.php)
-
tags/2.9.16/includes/frontend/controllers/class-wp99234-users.php (copied) (copied from subscribility/trunk/includes/frontend/controllers/class-wp99234-users.php) (2 diffs)
-
tags/2.9.16/includes/frontend/controllers/class-wp99234-wc-filter.php (copied) (copied from subscribility/trunk/includes/frontend/controllers/class-wp99234-wc-filter.php)
-
tags/2.9.16/includes/frontend/controllers/class-wp99234-wc-payment-gateway.php (copied) (copied from subscribility/trunk/includes/frontend/controllers/class-wp99234-wc-payment-gateway.php)
-
tags/2.9.16/includes/frontend/controllers/class-wp99234-wc-shipping-method.php (copied) (copied from subscribility/trunk/includes/frontend/controllers/class-wp99234-wc-shipping-method.php)
-
tags/2.9.16/includes/frontend/views/newsletter_form.php (copied) (copied from subscribility/trunk/includes/frontend/views/newsletter_form.php)
-
tags/2.9.16/includes/frontend/views/rating.php (copied) (copied from subscribility/trunk/includes/frontend/views/rating.php)
-
tags/2.9.16/includes/frontend/views/registration_form.php (copied) (copied from subscribility/trunk/includes/frontend/views/registration_form.php)
-
tags/2.9.16/includes/frontend/views/woocommerce/single-product/tabs/troly/price.php (copied) (copied from subscribility/trunk/includes/frontend/views/woocommerce/single-product/tabs/troly/price.php)
-
tags/2.9.16/readme.txt (copied) (copied from subscribility/trunk/readme.txt) (2 diffs)
-
tags/2.9.16/uninstall.php (copied) (copied from subscribility/trunk/uninstall.php)
-
tags/2.9.16/vendor/autoload.php (copied) (copied from subscribility/trunk/vendor/autoload.php)
-
tags/2.9.16/vendor/composer/ClassLoader.php (copied) (copied from subscribility/trunk/vendor/composer/ClassLoader.php)
-
tags/2.9.16/vendor/composer/LICENSE (copied) (copied from subscribility/trunk/vendor/composer/LICENSE)
-
tags/2.9.16/vendor/composer/autoload_files.php (copied) (copied from subscribility/trunk/vendor/composer/autoload_files.php)
-
tags/2.9.16/vendor/composer/autoload_psr4.php (copied) (copied from subscribility/trunk/vendor/composer/autoload_psr4.php)
-
tags/2.9.16/vendor/composer/autoload_real.php (copied) (copied from subscribility/trunk/vendor/composer/autoload_real.php)
-
tags/2.9.16/vendor/composer/autoload_static.php (copied) (copied from subscribility/trunk/vendor/composer/autoload_static.php)
-
tags/2.9.16/vendor/composer/installed.json (copied) (copied from subscribility/trunk/vendor/composer/installed.json)
-
tags/2.9.16/vendor/inacho (copied) (copied from subscribility/trunk/vendor/inacho)
-
tags/2.9.16/wp99234.php (copied) (copied from subscribility/trunk/wp99234.php) (1 diff)
-
trunk/includes/frontend/controllers/class-wp99234-users.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/wp99234.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
subscribility/tags/2.9.16/includes/frontend/controllers/class-wp99234-users.php
r2185331 r2185908 28 28 add_action( 'user_register' , array( $this, 'export_user' ), 10, 1 ); 29 29 30 // Sync Customers data to Troly30 // Action to Sync Customers data to Troly from My Account > Billing Address or Shipping Address page 31 31 add_action( 'woocommerce_customer_save_address', array( $this, 'export_user' ), 10, 2 ); 32 33 /** 34 * Action to Sync Customer data to Troly from My Account > Account details page 35 * And Customer can be update their CC Details if given. 36 */ 37 add_action( 'woocommerce_save_account_details', array( $this, 'export_user' ), 10, 1 ); 32 38 33 39 // add_action( 'show_user_profile', array( $this, 'display_extra_profile_fields' ) ); … … 446 452 $user_data['customer']['notify_payments'] = '@|mail'; 447 453 } 454 } 455 456 /** 457 * If Customer want's to update Credit card from Customer details page then add to payload. 458 */ 459 if (!defined('WOOCOMMERCE_CHECKOUT') && !isset($_POST['wp99234_use_existing_card'])) { 460 $cc_exp = explode('/', str_replace(' ', '', wp_kses($_POST['cc_exp'], array()))); 461 462 if (count($cc_exp) > 1) { 463 $cc_number = wp_kses($_POST['cc_number'], array()); 464 $cc_number = str_replace(' ', '', $cc_number); 465 466 $user_data['customer']['cc_name'] = wp_kses($_POST['cc_name'], array()); 467 $user_data['customer']['cc_number'] = $cc_number; 468 $user_data['customer']['cc_exp_month'] = $cc_exp[0]; 469 $user_data['customer']['cc_exp_year'] = $cc_exp[1]; 470 $user_data['customer']['cc_cvv'] = wp_kses($_POST['cc_cvv'], array()); 471 } 448 472 } 449 473 -
subscribility/tags/2.9.16/readme.txt
r2185331 r2185908 4 4 Requires at least: 4.9.0 5 5 Tested up to: 5.2.3 6 Stable Tag: 2.9.1 56 Stable Tag: 2.9.16 7 7 PHP version: 7.0 and above 8 8 License: GPLv2 or later … … 70 70 71 71 ## Changelog 72 ###Version 2.9.16 73 - Fixed Customer account details to save against Troly in My Account page 74 72 75 ###Version 2.9.15 73 76 - Improve synchronization for Wordpress password reset token in Mailchimp -
subscribility/tags/2.9.16/wp99234.php
r2185331 r2185908 4 4 * Plugin URI: https://wordpress.org/plugins/subscribility/ 5 5 * Description: Manage and fulfil your sales of wine, beers and other crafted beverages, through clubs and other direct-to-consumer sales channels. 6 * Version: 2.9.1 56 * Version: 2.9.16 7 7 * Author: Troly 8 8 * Author URI: https://troly.io -
subscribility/trunk/includes/frontend/controllers/class-wp99234-users.php
r2185331 r2185908 28 28 add_action( 'user_register' , array( $this, 'export_user' ), 10, 1 ); 29 29 30 // Sync Customers data to Troly30 // Action to Sync Customers data to Troly from My Account > Billing Address or Shipping Address page 31 31 add_action( 'woocommerce_customer_save_address', array( $this, 'export_user' ), 10, 2 ); 32 33 /** 34 * Action to Sync Customer data to Troly from My Account > Account details page 35 * And Customer can be update their CC Details if given. 36 */ 37 add_action( 'woocommerce_save_account_details', array( $this, 'export_user' ), 10, 1 ); 32 38 33 39 // add_action( 'show_user_profile', array( $this, 'display_extra_profile_fields' ) ); … … 446 452 $user_data['customer']['notify_payments'] = '@|mail'; 447 453 } 454 } 455 456 /** 457 * If Customer want's to update Credit card from Customer details page then add to payload. 458 */ 459 if (!defined('WOOCOMMERCE_CHECKOUT') && !isset($_POST['wp99234_use_existing_card'])) { 460 $cc_exp = explode('/', str_replace(' ', '', wp_kses($_POST['cc_exp'], array()))); 461 462 if (count($cc_exp) > 1) { 463 $cc_number = wp_kses($_POST['cc_number'], array()); 464 $cc_number = str_replace(' ', '', $cc_number); 465 466 $user_data['customer']['cc_name'] = wp_kses($_POST['cc_name'], array()); 467 $user_data['customer']['cc_number'] = $cc_number; 468 $user_data['customer']['cc_exp_month'] = $cc_exp[0]; 469 $user_data['customer']['cc_exp_year'] = $cc_exp[1]; 470 $user_data['customer']['cc_cvv'] = wp_kses($_POST['cc_cvv'], array()); 471 } 448 472 } 449 473 -
subscribility/trunk/readme.txt
r2185331 r2185908 4 4 Requires at least: 4.9.0 5 5 Tested up to: 5.2.3 6 Stable Tag: 2.9.1 56 Stable Tag: 2.9.16 7 7 PHP version: 7.0 and above 8 8 License: GPLv2 or later … … 70 70 71 71 ## Changelog 72 ###Version 2.9.16 73 - Fixed Customer account details to save against Troly in My Account page 74 72 75 ###Version 2.9.15 73 76 - Improve synchronization for Wordpress password reset token in Mailchimp -
subscribility/trunk/wp99234.php
r2185331 r2185908 4 4 * Plugin URI: https://wordpress.org/plugins/subscribility/ 5 5 * Description: Manage and fulfil your sales of wine, beers and other crafted beverages, through clubs and other direct-to-consumer sales channels. 6 * Version: 2.9.1 56 * Version: 2.9.16 7 7 * Author: Troly 8 8 * Author URI: https://troly.io
Note: See TracChangeset
for help on using the changeset viewer.