SwedbankPay / swedbank-pay-woocommerce-checkout

Swedbank Pay Checkout for WooCommerce (Beta)
https://wordpress.org/plugins/swedbank-pay-checkout/
Apache License 2.0
5 stars 1 forks source link

No longer possible to progress from checkout to payment #162

Open rmilesson opened 1 year ago

rmilesson commented 1 year ago

WP: 6.2 WC: 7.6.0 Plugin version: 7.1.3

We can no longer progress from checkout page to payment. Our users are getting stuck after clicking "Slutför betalning".

image

The final request to seems to be successful:

image

aait commented 1 year ago

Hello. Please contact us info@aait.se . We need access to your site

rmilesson commented 1 year ago

Hi @aait, I did send you an email with further information last week but I've heard nothing since. Did you receive it alright?

MattiasKallio commented 1 year ago

Same problem I believe... It sort of works if I check the " Use Swedbank Pay Checkout instead of WooCommerce Checkout" in the payments settings in Woocommerce. But if that's checked the price is not calculated correctly instead, the final sum i off.

I think the price that is sent to Swedbank has some own calculation in the plugin, that's not using Woocommerce hooks or functions so if there are any other calculations done, like discounts etc., they're lost some how. The price in the image below is with a membership discount, without the discount the sum would be correct.

So right now, neither checked or unchecked works, but the checked one did until recently, rolling back to an earlier version of the plugin did not help.

image

aait commented 1 year ago

@rmilesson hi we have not observed any recent changes that would cause his problem and we cannot find any such issue in our test environment unfortunately. I noticed that you have the mod_page speed extension, might be the reason? Also note, if you switch from seamless to redirect there are no issues

aait commented 1 year ago

@MattiasKallio for possible calculation problems please open a separate issue. Thanks.

rmilesson commented 1 year ago

Edit: @aait Yes, switching to redirect indeed seems like it has fixed the issue! Thanks!