Skip to main content

Technical newsletter for developers 2021-02

This newsletter was sent in February 2021.

Please update your pluginsโ€‹

Several of our plugins have been updated to use the newest versions of our APIs. Please make sure you have the newest version of the plugins you use, and keep them up to date. See the plugin overview.

API Dashboard ๐Ÿšฆโ€‹

The API Dashboard is now available on portal.vipps.no under the "Utvikler" ("Developer") tab. It lets you see if there are problems with your use of Vipps APIs. Here's an example:

API Dashboard example

This is just the start. Please let us know what you think and suggest improvements.

The deprecated eCom API /status endpoint will be removedโ€‹

The /status endpoint has been deprecated for a long time, and we will remove it on March 1.

The /details endpoint has been available for a long time, and gives more data and details: The full payment history of the orderId.

Vipps Login API version 2โ€‹

To have a unified way of providing user information across Vipps services we are standardizing the data formats, both within Vipps and with the OIDC standard. To do this we have to introduce a new version of our Vipps login API. The previous version (Version 1) of the Vipps login API will have end of life on February 28th 2021.

Our plugins are updated to support the latest version. Make sure that you use the latest version of the plugin. See Plugins for details.

Vipps Login improvements ๐ŸŽ‰โ€‹

The merchant can now choose whether the user should be automatically returned to the browser after completing the authentication Vipps. We have also added a specific flow for integrations with native apps.

Use Userinfoโ€‹

Vipps Hurtigkasse is for shipping products to the customer. Some use it for other purposes, but if no products are shipped, you should not ask the customer for address and shipping method.

You should avoid asking the customer in a pub for the shipping method for the drinks, etc.

Instead: Use Userinfo to ask for the user's details, such as: phone number, name, email address, postal address, birthdate, national identity number and bank accounts. The user must of course consent to sharing the information.

See Userinfo for eCom and Userinfo for Recurring.

Recurring: Info about failuresโ€‹

You can now see why a charge fails, not just that it fails: Insufficient funds, invalid card, etc. See: Charge failure reasons.

Remindersโ€‹

We have mentioned some things before, and take this opportunity to remind you:

Vipps HTTP Headers โ„น๏ธโ€‹

We recommend using the following optional HTTP headers for all requests to the Vipps eCom API and the Vipps Recurring API.

HeaderDescriptionExample value
Merchant-Serial-NumberThe merchant serial number123456
Vipps-System-NameThe name of the ecommerce solutionWooCommerce
Vipps-System-VersionThe version number of the ecommerce solution5.4
Vipps-System-Plugin-NameThe name of the ecommerce pluginwoocommerce-payment
Vipps-System-Plugin-VersionThe version number of the ecommerce plugin1.4.1

These headers provide useful metadata about the merchant's system, which help Vipps improve our services, and also help in investigating problems.

Suggest improvements, get a pair of Vipps socks ๐Ÿงฆโ€‹

Vipps socks orange

We appreciate all suggestions for improvement to our development platform, including complaints! To encourage this, we will send two (2) Vipps socks to everyone that creates a (somewhat meaningful) issue or PR for our API documentation before February 28, 2021:

  1. Create an issue or PR in the appropriate GitHub repo.
  2. Wait for our comment (it may not be immediate).
  3. If we think it's "OK", we will ask you to email us with your address.

While we are keen to fix even the tiniest typos, we hope to get as many "real" improvements as possible and not drown in microscopic issues, so: Be smart. Thanks!

If we get more improvements than the number of socks we have, we will do a scientifically randomized drawing.

Do you want a Slack channel? ๐Ÿ“ขโ€‹

We can set up a dedicated, temporary Slack channel to help fast-track your Vipps development. Email developer@vippsmobilepay.com with a list of email addresses to invite, with the same people on CC. We'll fix the rest.

This does require that you have already ordered a Vipps solution, and that you already have API access.

This does, unfortunately, not apply to customers using one of our plugins, or customers using Vipps through a partner.

Do you want a technical workshop? ๐Ÿ› โ€‹

We can set up a dedicated video workshop to help fast-track your Vipps integration. Email developer@vippsmobilepay.com with a list of email addresses to invite, with the same people on CC. We fix the rest.

This does require that you have already ordered a Vipps solution, and that you already have API access.

This does, unfortunately, not apply to customers using one of our plugins, or customers using Vipps through a partner.

API lifecycleโ€‹

Our API lifecycle policy is available on GitHub.

Status pages for test and production environmentsโ€‹

How to get help quicklyโ€‹

Please see this page.

Newsletter archiveโ€‹

Please see: newsletters

Questions or comments?โ€‹

We're always happy to help with code or other questions you might have! Please create GitHub issues or pull requests for the relevant API, or contact us.