Changeset 2907372
- Timestamp:
- 05/03/2023 09:09:31 AM (3 years ago)
- Location:
- flywire-payment-gateway/trunk
- Files:
-
- 4 edited
-
CHANGELOG (modified) (1 diff)
-
flywire-payment-gateway.php (modified) (1 diff)
-
includes/flywire-payment-gateway-request.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
flywire-payment-gateway/trunk/CHANGELOG
r2778493 r2907372 2 2 All notable changes to this project will be documented in this file. 3 3 4 5 ## [1.0.8] - 2023-05-03 6 7 ### Changed 8 - fixed bug in floating point math when expressing amount in currency subunits 4 9 5 10 ## [1.0.7] - 2022-08-30 -
flywire-payment-gateway/trunk/flywire-payment-gateway.php
r2778493 r2907372 6 6 * Author: Flywire 7 7 * Author URI: http://www.flywire.com/ 8 * Version: 1.0. 78 * Version: 1.0.8 9 9 * Text Domain: flywire-payment-gateway 10 10 * Domain Path: /i18n/languages/ -
flywire-payment-gateway/trunk/includes/flywire-payment-gateway-request.php
r2778493 r2907372 186 186 $settings['locale'] = substr( $_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2 ); 187 187 $settings['recipient'] = $this->portal; 188 $settings['amount'] = intval( $this->order->get_total() * $this->number_of_subunits_in_currency);188 $settings['amount'] = (int) bcmul((string) $this->order->get_total(), (string) $this->number_of_subunits_in_currency); 189 189 $settings['return_url'] = $this->return_url; 190 190 $settings['callback_id'] = strval($this->order->get_id()); -
flywire-payment-gateway/trunk/readme.txt
r2778493 r2907372 3 3 Tags: woocommerce, credit card, bank transfer, pay, payment gateway 4 4 Requires at least: 5.7 5 Tested up to: 5.8.36 Stable tag: 1.0. 77 Requires PHP: 7.05 Tested up to: 6.2 6 Stable tag: 1.0.8 7 Requires PHP: 8.0 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 19 19 2. Install the plugin through the Plugin Directory, upload the zip through the Plugins page, or upload to your site's plugins folder and use the Plugins page to activate. 20 20 3. Click the Configure link on the Plugins page to access the plugin settings and set the Field Mapping (provided by your Relationship Manager) and your portal codes. 21 4. Make sure that "Enable Flywire Payments" is ticked on the plugin settings page.21 4. Make sure that "Enable Flywire Payments" is ticked on the plugin settings page. 22 22 23 23 == Screenshots == … … 27 27 28 28 == Changelog == 29 30 = 1.0.8 = 31 * Fixed bug in floating point math when expressing amount in currency subunits 29 32 30 33 = 1.0.7 =
Note: See TracChangeset
for help on using the changeset viewer.