diff --git a/WC_Gateway_Vipps.class.php b/WC_Gateway_Vipps.class.php index a81bddc7..64b3f890 100644 --- a/WC_Gateway_Vipps.class.php +++ b/WC_Gateway_Vipps.class.php @@ -218,9 +218,9 @@ public function shipping_details_callback_url($token='') { // IOK 2018-05-18 public function consent_removal_callback_url () { if ( !get_option('permalink_structure')) { - return set_url_scheme(home_url(),'https') . "/?vipps-consent-removal&callback="; + return untrailingslashit(set_url_scheme(home_url(),'https')) . "/?vipps-consent-removal&callback="; } else { - return set_url_scheme(home_url(),'https') . "/vipps-consent-removal/?callback="; + return untrailingslashit(set_url_scheme(home_url(),'https')) . "/vipps-consent-removal/?callback="; } } diff --git a/readme.txt b/readme.txt index 3f5d964d..a3c53270 100644 --- a/readme.txt +++ b/readme.txt @@ -199,7 +199,7 @@ From version 1.1.13 you can also modify the javascript using the new WP hooks li == Changelog == = 2020.1x.xx version 1.6.1 = - Bugs fixed + Bugs fixed: WPML support reenabled thanks to a bug report by @kodeks = 2020.10.19 version 1.6.0 = Integrate with Login with Vipps and provide again the "create users when using express checkout" checkbox. If you choose too, this will then create (and log in) users when using express checkout.