Plugin Directory

Changeset 2907372


Ignore:
Timestamp:
05/03/2023 09:09:31 AM (3 years ago)
Author:
taiflywire
Message:

Updating trunk with GitLab release 1.0.8

Location:
flywire-payment-gateway/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • flywire-payment-gateway/trunk/CHANGELOG

    r2778493 r2907372  
    22All notable changes to this project will be documented in this file.
    33 
     4
     5## [1.0.8] - 2023-05-03
     6
     7### Changed
     8- fixed bug in floating point math when expressing amount in currency subunits
    49
    510## [1.0.7] - 2022-08-30
  • flywire-payment-gateway/trunk/flywire-payment-gateway.php

    r2778493 r2907372  
    66 * Author: Flywire
    77 * Author URI: http://www.flywire.com/
    8  * Version: 1.0.7
     8 * Version: 1.0.8
    99 * Text Domain: flywire-payment-gateway
    1010 * Domain Path: /i18n/languages/
  • flywire-payment-gateway/trunk/includes/flywire-payment-gateway-request.php

    r2778493 r2907372  
    186186        $settings['locale']       = substr( $_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2 );
    187187        $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);
    189189        $settings['return_url']   = $this->return_url;
    190190        $settings['callback_id']  = strval($this->order->get_id());
  • flywire-payment-gateway/trunk/readme.txt

    r2778493 r2907372  
    33Tags: woocommerce, credit card, bank transfer, pay, payment gateway
    44Requires at least: 5.7
    5 Tested up to: 5.8.3
    6 Stable tag: 1.0.7
    7 Requires PHP: 7.0
     5Tested up to: 6.2
     6Stable tag: 1.0.8
     7Requires PHP: 8.0
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    19192. 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.
    20203. 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.
     214. Make sure that "Enable Flywire Payments" is ticked on the plugin settings page.
    2222
    2323== Screenshots ==
     
    2727
    2828== Changelog ==
     29
     30= 1.0.8 =
     31* Fixed bug in floating point math when expressing amount in currency subunits
    2932
    3033= 1.0.7 =
Note: See TracChangeset for help on using the changeset viewer.