diff --git a/.github/workflows/test-group.yml b/.github/workflows/test-group.yml index 0830e3a7..96bf6c44 100644 --- a/.github/workflows/test-group.yml +++ b/.github/workflows/test-group.yml @@ -21,6 +21,7 @@ jobs: APPLE_PAY_MERCHANT_ID_CERT: ${{ secrets.APPLE_PAY_MERCHANT_ID_CERT }} APPLE_PAY_MERCHANT_ID_CERT_COMBINED: ${{ secrets.APPLE_PAY_MERCHANT_ID_CERT_COMBINED }} APPLE_PAY_MERCHANT_ID_KEY: ${{ secrets.APPLE_PAY_MERCHANT_ID_KEY }} + UNZER_PAPI_VERBOSE_TEST_LOGGING: ${{ vars.UNZER_PAPI_VERBOSE_TEST_LOGGING }} steps: - uses: actions/checkout@v3 - name: Setup PHP diff --git a/src/Constants/ExemptionType.php b/src/Constants/ExemptionType.php index 12bc4a53..4cedc98a 100644 --- a/src/Constants/ExemptionType.php +++ b/src/Constants/ExemptionType.php @@ -7,6 +7,8 @@ */ class ExemptionType { - public const LOW_VALUE_PAYMENT = 'lvp'; - public const TRANSACTION_RISK_ANALYSIS = 'tra'; + public const LOW_VALUE_PAYMENT = 'lvp'; + public const TRANSACTION_RISK_ANALYSIS = 'tra'; + public const SECURE_CORPORATE_PAYMENT = 'scp'; + public const NO_EXEMPTION = 'no_exemption'; } diff --git a/test/integration/PaymentTypes/CardTest.php b/test/integration/PaymentTypes/CardTest.php index 28ca6a5f..1bd4eb75 100755 --- a/test/integration/PaymentTypes/CardTest.php +++ b/test/integration/PaymentTypes/CardTest.php @@ -260,6 +260,7 @@ public function cardWith3dsFlagShouldSetItAlsoInTransactions(): void * Verfify card transaction can be used with exemptionType * * @test + * @group CC-1144 * * @dataProvider cardTransactionAcceptsExemptionTypeDP */ @@ -729,7 +730,9 @@ public function cardTransactionAcceptsExemptionTypeDP() { return [ 'lvp' => [ExemptionType::LOW_VALUE_PAYMENT], - 'tra' => [ExemptionType::TRANSACTION_RISK_ANALYSIS] + 'tra' => [ExemptionType::TRANSACTION_RISK_ANALYSIS], + 'scp' => [ExemptionType::SECURE_CORPORATE_PAYMENT], + 'no_exemption' => [ExemptionType::NO_EXEMPTION] ]; } }