diff --git a/Readme.txt b/Readme.txt
index bfebc4d0..aa947179 100755
--- a/Readme.txt
+++ b/Readme.txt
@@ -2,9 +2,9 @@
Contributors: reepaydenmark,aaitse
Tags: billwerk+, visa, mastercard, dankort, mobilepay
Requires at least: 4.0
-Tested up to: 6.6.1
+Tested up to: 6.7
Requires PHP: 7.4
-Stable tag: 1.7.10
+Stable tag: 1.7.11
License: GPL
License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html
@@ -18,6 +18,12 @@ The Billwerk+ Pay plugin extends WooCommerce allowing you to take payments on yo
See installation guide right here: https://docu.billwerk.plus/help/en/apps/woocommerce/setup-woocommerce-plugin.html
== Changelog ==
+v 1.7.11
+- [Fix] - VAT added as compound rate got computed twice.
+- [Fix] - Shows no Payment logos when none are selected in settings.
+- [Improvement] - Payment method logo height defaults to 20px.
+- [Improvement] - Support WordPress version 6.7
+
v 1.7.10
- [Fix] - Discount coupons for regular products couldn't be used if a Billwerk subscription product was also in the cart.
- [Fix] - The order confirmation page now shows a list of split orders (for regular and subscription products) with correct total amounts.
diff --git a/composer.json b/composer.json
index d6ba9060..c933b735 100644
--- a/composer.json
+++ b/composer.json
@@ -3,7 +3,7 @@
"description": "Get a plug-n-play payment solution for WooCommerce, that is easy to use, highly secure and is built to maximize the potential of your e-commerce.",
"type": "wordpress-plugin",
"license": "GPL",
- "version": "1.7.10",
+ "version": "1.7.11",
"autoload": {
"psr-4": {
"Reepay\\Checkout\\": "includes/",
diff --git a/includes/Admin/Ajax.php b/includes/Admin/Ajax.php
index 3c42e0ac..d4a492f9 100644
--- a/includes/Admin/Ajax.php
+++ b/includes/Admin/Ajax.php
@@ -70,7 +70,7 @@ public function capture() {
$this->verify_nonce();
if ( empty( $_REQUEST['order_id'] ) ) {
- wp_send_json_error( __( 'Order id not specified' ) );
+ wp_send_json_error( __( 'Order id not specified', 'reepay-checkout-gateway' ) );
}
$order_id = (int) wc_clean( $_REQUEST['order_id'] );
@@ -93,7 +93,7 @@ public function cancel() {
$this->verify_nonce();
if ( empty( $_REQUEST['order_id'] ) ) {
- wp_send_json_error( __( 'Order id not specified' ) );
+ wp_send_json_error( __( 'Order id not specified', 'reepay-checkout-gateway' ) );
}
$order_id = (int) wc_clean( $_REQUEST['order_id'] );
@@ -129,7 +129,7 @@ public function refund() {
$this->verify_nonce();
if ( empty( $_REQUEST['order_id'] ) ) {
- wp_send_json_error( __( 'Order id not specified' ) );
+ wp_send_json_error( __( 'Order id not specified', 'reepay-checkout-gateway' ) );
}
$order_id = (int) wc_clean( $_REQUEST['order_id'] );
@@ -216,7 +216,7 @@ public function set_complete_settle_transient() {
$this->verify_nonce( 'reepay' );
if ( empty( $_POST['order_id'] ) || empty( $_POST['settle_order'] ) ) {
- wp_send_json_error( __( 'Order id or settle order not specified' ) );
+ wp_send_json_error( __( 'Order id or settle order not specified', 'reepay-checkout-gateway' ) );
}
$order_id = wc_clean( $_POST['order_id'] );
diff --git a/includes/Api/Controller/DebugController.php b/includes/Api/Controller/DebugController.php
index 7b63c87a..90a3fd66 100644
--- a/includes/Api/Controller/DebugController.php
+++ b/includes/Api/Controller/DebugController.php
@@ -74,7 +74,7 @@ public function run_debug( WP_REST_Request $request ) {
*/
public function get_items_permissions_check( $request ) {
if ( ! current_user_can( 'manage_options' ) ) {
- return new WP_Error( 'rest_forbidden', esc_html__( 'You cannot view the post resource.' ), array( 'status' => rest_authorization_required_code() ) );
+ return new WP_Error( 'rest_forbidden', esc_html__( 'You cannot view the post resource.', 'reepay-checkout-gateway' ), array( 'status' => rest_authorization_required_code() ) );
}
return true;
diff --git a/includes/Api/Controller/MetaFieldsController.php b/includes/Api/Controller/MetaFieldsController.php
index b048e4fc..17a14a10 100644
--- a/includes/Api/Controller/MetaFieldsController.php
+++ b/includes/Api/Controller/MetaFieldsController.php
@@ -395,7 +395,7 @@ public function get_order_meta_fields( WP_REST_Request $request ) {
$order = wc_get_order( $id );
if ( ! $order ) {
- return new WP_Error( 'not_found', esc_html__( 'Not found order.' ) );
+ return new WP_Error( 'not_found', esc_html__( 'Not found order.', 'reepay-checkout-gateway' ) );
}
$meta_data = $order->get_meta_data();
@@ -427,7 +427,7 @@ public function get_user_meta_fields( WP_REST_Request $request ) {
$user = get_user_by( 'id', $id );
if ( ! $user ) {
- return new WP_Error( 'not_found', esc_html__( 'Not found user.' ) );
+ return new WP_Error( 'not_found', esc_html__( 'Not found user.', 'reepay-checkout-gateway' ) );
}
$meta_data = get_user_meta( $id );
@@ -472,7 +472,7 @@ public function add_user_meta_field( WP_REST_Request $request ) {
$user = get_user_by( 'id', $id );
if ( ! $user ) {
- return new WP_Error( 'not_found', esc_html__( 'Not found user.' ) );
+ return new WP_Error( 'not_found', esc_html__( 'Not found user.', 'reepay-checkout-gateway' ) );
}
$decoded_value = json_decode( $value, true );
@@ -560,7 +560,7 @@ public function edit_user_meta_field( WP_REST_Request $request ) {
*/
public function get_items_permissions_check( $request ) {
if ( ! current_user_can( 'edit_posts' ) && ! current_user_can( 'delete_posts' ) ) {
- return new WP_Error( 'rest_forbidden', esc_html__( 'You cannot view the post resource.' ), array( 'status' => rest_authorization_required_code() ) );
+ return new WP_Error( 'rest_forbidden', esc_html__( 'You cannot view the post resource.', 'reepay-checkout-gateway' ), array( 'status' => rest_authorization_required_code() ) );
}
return true;
diff --git a/includes/Gateways/Mobilepay.php b/includes/Gateways/Mobilepay.php
index b38eb15e..976dc1df 100644
--- a/includes/Gateways/Mobilepay.php
+++ b/includes/Gateways/Mobilepay.php
@@ -86,7 +86,7 @@ public function warning_message() {
?>
-
+
|
|