Skip to content

Commit f04e5d7

Browse files
Update transition-to-one-platform.md
1 parent 322b77f commit f04e5d7

File tree

1 file changed

+36
-6
lines changed

1 file changed

+36
-6
lines changed

docs/subscriptions/transition-to-one-platform.md

+36-6
Original file line numberDiff line numberDiff line change
@@ -439,8 +439,40 @@ Some field names, like `mobile_phone_number`, will undergo changes; for instance
439439
### 9.6 From the Nordic Wallet Launch Merchant's server must be TLS 1.2
440440

441441
Please make sure that your servers hosting the token endpoint for callbacks supports TLS 1.2. If not, we will not be able to send callbacks back to you.
442-
443-
## **FAQ**
442+
443+
## 10 Test
444+
The first version of the new test environment is ready for the Subscriptions facade. All features except Refund is available.
445+
446+
### 10.1. Test credentials
447+
**Test merchant**: Find a guide to create test merchant [here](https://developer.vippsmobilepay.com/docs/developer-resources/portal/#how-to-create-a-test-sales-unit). The test credentials consist of a client id, client secret and subscriptions key.
448+
449+
**Test user**: Find a guide to create test users [here](https://developer.vippsmobilepay.com/docs/test-environment/#test-users)
450+
451+
*For partners*: Please contact [email protected] to request a DK or FI test merchant and user.
452+
453+
Please note: If you want to reuse your Subscriptions test data you will need to recreate your test data. Please note that all test data, including payments, refunds, and so on, created on the old platform will not be migrated from the sandbox to the merchant test environment.
454+
455+
### 10.2. Authentication
456+
457+
You will have to integrate with the new and simplified Access Token API designed for the merchant test environment. The old MobilePay OpenId consent flow for the sandbox will cease to function. [Access token API guide](https://developer.vippsmobilepay.com/docs/APIs/access-token-api/).
458+
459+
### 10.3 Headers and endpoints
460+
You must include these headers for all requests to the API
461+
```
462+
-H 'Authorization: Bearer {JWT}' \
463+
-H 'Content-Type: application/json' \
464+
-H 'Ocp-Apim-Subscription-Key: {subscriptions key}' \
465+
-H 'Merchant-Serial-Number: {MSN}'
466+
```
467+
The endpoints have not changed. Please find them in the [API specification](https://developer.mobilepay.dk/api/subscriptions).
468+
469+
### 10.4 Initiate test
470+
1. Fetch test merchant and test use
471+
2. [GET access token](https://developer.vippsmobilepay.com/api/access-token/#tag/Authorization-Service/operation/fetchAuthorizationTokenUsingPost)
472+
3. [GET subscriptionsProviderId](https://developer.mobilepay.dk/api/subscriptions#tag/Subscriptions-Merchant/paths/~1api~1merchants~1me/get)
473+
4. [Create new agreement](https://developer.mobilepay.dk/api/subscriptions#tag/Subscriptions/paths/~1api~1providers~1%7Bproviderid%7D~1agreements/post)
474+
475+
## **FAQ**
444476

445477
### **1. Do I need to reintegrate now to the new solution, APIs?**
446478

@@ -571,11 +603,9 @@ Another method is [polling](https://developer.vippsmobilepay.com/docs/knowledge-
571603
Callbacks will work on the facade API.
572604

573605

574-
### **5. Will I be able to continue testing my integration in Sandbox?**
575-
576-
The new test environement is being prepared for the Subscriptions facade. We expect to release the first version of this during May. We will update this documentation when the test environment is ready.
606+
### **5. Will I be able to test the new Recurring API?**
607+
You will be able to test the new Recurring API through the merchant test environment on the new platform. If you want to test the Mobilepay Subscriptions facade instead please read here.
577608

578-
In the meantime you will be able to test the new Recurring API through the merchant test environment on the new platform.
579609
Please note:
580610
1. If you want to reuse your Subscriptions test data you will need to recreate your test data. Please note that all test data, including agreements, payments, refunds, and so on, created before will not be migrated from the Subscriptions sandbox to the Recurring merchant test environment.
581611
2. You will also have to integrate with the new and simplified Access Token API designed for the merchant test environment. The old MobilePay-issued access and refresh tokens for the sandbox will cease to function after the launch of Nordic Wallet. [Access token API guide](https://developer.vippsmobilepay.com/docs/APIs/access-token-api/)

0 commit comments

Comments
 (0)