Changeset 3787628
- Timestamp:
- 11/06/2026 09:57:26 AM (2 hours ago)
- Location:
- pensopay-payments-v2
- Files:
-
- 6 edited
- 1 copied
-
tags/2.1.7 (copied) (copied from pensopay-payments-v2/trunk )
-
tags/2.1.7/README.txt (modified) (2 diffs)
-
tags/2.1.7/includes/admin/panel.php (modified) (1 diff)
-
tags/2.1.7/pensopay.php (modified) (3 diffs)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/includes/admin/panel.php (modified) (1 diff)
-
trunk/pensopay.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pensopay-payments-v2/tags/2.1.7/README.txt
r3668618 r3787628 3 3 Tags: gateway, woocommerce, pensopay, payment, psp 4 4 Requires at least: 6.3 5 Tested up to: 6.8.25 Tested up to: 7.1.4 6 6 Requires PHP: 7.4 7 Stable tag: 2.1. 67 Stable tag: 2.1.7 8 8 License: GPLv2 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 40 40 41 41 == Changelog == 42 = 2.1.7 = 43 * Fix: refund, capture comments showed wrong currency and defaulted to DKK 44 * Fix: Updated dependencies 45 42 46 = 2.1.6 = 43 47 * Feature: Added Vipps MobilePay payment method -
pensopay-payments-v2/tags/2.1.7/includes/admin/panel.php
r3489957 r3787628 104 104 ? Pensopay_Payments_V2_Helpers_Price::price_custom_to_multiplied( sanitize_text_field( wp_unslash( $_REQUEST['pensopay_amount'] ) ), $order->get_currency() ) 105 105 : $remaining; 106 $realAmount = $amount / 100;106 $realAmount = Pensopay_Payments_V2_Helpers_Price::divide_price( $amount, $order->get_currency() ); 107 107 108 108 $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() ] ) ) ); 110 110 } else { 111 111 $message = sprintf( -
pensopay-payments-v2/tags/2.1.7/pensopay.php
r3668618 r3787628 5 5 * Plugin URI: http://wordpress.org/plugins/pensopay/ 6 6 * Description: Integrates your pensopay v2 payment gateway into your WooCommerce installation. 7 * Version: 2.1. 67 * Version: 2.1.7 8 8 * Author: pensopay 9 9 * Text Domain: pensopay-payments-v2 … … 13 13 * License: GPLv2 14 14 * Requires at least: 6.3 15 * Tested up to: 6.8.215 * Tested up to: 7.1.4 16 16 * Requires PHP: 7.4 17 17 * WC requires at least: 8.2 18 * WC tested up to: 9.4.118 * WC tested up to: 11.2.1 19 19 * Requires Plugins: woocommerce 20 20 */ … … 24 24 defined( 'ABSPATH' ) || exit; 25 25 26 define( 'PENSOPAY_PAYMENTS_V2_VERSION', '2.1. 6' );26 define( 'PENSOPAY_PAYMENTS_V2_VERSION', '2.1.7' ); 27 27 define( 'PENSOPAY_PAYMENTS_V2_WC_MIN_VER', '8.2' ); 28 28 define( 'PENSOPAY_PAYMENTS_V2_PLUGIN_FILE', __FILE__ ); -
pensopay-payments-v2/trunk/README.txt
r3668618 r3787628 3 3 Tags: gateway, woocommerce, pensopay, payment, psp 4 4 Requires at least: 6.3 5 Tested up to: 6.8.25 Tested up to: 7.1.4 6 6 Requires PHP: 7.4 7 Stable tag: 2.1. 67 Stable tag: 2.1.7 8 8 License: GPLv2 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 40 40 41 41 == Changelog == 42 = 2.1.7 = 43 * Fix: refund, capture comments showed wrong currency and defaulted to DKK 44 * Fix: Updated dependencies 45 42 46 = 2.1.6 = 43 47 * Feature: Added Vipps MobilePay payment method -
pensopay-payments-v2/trunk/includes/admin/panel.php
r3489957 r3787628 104 104 ? Pensopay_Payments_V2_Helpers_Price::price_custom_to_multiplied( sanitize_text_field( wp_unslash( $_REQUEST['pensopay_amount'] ) ), $order->get_currency() ) 105 105 : $remaining; 106 $realAmount = $amount / 100;106 $realAmount = Pensopay_Payments_V2_Helpers_Price::divide_price( $amount, $order->get_currency() ); 107 107 108 108 $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() ] ) ) ); 110 110 } else { 111 111 $message = sprintf( -
pensopay-payments-v2/trunk/pensopay.php
r3668618 r3787628 5 5 * Plugin URI: http://wordpress.org/plugins/pensopay/ 6 6 * Description: Integrates your pensopay v2 payment gateway into your WooCommerce installation. 7 * Version: 2.1. 67 * Version: 2.1.7 8 8 * Author: pensopay 9 9 * Text Domain: pensopay-payments-v2 … … 13 13 * License: GPLv2 14 14 * Requires at least: 6.3 15 * Tested up to: 6.8.215 * Tested up to: 7.1.4 16 16 * Requires PHP: 7.4 17 17 * WC requires at least: 8.2 18 * WC tested up to: 9.4.118 * WC tested up to: 11.2.1 19 19 * Requires Plugins: woocommerce 20 20 */ … … 24 24 defined( 'ABSPATH' ) || exit; 25 25 26 define( 'PENSOPAY_PAYMENTS_V2_VERSION', '2.1. 6' );26 define( 'PENSOPAY_PAYMENTS_V2_VERSION', '2.1.7' ); 27 27 define( 'PENSOPAY_PAYMENTS_V2_WC_MIN_VER', '8.2' ); 28 28 define( 'PENSOPAY_PAYMENTS_V2_PLUGIN_FILE', __FILE__ );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)