File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
test/integration/PaymentTypes Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 2121 APPLE_PAY_MERCHANT_ID_CERT : ${{ secrets.APPLE_PAY_MERCHANT_ID_CERT }}
2222 APPLE_PAY_MERCHANT_ID_CERT_COMBINED : ${{ secrets.APPLE_PAY_MERCHANT_ID_CERT_COMBINED }}
2323 APPLE_PAY_MERCHANT_ID_KEY : ${{ secrets.APPLE_PAY_MERCHANT_ID_KEY }}
24+ UNZER_PAPI_VERBOSE_TEST_LOGGING : ${{ vars.UNZER_PAPI_VERBOSE_TEST_LOGGING }}
2425 steps :
2526 - uses : actions/checkout@v3
2627 - name : Setup PHP
Original file line number Diff line number Diff line change 77 */
88class ExemptionType
99{
10- public const LOW_VALUE_PAYMENT = 'lvp ' ;
11- public const TRANSACTION_RISK_ANALYSIS = 'tra ' ;
10+ public const LOW_VALUE_PAYMENT = 'lvp ' ;
11+ public const TRANSACTION_RISK_ANALYSIS = 'tra ' ;
12+ public const SECURE_CORPORATE_PAYMENT = 'scp ' ;
13+ public const NO_EXEMPTION = 'no_exemption ' ;
1214}
Original file line number Diff line number Diff line change @@ -260,6 +260,7 @@ public function cardWith3dsFlagShouldSetItAlsoInTransactions(): void
260260 * Verfify card transaction can be used with exemptionType
261261 *
262262 * @test
263+ * @group CC-1144
263264 *
264265 * @dataProvider cardTransactionAcceptsExemptionTypeDP
265266 */
@@ -729,7 +730,9 @@ public function cardTransactionAcceptsExemptionTypeDP()
729730 {
730731 return [
731732 'lvp ' => [ExemptionType::LOW_VALUE_PAYMENT ],
732- 'tra ' => [ExemptionType::TRANSACTION_RISK_ANALYSIS ]
733+ 'tra ' => [ExemptionType::TRANSACTION_RISK_ANALYSIS ],
734+ 'scp ' => [ExemptionType::SECURE_CORPORATE_PAYMENT ],
735+ 'no_exemption ' => [ExemptionType::NO_EXEMPTION ]
733736 ];
734737 }
735738}
You can’t perform that action at this time.
0 commit comments