Prerequisites
- A Vipps MobilePay business account
- A test or production sales unit
- Developer access to the sales unit
If you cannot see For developers in the business portal, ask an administrator to grant you Developer access.
Get Your Vipps MobilePay Credentials
Open the business portal
Log in to the Vipps MobilePay business portal.
Select the environment
Select Test for sandbox payments or Production for live payments.The selected environment must match the Mode configured in Spartan.
Copy the credentials
Copy the following values:
The primary and secondary subscription keys are interchangeable. Keep all credentials private and regenerate them immediately if they are exposed.
| Spartan field | Vipps MobilePay value |
|---|---|
| Client ID | client_id for the selected sales unit |
| Client Secret | client_secret for the selected sales unit |
| Subscription Key | Either the primary or secondary Ocp-Apim-Subscription-Key |
| Merchant Serial Number | The MSN displayed for the selected sales unit |
Configure Vipps in Spartan
Open the Vipps Gateway module
Log in to the Spartan admin area, then go to Modules → Payments → Vipps Gateway.
Enter the Vipps credentials
Paste the Client ID, Client Secret, Subscription Key, and Merchant Serial Number from the same Vipps MobilePay sales unit.
Configure payment behavior
- Mode: Select Sandbox for test keys or Production for live keys.
- Vipps Currency: Select the currency supported by your sales unit.
- Auto Capture: Enable this to capture authorized payments automatically.
-
Managed Webhook: Spartan registers and stores the Vipps webhook when the settings are saved.

Troubleshooting
- Confirm that all four credentials belong to the same sales unit.
- Confirm that the Spartan mode matches the environment from which the keys were copied.
- If authentication fails after regenerating credentials, update Spartan with the new values.
- If For developers is unavailable, verify your business portal permissions.

