Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • nibbe 9 posts 99 karma points
    Feb 01, 2021 @ 07:05
    nibbe
    0

    Vendr - Klarna Payment Provider

    I have installed Klarnas payment provider in Vendr but I do not manage to get any orders in to Vendr after a purchase is successful.

    It seems that when a purchase is successful, you are redirected to continueUrl (confirmation page) without creating a order in Vendr. Should not the Success have the callbackUrl with parameters to create an order?

    enter image description here

    Is there anyone who can explain to me how Klarna is talking to the ProcessCallback method through StatusUpdate url? I run this locally and maybe that's why callbackUrl can not be triggered from Klarna?

    Kind Regards

  • Matt Brailsford 4125 posts 22222 karma points MVP 9x c-trib
    Feb 01, 2021 @ 08:55
    Matt Brailsford
    100

    Hi Nibbe,

    All payment confirmations occur via webhooks to the StatusUpdate URL. The reason this won't be working locally is because on a local install, your StatusUpdate will be a local URL and so Klarna won't be able to make a call to it.

    In order to get this to work locally you'll need to use something like ngrok to create a publicly accessible URL to your instance.

    We are a bit behind on the documentation for the Klarna provider, but the docs for the Stripe provider might help, specifically the "How to test webhooks locally" section https://vendr.net/docs/payment-providers/stripe/1-1-0/stripe-checkout/how-to-guides/testing-stripe-webhooks-locally/

    Hope this helps

    Matt

  • nibbe 9 posts 99 karma points
    Feb 03, 2021 @ 20:44
    nibbe
    0

    Perfect! This was exactly what I needed. I installed ngrok and made a ngrok.bat file which I put in the root of the project. Now I can start it very easily.

    Many thanks Matt!

Please Sign in or register to post replies

Write your reply to:

Draft