• Vipps Express Checkout adds “No shipping required” shipping method to some orders that need shipping. Have not been able to reproduce the issue, but some orders are received that way. Not sure if this is relevant, but seems to apply to users that have chosen to create an account before making the order.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Iver Odin Kvello

    (@iverok)

    It may be relevant. The way the shipping calculation works is by storing the session in the order and restoring this on the callback from Vipps (where there are no cookies; but anyway these would have referred to the same session.).

    If this session is somehow invalidated between the order being created and the arrival of the shipping callback, the old session will be gone and with it the cart used to calculate shipping. The “no shipping required” option will then occur because the alternative would be to throw an error. Creating accounts/logging in may invalidate a session.

    I’ve seen this happen very occasionally but not been able to replicate it. There is no step in the express checkout flow where the user is asked to create an account after the express checkout has started, but before the shipping callback arrives. Do you have an inkling as to how this is done in your case?

    I think it should be possible to create a failsafe for this situation but I have not been able to replicate it on demand, so testing will be a problem.

    Thread Starter Kim

    (@kimikaze)

    I have been able to reproduce this issue.

    1 tab open on a product, created an account in another tab, then pressed the “Buy now with Vipps” button on the product in the first tab.

    Plugin Author Iver Odin Kvello

    (@iverok)

    Ok, thank you; that means this process will invalidate the session containing the shipping alternatives. I’ll look into a fix for this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Vipps Express Checkout shipping method error’ is closed to new replies.