Changeset 2767968
- Timestamp:
- 08/08/2022 04:59:02 PM (4 years ago)
- Location:
- apppago/trunk
- Files:
-
- 4 edited
-
apppago.php (modified) (2 diffs)
-
assets/css/apppago.css (modified) (1 diff)
-
includes/class-wc-gateway-apppago.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
apppago/trunk/apppago.php
r2766441 r2767968 5 5 * Plugin URI: 6 6 * Description: Official APPpago plugin. 7 * Version: 1.0. 17 * Version: 1.0.2 8 8 * Author: SmallPay Srl 9 9 * Author URI: https://www.smallpay.it … … 22 22 } 23 23 24 define('APWC_PLUGIN_VERSION', '1.0. 1');24 define('APWC_PLUGIN_VERSION', '1.0.2'); 25 25 26 26 class WC_APPpago -
apppago/trunk/assets/css/apppago.css
r2766441 r2767968 3 3 * Plugin URI: 4 4 * Description: Official APPpago plugin. 5 * Version: 1.0. 15 * Version: 1.0.2 6 6 * Author: SmallPay Srl 7 7 * Author URI: SmallPay Srl -
apppago/trunk/includes/class-wc-gateway-apppago.php
r2766441 r2767968 21 21 $this->method_description = __('Allow the customer to pay by installments.', 'apppago'); 22 22 23 $this->module_version = '1.0. 1';23 $this->module_version = '1.0.2'; 24 24 25 25 $this->has_fields = true; … … 548 548 $installmentsInfo = $this->oConfig->get_installments_number(WC()->cart); 549 549 550 $amount = WC()->cart->get_cart_contents_total();550 $amount = preg_replace('#[^\d' . wc_get_price_decimal_separator() . ']#', '', strip_tags(WC()->cart->get_total())); 551 551 $amount = absint(round(wc_format_decimal(((float) $amount * 100), wc_get_price_decimals()))); 552 552 553 $serviceID = $this->oConfig->ap_service; 553 554 $uniqueID = $this->oConfig->ap_secret; -
apppago/trunk/readme.txt
r2766441 r2767968 8 8 WC Requires at least: 3.0.0 9 9 WC Tested up to: 6.5.1 10 Stable tag: 1.0. 110 Stable tag: 1.0.2 11 11 License: GNU General Public License v3.0 12 12 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 66 66 = 1.0.1 = 67 67 * Updated environment variables for developmente and other generic fix 68 69 = 1.0.2 = 70 * Amount calculation update
Note: See TracChangeset
for help on using the changeset viewer.