Plugin Directory

Changeset 3787628


Ignore:
Timestamp:
11/06/2026 09:57:26 AM (2 hours ago)
Author:
pensopay
Message:

Update to version 2.1.7 from GitHub

Location:
pensopay-payments-v2
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • pensopay-payments-v2/tags/2.1.7/README.txt

    r3668618 r3787628  
    33Tags: gateway, woocommerce, pensopay, payment, psp
    44Requires at least: 6.3
    5 Tested up to: 6.8.2
     5Tested up to: 7.1.4
    66Requires PHP: 7.4
    7 Stable tag: 2.1.6
     7Stable tag: 2.1.7
    88License: GPLv2
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    … …  
    4040
    4141== Changelog ==
     42= 2.1.7 =
     43* Fix: refund, capture comments showed wrong currency and defaulted to DKK
     44* Fix: Updated dependencies
     45
    4246= 2.1.6 =
    4347* Feature: Added Vipps MobilePay payment method
  • pensopay-payments-v2/tags/2.1.7/includes/admin/panel.php

    r3489957 r3787628  
    104104                                                ? Pensopay_Payments_V2_Helpers_Price::price_custom_to_multiplied( sanitize_text_field( wp_unslash( $_REQUEST['pensopay_amount'] ) ), $order->get_currency() )
    105105                                                : $remaining;
    106                     $realAmount = $amount / 100;
     106                                        $realAmount = Pensopay_Payments_V2_Helpers_Price::divide_price( $amount, $order->get_currency() );
    107107
    108108                    $transaction->{$action}( $amount );
    109                                         $order->add_order_note( 'pensopay: ' . sprintf( '%s: %s', $action, wc_price( $realAmount ) ) );
     109                                        $order->add_order_note( 'pensopay: ' . sprintf( '%s: %s', $action, wc_price( $realAmount, [ 'currency' => $order->get_currency() ] ) ) );
    110110                                } else {
    111111                                        $message = sprintf(
  • pensopay-payments-v2/tags/2.1.7/pensopay.php

    r3668618 r3787628  
    55 * Plugin URI: http://wordpress.org/plugins/pensopay/
    66 * Description: Integrates your pensopay v2 payment gateway into your WooCommerce installation.
    7  * Version: 2.1.6
     7 * Version: 2.1.7
    88 * Author: pensopay
    99 * Text Domain: pensopay-payments-v2
    … …  
    1313 * License: GPLv2
    1414 * Requires at least: 6.3
    15  * Tested up to: 6.8.2
     15 * Tested up to: 7.1.4
    1616 * Requires PHP: 7.4
    1717 * WC requires at least: 8.2
    18  * WC tested up to: 9.4.1
     18 * WC tested up to: 11.2.1
    1919 * Requires Plugins: woocommerce
    2020 */
    … …  
    2424defined( 'ABSPATH' ) || exit;
    2525
    26 define( 'PENSOPAY_PAYMENTS_V2_VERSION', '2.1.6' );
     26define( 'PENSOPAY_PAYMENTS_V2_VERSION', '2.1.7' );
    2727define( 'PENSOPAY_PAYMENTS_V2_WC_MIN_VER', '8.2' );
    2828define( 'PENSOPAY_PAYMENTS_V2_PLUGIN_FILE', __FILE__ );
  • pensopay-payments-v2/trunk/README.txt

    r3668618 r3787628  
    33Tags: gateway, woocommerce, pensopay, payment, psp
    44Requires at least: 6.3
    5 Tested up to: 6.8.2
     5Tested up to: 7.1.4
    66Requires PHP: 7.4
    7 Stable tag: 2.1.6
     7Stable tag: 2.1.7
    88License: GPLv2
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    … …  
    4040
    4141== Changelog ==
     42= 2.1.7 =
     43* Fix: refund, capture comments showed wrong currency and defaulted to DKK
     44* Fix: Updated dependencies
     45
    4246= 2.1.6 =
    4347* Feature: Added Vipps MobilePay payment method
  • pensopay-payments-v2/trunk/includes/admin/panel.php

    r3489957 r3787628  
    104104                                                ? Pensopay_Payments_V2_Helpers_Price::price_custom_to_multiplied( sanitize_text_field( wp_unslash( $_REQUEST['pensopay_amount'] ) ), $order->get_currency() )
    105105                                                : $remaining;
    106                     $realAmount = $amount / 100;
     106                                        $realAmount = Pensopay_Payments_V2_Helpers_Price::divide_price( $amount, $order->get_currency() );
    107107
    108108                    $transaction->{$action}( $amount );
    109                                         $order->add_order_note( 'pensopay: ' . sprintf( '%s: %s', $action, wc_price( $realAmount ) ) );
     109                                        $order->add_order_note( 'pensopay: ' . sprintf( '%s: %s', $action, wc_price( $realAmount, [ 'currency' => $order->get_currency() ] ) ) );
    110110                                } else {
    111111                                        $message = sprintf(
  • pensopay-payments-v2/trunk/pensopay.php

    r3668618 r3787628  
    55 * Plugin URI: http://wordpress.org/plugins/pensopay/
    66 * Description: Integrates your pensopay v2 payment gateway into your WooCommerce installation.
    7  * Version: 2.1.6
     7 * Version: 2.1.7
    88 * Author: pensopay
    99 * Text Domain: pensopay-payments-v2
    … …  
    1313 * License: GPLv2
    1414 * Requires at least: 6.3
    15  * Tested up to: 6.8.2
     15 * Tested up to: 7.1.4
    1616 * Requires PHP: 7.4
    1717 * WC requires at least: 8.2
    18  * WC tested up to: 9.4.1
     18 * WC tested up to: 11.2.1
    1919 * Requires Plugins: woocommerce
    2020 */
    … …  
    2424defined( 'ABSPATH' ) || exit;
    2525
    26 define( 'PENSOPAY_PAYMENTS_V2_VERSION', '2.1.6' );
     26define( 'PENSOPAY_PAYMENTS_V2_VERSION', '2.1.7' );
    2727define( 'PENSOPAY_PAYMENTS_V2_WC_MIN_VER', '8.2' );
    2828define( 'PENSOPAY_PAYMENTS_V2_PLUGIN_FILE', __FILE__ );
Note: See TracChangeset for help on using the changeset viewer.