Problems with OffCanvas Cart + using multiple payment gateways.

3 years 10 months ago
Posts: 67
More
Topic Author
Problems with OffCanvas Cart + using multiple payment gateways. #2938
Dear All

Joomla 3.4.4
VM 3.0.10
VMuikit 3.0.6
Offcanvas cart 1.0.1

Payments systems tested : PayPal Standard, Klarna Checkout (your plugin) all in sandbox

We have the following problem:
Start with Paypal Standard as default.
Add a couple of products to cart.
open cart
Login
checkout with Paypal Standard.
==> everything works well

Now

Start with Paypal Standard as default.
Add a couple of products to cart.
open cart
Login
Change payment gateway to Klarna.
This causes PROBLEM 1: Klarna reloads the whole page (not only the offcanvas cart as it should)
Now switch back to PayPal Standard and checkout.
This causes PROBLEM 2: instead of redirecting to PayPal via the intermediate page, the One Page Checkout is loaded (and you have to checkout again).

The problem happens independently of platform used (e.g. desktop vs mobile)

Please advise

Giacomo Bruzzo

Please Log in or Create an account to join the conversation.

3 years 10 months ago
Posts: 954
More
Problems with OffCanvas Cart + using multiple payment gateways. #2939
Klarna Checkout is a little beast when it comes to payment gateways. What we have noticed is if you set this as default payment option you will have things working good. Please try that and see what you think of the functionality of that.

Also please download Offcanvas and VMuikit and install onepage and offcanvas again just to be sure you are using our latest changes. There have been at least one minor silent change in onepage.

Please Log in or Create an account to join the conversation.

3 years 10 months ago
Posts: 67
More
Topic Author
Problems with OffCanvas Cart + using multiple payment gateways. #2940
OK, I have reinstalled everything just to be sure

Just fyi, the version of VMUikit you have for download does not include the onepage.js modification you had made

if(jQuery('#cart_canvas_data').length > 0)
{
jQuery("#loadingbutton").click();
Virtuemart.canvasupdate("yes");
}

modification of

if(jQuery('#cart_canvas_data').length > 0)
{
ajaxcanvasdata();
}


Having said this, the problem is still there - it occurs when changing the payment gateway from something else TO Klarna checkout. Whenever you switch, a refresh in the whole page is forced.

Also, forgot to point out a further issue, which may be useful in tracing the root cause of this.

I have English UK as a checkout language selected (e.g. also all forms are english). When I switch back from Klarna to say PayPal Standard, the forms appearing are in swedish (not english anymore).

More generally: Putting Klarna Checkout as a default only masks the issue, and in our case, we would not put Klarna Checkout as a default in any case - our customers trust PayPal first and foremost and would be disconcerted by Klarna, at least initially. So for the foreseeable future, Klarna, if we decide to adopt it, will remain an option, an extra.

hope this helps, let me know if you want me to test something

Giacomo Bruzzo

Please Log in or Create an account to join the conversation.

Time to create page: 0.129 seconds
Powered by Kunena Forum

Latest News from JoomlaPro.com

VMuikit 5 is finally out!

Our next version of our popular VMuikit package is out. This time we have some quite nice new features.

Electroneum Joomla/VirtueMart plugins

JoomlaPro.com are not only web & Joomla enthusiast, we cannot stay away from checking other tech trends as well. The last few years its been hard to miss the crypto/blockchain ...

New plugin: Secure Joomla Login

We have released a new plugin that adds a extra PIN code and a reCaptcha v2 check on Joomlas login. Security is very important on all fronts of a website. One often missed one is ...

We accept PayPal, 2Checkout & Electroneum payments:

We accept PayPal payments    We accept 2checkout payments  electroneum payment


For news and updates please like :