• Resolved Marco1970

    (@marco1970)


    Hi,

    just forwarding issue from site manager: he claims that after checkout, user is redirected to homepage, not to order received / thank you page.

    is that intentional? if yes, for both Express and standard checkout? how can we override that in case, to always redirect user to the order received page?

    TY

    m

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

    (@iverok)

    No, this is very much not the intented result. On a successful order, you should be redirected to the Thank You page for the order; on an unsuccessful order you should be told as much on a separate page shown when returning from the Vipps payment.

    It is possible to override these URLs but the Vipps plugin does not do this by default.

    It *may* be that something on the site cannot handle the “return from Vipps” waiting page and redirects to the home page instead. If so, this may be because this page isn’t actually a page at all, and some themes do have problems with that. If this is the case, you should create a new blank page, go to the Vipps payment settings and find the payment with text ala “Use a real page ID for the special Vipps pages – neccessary for some themes”. This should be a dropdown, you should select your new, blank page here.

    If your customer does not return to the “thank you” page, the order will still be confirmed when a callback from Vipps marks the order as such, but in this case, there are certain hooks that will not run, which you probably want to have ran.

    If this happens only on Express Checkout, there might be other issues involved; if so I would start by checking the logs. There are some new code here that will be updated shortly.

    Thread Starter Marco1970

    (@marco1970)

    Ah,

    damm… thanks, now you remind me of the 404 to Homepage redirect that was breaking Vipps checkout, and which I fixed by excluding from the redirect rules these paths:

    vipps-buy-product
    vipps-express-checkout

    which are the Vipps dynamic paths.

    so, do you know what is the Vipps thank you dynamic path I need to exclude? something like

    vipps-order-received

    ??

    TY

    m

    Thread Starter Marco1970

    (@marco1970)

    maybe I just exclude everything containing ‘vipps-‘…..

    Plugin Author Iver Odin Kvello

    (@iverok)

    All of them are (currently, but probably permanently)

    vipps-betaling
    vipps-express-checkout
    vipps-buy-product

    so you are only missing “vipps-betaling”.

    Thread Starter Marco1970

    (@marco1970)

    ok thanks!!

    really appreciate prompt help as usual

    m

    Plugin Author Iver Odin Kvello

    (@iverok)

    Happy to help. I do have an open issue on avoiding that 404; but that can be difficult depending on which filters are used and in which order. I assume this fixed this case so I’ll mark this resolved.

    Thread Starter Marco1970

    (@marco1970)

    super

    TY for help

    m

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘redirect to home after checkout’ is closed to new replies.