Ability to get user/customer info from Vipps API

Created on 22 January 2024, 5 months ago
Updated 6 March 2024, 4 months ago

Problem/Motivation

When someone pays or does single donations using Vipps, we can get their info from Vipps API without asking them for filling a form.

Proposed resolution

These changes will allow this.

✨ Feature request
Status

Needs work

Version

4.0

Component

Code

Created by

πŸ‡³πŸ‡΄Norway foadyousefi

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @foadyousefi
  • Pipeline finished with Failed
    5 months ago
    #80649
  • Status changed to RTBC 4 months ago
  • πŸ‡³πŸ‡΄Norway TwiiK

    We've been running this on a client for about a week now, and it's been working great for us.

    We have an issue where about 4-5% of orders have no address information, which we don't know the cause of, but I'm leaning towards this just being a problem with off-site payment methods, rather than a problem with this particular implementation.

  • Status changed to Needs work 4 months ago
  • πŸ‡³πŸ‡΄Norway TwiiK

    Scratch what I said above. We're now seeing that this event isn't invoked for many of our of orders. Looking at the code I'm thinking that this is because these are orders where the user isn't returning to the website and thus onReturn() is not called, and therefore not this event either?

    I'm thinking that this event needs to be invoked from onNotify() as well? But I feel like I've overheard that you're not supposed to save the order in onNotify()? And we're currently using this event to fetch address information from Vipps and save to the billing profile.

    I need some insight from someone more knowledgeable than me on this :)

Production build 0.69.0 2024