diff --git a/.github/workflows/azure-production-new.yml b/.github/workflows/azure-production-new.yml new file mode 100644 index 0000000000..2610b41446 --- /dev/null +++ b/.github/workflows/azure-production-new.yml @@ -0,0 +1,29 @@ +name: Deploy to Azure Production CommonSvc +on: + push: + branches: ['master'] + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: build + run: | + docker compose run \ + -e GITHUB_BRANCH=develop \ + -e GITHUB_REPOSITORY_URL=https://github.com/SwedbankPay/developer.swedbankpay.com \ + portal build \ + --env=production \ + --site-url=https://developer.swedbankpay.com + + - name: login + uses: azure/login@v1.4.7 + with: + creds: '{"clientId":"${{ secrets.SUBSCRIPTION_CLIENT_ID_PROD }}","clientSecret":"${{ secrets.SUBSCRIPTION_CLIENT_SECRET_PROD }}","subscriptionId":"${{ secrets.SUBSCRIPTION_ID_PROD }}","tenantId":"${{ secrets.TENANT_ID }}"}' + + - name: deploy + uses: azure/CLI@v1.0.8 + with: + inlineScript: az storage blob upload-batch -s _site -d "\$web" --account-name proddevelopersa1 --overwrite diff --git a/.github/workflows/azure-stage-new.yml b/.github/workflows/azure-stage-new.yml new file mode 100644 index 0000000000..2e302ffb7b --- /dev/null +++ b/.github/workflows/azure-stage-new.yml @@ -0,0 +1,34 @@ +name: Deploy Pos Developer Branch to Azure Stage + +on: + push: + branches: ['develop-pos'] + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: jekyll build + run: | + docker compose run \ + -e GITHUB_BRANCH=develop \ + -e GITHUB_REPOSITORY_URL=https://github.com/SwedbankPay/developer.swedbankpay.com \ + portal build \ + --env=production \ + --site-url=https://developer-pos.stage.swedbankpay.com + + - name: azure login + uses: azure/login@v1.4.7 + with: + creds: '{"clientId":"${{ secrets.SUBSCRIPTION_CLIENT_ID_STAGE }}","clientSecret":"${{ secrets.SUBSCRIPTION_CLIENT_SECRET_STAGE }}","subscriptionId":"${{ secrets.SUBSCRIPTION_ID_STAGE }}","tenantId":"${{ secrets.TENANT_ID }}"}' + + - name: azure deploy + run: | + az storage blob upload-batch \ + --source "_site" \ + --destination "\$web" \ + --account-name stagedeveloperecomsa1 \ + --overwrite \ + --validate-content diff --git a/.github/workflows/azure-stage-pos.yml b/.github/workflows/azure-stage-pos.yml new file mode 100644 index 0000000000..fec37898eb --- /dev/null +++ b/.github/workflows/azure-stage-pos.yml @@ -0,0 +1,34 @@ +name: Deploy Ecom Developer Branch to Azure Stage + +on: + push: + branches: ['develop-pos'] + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: jekyll build + run: | + docker compose run \ + -e GITHUB_BRANCH=develop \ + -e GITHUB_REPOSITORY_URL=https://github.com/SwedbankPay/developer.swedbankpay.com \ + portal build \ + --env=production \ + --site-url=https://developer.stage.swedbankpay.com + + - name: azure login + uses: azure/login@v1.4.7 + with: + creds: '{"clientId":"${{ secrets.SUBSCRIPTION_CLIENT_ID_STAGE }}","clientSecret":"${{ secrets.SUBSCRIPTION_CLIENT_SECRET_STAGE }}","subscriptionId":"${{ secrets.SUBSCRIPTION_ID_STAGE }}","tenantId":"${{ secrets.TENANT_ID }}"}' + + - name: azure deploy + run: | + az storage blob upload-batch \ + --source "_site" \ + --destination "\$web" \ + --account-name stagedeveloperpossa1 \ + --overwrite \ + --validate-content diff --git a/assets/img/new-otp-challenge-form.png b/assets/img/new-otp-challenge-form.png new file mode 100644 index 0000000000..5306eb565c Binary files /dev/null and b/assets/img/new-otp-challenge-form.png differ diff --git a/checkout-v3/resources/test-data.md b/checkout-v3/resources/test-data.md index a1d9d7f3e0..255726a785 100644 --- a/checkout-v3/resources/test-data.md +++ b/checkout-v3/resources/test-data.md @@ -64,7 +64,7 @@ For merchants using 3-D Secure (3DS1), this is the ACS (Access Control Server) you will encounter in our test environments. Use the Visa or MasterCard listed under 3-D Secure Cards above when doing a card payment. After pressing the purchase button you will then be taken to a menu where you can select -Authentication status. +authentication status. ![3D-Secure Emulator without dropdown menu][3ds-emulator-no-dropdown]{:width="805px" :height="685px"} @@ -77,37 +77,12 @@ back to the payment like a normal 3-D Secure authentication. ### OTP (3DS2) -For mĀ©erchants using 3DS2, OTP (One-Time Password) is the ACS (Access Control +For merchants using 3DS2, OTP (One-Time Password) is the ACS (Access Control Server) you will encounter. Use the Visa or MasterCard listed under 3-D Secure -Cards above when doing a card payment. After pressing the purchase button you -will then be taken to a challenge form where you need to enter a code based -on the result you wish for. See the list of codes below the screenshot. After -pressing **Pay** you will be sent back to the payment like a normal 3-D Secure -authentication. +Cards above when doing a card payment. Click approved or cancel to select +authentication status. -![OTP challenge form][otp-challenge-form] - -### OTP Codes - -{:.table .table-striped} -| OTP Value | Transaction Status | Transaction Status Reason| ECI | Authentication Value| -| :--------- | :----------------- | :----------------------- | :-- | :------------------ | -| 1234 | Y | | 01 | JAmi21makAifmwqo2120cjq1AAA= | -| 1111 | N | 01 | 01 | | -| 2222 | R | 01 | 01 | | -| 3333 | U | 01 | 01 | | -| 4444 | A | 01 | 01 | Qm181okmdyqh6yQmYuq1890QAAA= | - -### OTP Transaction Status - -{:.table .table-striped} -| Transaction Status | Transaction Status Description | -| :----------------- | :----------------------------- | -| Y | Authentication / Account verification successful | -| N | Not authenticated / Account not verified; Transaction denied | -| R | Authentication / Account verification rejected. Issuer is rejecting authentication/verification and request that authorization not be attempted | -| U | Authentication / Account verification could not be performed; technical or other problem | -| A | Attempts processing performed; Not authenticated / verified, but a prood of attempt authentication / verification is provided | +![otp-challenge-form][otp-challenge-form] ### Visa @@ -266,4 +241,4 @@ the following values: [3ds-emulator-no-dropdown]: /assets/img/3DS-emulator-no-dropdown.png [3ds-emulator-with-dropdown]: /assets/img/3DS-emulator-with-dropdown.png -[otp-challenge-form]: /assets/img/otp-challenge-form.png +[otp-challenge-form]: /assets/img/new-otp-challenge-form.png