Login with Vipps and MobilePay offers super-easy registration and login from the leading smart-payment app in Norway with more than 4.2 million users. MobilePay is used by more than 75 % of Denmark's population (4.4 million users), and more than 36 % of Finland's population (2.6 million users). There is no easier login. No more usernames or passwords.
The users need only remember their phone number. They are also able to provide information that websites often require, like e-mail, phone numbers and addresses, from their Vipps MobilePay profile with no tedious data entry.
The plugin is easy to modify for your own applications.
This solution is great for all websites that wants to:
- Get more logged-in users
- All Vipps and MobilePay-users can create a profile on your website with just one click, and can be logged in directly on the next visit
- You can modify content, messaging and retrieve stored shopping carts for the user
- Your customers can see order histories and potentially register product returns
- More logged-in users gives you better overview and better conversion rates
If you are an existing Vipps MobilePay customer, log onto the Vipps MobilePay portal
https://portal.vippsmobilepay.com and retreive your API keys that you will need to install Login with Vipps MobilePay
If you are a new Vipps MobilePay customer, apply for an account
here - before downloading the plugin. Choose "Integration through your partner", or if you don't know your partner, choose "direct integration" and fill out the form. When your application is approved, you will receive the API keys that you will need to install the plugin.
- Install the plugin using WordPress' built-in installer. The plugin can also be installed manually by upload the plugin files to the /wp-content/plugins/ directory.
- Activate the plugin through the \'Plugins\' screen in WordPress.
- From the Vipps MobilePay portal, get your Client ID and Client Secret and add them to the Settings-page for this plugin (see screenshot 1)
- Note your callback URL from the plugins settings-page and add that to the Vipps MobilePay Portal (see screenshot 2)
- Modify the options as needed
2024.12.23 Version 1.3.5
Fix wrong variable name in login filter
2024.12.02 Version 1.3.5
The login-block is updated to the latest Block API.
2024.11.26 Version 1.3.4
This version fixes a vulnerability in the shortcodes where it would be possible for an editor to add stored javascript that would run when the button was pressed. Thanks to Peter Thaleikis for reporting.
2024.05.02 Version 1.3.3
Text domain fix for 6.7 compatibility
2024.08.27 Version 1.3.2
Fix bugs that stopped admins from disconnecting users' accounts
2024.05.08 Version 1.3.1
Add filter to allow for the 'remember user' extended cookie length
2024.05.02 Version 1.3.0
Support Mobilepay, improve settings
2024.03.21 Version 1.2.8
Send debugging headers to Vipps MobilePay
Updating blocks and css
2023.11.28 Version 1.2.7
Fix some 8.2 deprecations
2023.05.15 Version 1.2.6
Small bugfixes, removal on some restrictions to aid implementation of non-login applications
2023.03.27 Version 1.2.5
2023.02.08 Version 1.2.4
- Add filter for the error message when the user is invalid
2023.01.09 Version 1.2.3
- Fix deprection warning under php8.1
2022.10.27 Version 1.2.3
- Fix compatibility with 7.4
2022.10.26 Version 1.2.2
2022.06.13 Version 1.2.1
- Small fix for Gutenberg blocks
2022.04.25 Version 1.2.0
- Add support for using the phone number as Vipps MobilePay ID for users
- Removes old "verify your email account" code as it was not future-proof. Filters allow developers to reimplement this if neccessary
- Fix CSS to be more independent of certain themes
2022.03.18 Version 1.1.21
- Removed the api_version_2 scope
2022.01.28 Version 1.1.20
- Add filter
login_with_vipps_openid_scope ( $scope, $action, $sessiondata) to allow developers to ask for e.g. birthDate. The filter will always receive an array.
2021.12.20 Version 1.1.19
- Fix COOKIEPATH on multisite installs where it isn't set.
2021.12.13 Version 1.1.18
- Made 'login_with_vipps_woo_login_redirect' get access to the login session
- Created a javascript hook for people customizing login
2021.12.09 Version 1.1.17
- Add suppression of more than one call to the login process
2021.12.01 Version 1.1.16
- For some reason, a bug where the blogversion was outputed didn't kick in on our systems, but broke login for some users. This version restores normal operations.
2021.11.18 Version 1.1.15
- Versioning headers sent to Vipps MobilePay to aid debugging
2021.11.10 Version 1.1.14
- Slight improvement in programmability of the login function for those who want to extend the plugin
2021.10.04 Version 1.1.13
- Improved texts for how to use the plugin
2021.09.05 Version 1.1.12
- Improved support for WPML
- Support for running against Vipps MobilePay' test/dev server using filters
2021.06.16 Version 1.1.11
2021.06.09 Version 1.1.10
2021.05.31 Version 1.1.9
- Get-started banner for users that have not completed configuration
- Remove the old 'verify email account feature'
2021.04.27 Version 1.1.8
- Fix the email confirmations - this will be removed in a future version however
2021.04.26 Version 1.1.7
- Ensure the 'woocommerce_created_customer' hook is called correctly when registering on WooCommerce - this fixes the bug where user registration emails weren't sent.
2021.04.19 Version 1.1.6
- Tested for latest versions of WP and Woo
2021.03.23 Version 1.1.5
- Handle deprecation of the 'sid' field of the userinfo
2021.03.22 Version 1.1.4
2021.03.01 Version 1.1.3
2021.01.18 Version 1.1.2
- Supports requiring certain users, roles or everybody to use Vipps MobilePay to log in or to confirm their login
2020.12.30 Version 1.1.1
- Fix bug causing output when WP_DEBUG is on. Thanks to @horgster on wp.org for reporting.
2020.12.21 Version 1.1.0
- Now uses version 2 of the Vipps MobilePay Login Api and provides a Gutenberg block for a "Login with Vipps/MobilePay" button
2020.12.14 Version 1.0.13
- Versions tested on WP 5.6 and WC 4.8.0
2020.11.24 Version 1.0.12
- Version tested on WP 5.5.3 and WC 4.7.0
2020.10.19 Version 1.0.11
- If activated when Checkout with Vipps MobilePay for WooCommerce is installed, configure that plugin to create users when using Express Checkout
2020.09.28 Version 1.0.10
- Make new Woo accounts created by Vipps MobilePay login count as "Authorized" for All-in-one WP security; improved configuration options
2020.06.29 Version 1.0.9
- Fixed misspelled shortcode name, version update
2020.06.07 Version 1.0.8
- Made user confirmation optional and off by default, since this is now handled by Vipps MobilePay
2019.12.06 Version 1.0.7
2019.12.06 Version 1.0.6
- Added a filter 'login_with_vipps_update_address_info' which returns whether or not to update the address info for a user. Takes the current truth value, the customer object, and userinfo from Vipp MobilePays.
2019.12.06 Version 1.0.5
- Added a 30s leeway to the JWT verifier, and made it so logging will go to the system log for Woo installations as well
2019.12.06 Version 1.0.4
- Conflicts with certain plugins that check for 'code' and 'state' in the parse_request hook fixed by deleting these if we are handling Vipps MobilePay returns
2019.12.06 Version 1.0.3
- Change named of session key, to be compatible out-of-the-box with wpengine. Thanks to Sondre @ NattogDag for help with debugging
- Added convenience filters 'login_with_vipps_woo_error_redirect' and 'login_with_vipps_woo_login_redirect' to handle redirects on error and success for WooCommerce in particular
2019.12.06 Version 1.0.2
- Made account title filter more forgiving
2019.11.29 Version 1.0.1
1.0
v1.0.0 First release