Title: Test Subscription Error
Last modified: December 20, 2023

---

# Test Subscription Error

 *  Resolved [jaerentruckmeet](https://wordpress.org/support/users/jaerentruckmeet/)
 * (@jaerentruckmeet)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/test-subscription-error/)
 * Hi
   I am trying to set up a test site for Vipps and have the mail “You can now
   start testing Vipps”, but I do not get the Vipps-Subscription-Key. I only a Ocp-
   Apim-Subscription-Key which fails with 401 Unauthorized Access denied due to 
   invalid subscription key.
 * Am I doing something wrong here?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Iver Odin Kvello](https://wordpress.org/support/users/iverok/)
 * (@iverok)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/test-subscription-error/#post-17292080)
 * The Ocp-Apim-Subscription-Key is indeed the Subscription key.
 * Yes, unfortunately either the MSN, Client ID, Client Secret or Subscription Key
   is wrong.
 * The message you are getting does single out the subscription key, but you should
   check if the sub key is for the live or for the test environment. If it is for
   the test environment, please go to the Vipps settings, choose “Advanced”, turn
   on “Developer mode” and save. Then return to the settings page and choose the“
   Developer mode” tab which will appear.
 * Here you will need to turn on test mode and add the MSN, Client Id and so forth
   for the test mode account.
 * Your “live” keys should be stored in the Main tab.
 * Test mode MSNs/sub keys and so forth do not work in the live environment and 
   vice versa.
 *  Thread Starter [jaerentruckmeet](https://wordpress.org/support/users/jaerentruckmeet/)
 * (@jaerentruckmeet)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/test-subscription-error/#post-17292113)
 * Thank you. Worked first time.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Test Subscription Error’ is closed to new replies.

 * ![](https://ps.w.org/woo-vipps/assets/icon-256x256.png?rev=3025665)
 * [Pay with Vipps and MobilePay for WooCommerce](https://wordpress.org/plugins/woo-vipps/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-vipps/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-vipps/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-vipps/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-vipps/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-vipps/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [jaerentruckmeet](https://wordpress.org/support/users/jaerentruckmeet/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/test-subscription-error/#post-17292113)
 * Status: resolved