Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

fix(jenkins): update postman collection tests (#10486)

Vasanthb6be04ca5b43
diff --git a/postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario11-Pass Invalid CVV for save card flow and verify failed payment Copy/Save card payments - Confirm/event.test.js b/postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario11-Pass Invalid CVV for save card flow and verify failed payment Copy/Save card payments - Confirm/event.test.js
index 680f985502..999f2e57ac 100644
--- a/postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario11-Pass Invalid CVV for save card flow and verify failed payment Copy/Save card payments - Confirm/event.test.js
+++ b/postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario11-Pass Invalid CVV for save card flow and verify failed payment Copy/Save card payments - Confirm/event.test.js
@@ -97,7 +97,7 @@ if (jsonData?.error_message) {
pm.test(
"[POST]::/payments/:id/confirm - Content check if value for 'error_message' matches 'Order creation failure due to problematic input. & There is a mismatch between the Credit Card American Express and Security Code. '",
function () {
- pm.expect(jsonData.error_message).to.eql("Order creation failure due to problematic input. & There is a mismatch between the Credit Card American Express and Security Code. ");
+ pm.expect(jsonData.error_message).to.eql("VALIDATION_GENERAL_FAILURE");
},
);
}
\ No newline at end of file
diff --git a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario13-Verify PML for mandate/Payments - Create-copy/request.json b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario13-Verify PML for mandate/Payments - Create-copy/request.json
index 0aba8b9170..570557096b 100644
--- a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario13-Verify PML for mandate/Payments - Create-copy/request.json
+++ b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario13-Verify PML for mandate/Payments - Create-copy/request.json
@@ -36,7 +36,7 @@
"card": {
"card_number": "4242424242424242",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario13-Verify PML for mandate/Payments - Create/request.json b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario13-Verify PML for mandate/Payments - Create/request.json
index 480173f427..e48b55abfb 100644
--- a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario13-Verify PML for mandate/Payments - Create/request.json
+++ b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario13-Verify PML for mandate/Payments - Create/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "4242424242424242",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario14-Revoke mandates/Payments - Create/request.json b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario14-Revoke mandates/Payments - Create/request.json
index f0be44bec9..24215324aa 100644
--- a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario14-Revoke mandates/Payments - Create/request.json
+++ b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario14-Revoke mandates/Payments - Create/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "4242424242424242",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario16-Create 3ds mandate/Payments - Create/request.json b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario16-Create 3ds mandate/Payments - Create/request.json
index 261af34097..a06fb855bf 100644
--- a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario16-Create 3ds mandate/Payments - Create/request.json
+++ b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario16-Create 3ds mandate/Payments - Create/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "4000000000001000",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario17-Create a mandate without customer acceptance/Payments - Confirm/request.json b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario17-Create a mandate without customer acceptance/Payments - Confirm/request.json
index 6e5824386e..921f15f52e 100644
--- a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario17-Create a mandate without customer acceptance/Payments - Confirm/request.json
+++ b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario17-Create a mandate without customer acceptance/Payments - Confirm/request.json
@@ -44,7 +44,7 @@
"card": {
"card_number": "4242424242424242",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "Joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Confirm/request.json b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Confirm/request.json
index d1d4064139..146c12c9ef 100644
--- a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Confirm/request.json
+++ b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Confirm/request.json
@@ -44,7 +44,7 @@
"card": {
"card_number": "4242424242424242",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "Joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario2a-Create payment with confirm false card holder name null/Payments - Confirm/request.json b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario2a-Create payment with confirm false card holder name null/Payments - Confirm/request.json
index 604ac54144..d005e1da9c 100644
--- a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario2a-Create payment with confirm false card holder name null/Payments - Confirm/request.json
+++ b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario2a-Create payment with confirm false card holder name null/Payments - Confirm/request.json
@@ -43,7 +43,7 @@
"card": {
"card_number": "4242424242424242",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": null,
"card_cvc": "123"
}
diff --git a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario2b-Create payment with confirm false card holder name empty/Payments - Confirm/request.json b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario2b-Create payment with confirm false card holder name empty/Payments - Confirm/request.json
index 371ef616fe..808342824e 100644
--- a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario2b-Create payment with confirm false card holder name empty/Payments - Confirm/request.json
+++ b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario2b-Create payment with confirm false card holder name empty/Payments - Confirm/request.json
@@ -43,7 +43,7 @@
"card": {
"card_number": "4242424242424242",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Confirm/request.json b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Confirm/request.json
index 8ac0a623f7..0e088317b6 100644
--- a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Confirm/request.json
+++ b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Confirm/request.json
@@ -43,7 +43,7 @@
"card": {
"card_number": "4242424242424242",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Create/request.json b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Create/request.json
index 0f5db3f39d..3e02cd75f5 100644
--- a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Create/request.json
+++ b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Create/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "4242424242424242",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario4a-Create payment with partial capture/Payments - Create/request.json b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario4a-Create payment with partial capture/Payments - Create/request.json
index 0f5db3f39d..3e02cd75f5 100644
--- a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario4a-Create payment with partial capture/Payments - Create/request.json
+++ b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario4a-Create payment with partial capture/Payments - Create/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "4242424242424242",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Create/request.json b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Create/request.json
index 0f5db3f39d..3e02cd75f5 100644
--- a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Create/request.json
+++ b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Create/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "4242424242424242",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario6-Refund full payment/Payments - Create/request.json b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario6-Refund full payment/Payments - Create/request.json
index 3426ad7a08..d5e63e4a9e 100644
--- a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario6-Refund full payment/Payments - Create/request.json
+++ b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario6-Refund full payment/Payments - Create/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "4242424242424242",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario6a-Partial refund/Payments - Create/request.json b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario6a-Partial refund/Payments - Create/request.json
index 3426ad7a08..d5e63e4a9e 100644
--- a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario6a-Partial refund/Payments - Create/request.json
+++ b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario6a-Partial refund/Payments - Create/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "4242424242424242",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario7-Create a mandate and recurring payment/Payments - Confirm/request.json b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario7-Create a mandate and recurring payment/Payments - Confirm/request.json
index c564a62c80..038c7d2191 100644
--- a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario7-Create a mandate and recurring payment/Payments - Confirm/request.json
+++ b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario7-Create a mandate and recurring payment/Payments - Confirm/request.json
@@ -44,7 +44,7 @@
"card": {
"card_number": "4242424242424242",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "Joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario7a-Manual capture for recurring payments/Payments - Create/request.json b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario7a-Manual capture for recurring payments/Payments - Create/request.json
index f0be44bec9..24215324aa 100644
--- a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario7a-Manual capture for recurring payments/Payments - Create/request.json
+++ b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario7a-Manual capture for recurring payments/Payments - Create/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "4242424242424242",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario8-Refund recurring payment/Payments - Create/request.json b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario8-Refund recurring payment/Payments - Create/request.json
index f0be44bec9..24215324aa 100644
--- a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario8-Refund recurring payment/Payments - Create/request.json
+++ b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario8-Refund recurring payment/Payments - Create/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "4242424242424242",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/cybersource/Flow Testcases/QuickStart/Payments - Create/request.json b/postman/collection-dir/cybersource/Flow Testcases/QuickStart/Payments - Create/request.json
index 4f35cfae96..b4aa92339b 100644
--- a/postman/collection-dir/cybersource/Flow Testcases/QuickStart/Payments - Create/request.json
+++ b/postman/collection-dir/cybersource/Flow Testcases/QuickStart/Payments - Create/request.json
@@ -38,7 +38,7 @@
"card": {
"card_number": "4242424242424242",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid card number)/request.json b/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid card number)/request.json
index 183f96f5a5..303d6f5b65 100644
--- a/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid card number)/request.json
+++ b/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid card number)/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "123456",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(invalid CVV)/request.json b/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(invalid CVV)/request.json
index a68012553e..7a5ced823c 100644
--- a/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(invalid CVV)/request.json
+++ b/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(invalid CVV)/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "123456",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "12345"
}
diff --git a/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario10-Refund exceeds amount captured/Payments - Create/request.json b/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario10-Refund exceeds amount captured/Payments - Create/request.json
index 17124cfef6..61031d4312 100644
--- a/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario10-Refund exceeds amount captured/Payments - Create/request.json
+++ b/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario10-Refund exceeds amount captured/Payments - Create/request.json
@@ -36,7 +36,7 @@
"card": {
"card_number": "4242424242424242",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario11-Revoke for revoked mandates/Payments - Create/request.json b/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario11-Revoke for revoked mandates/Payments - Create/request.json
index f0be44bec9..24215324aa 100644
--- a/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario11-Revoke for revoked mandates/Payments - Create/request.json
+++ b/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario11-Revoke for revoked mandates/Payments - Create/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "4242424242424242",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario12-Recurring payment for revoked mandates/Payments - Create/request.json b/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario12-Recurring payment for revoked mandates/Payments - Create/request.json
index 5815567de2..7763a4254f 100644
--- a/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario12-Recurring payment for revoked mandates/Payments - Create/request.json
+++ b/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario12-Recurring payment for revoked mandates/Payments - Create/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "4242424242424242",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario14-Setup_future_usage is on_session for mandates payments -confirm false/Payments - Confirm/request.json b/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario14-Setup_future_usage is on_session for mandates payments -confirm false/Payments - Confirm/request.json
index c9da92e0ca..3e93977818 100644
--- a/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario14-Setup_future_usage is on_session for mandates payments -confirm false/Payments - Confirm/request.json
+++ b/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario14-Setup_future_usage is on_session for mandates payments -confirm false/Payments - Confirm/request.json
@@ -44,7 +44,7 @@
"card": {
"card_number": "4242424242424242",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "Joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario15-Setup_future_usage is null for normal payments/Payments - Confirm/request.json b/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario15-Setup_future_usage is null for normal payments/Payments - Confirm/request.json
index 09824d8431..eb3bb72f88 100644
--- a/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario15-Setup_future_usage is null for normal payments/Payments - Confirm/request.json
+++ b/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario15-Setup_future_usage is null for normal payments/Payments - Confirm/request.json
@@ -44,7 +44,7 @@
"card": {
"card_number": "4242424242424242",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "Joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/Payments - Create/request.json b/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/Payments - Create/request.json
index 0f5db3f39d..3e02cd75f5 100644
--- a/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/Payments - Create/request.json
+++ b/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/Payments - Create/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "4242424242424242",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario4-Capture the succeeded payment/Payments - Create/request.json b/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario4-Capture the succeeded payment/Payments - Create/request.json
index 3426ad7a08..d5e63e4a9e 100644
--- a/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario4-Capture the succeeded payment/Payments - Create/request.json
+++ b/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario4-Capture the succeeded payment/Payments - Create/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "4242424242424242",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure payment/Payments - Create/request.json b/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure payment/Payments - Create/request.json
index 3426ad7a08..d5e63e4a9e 100644
--- a/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure payment/Payments - Create/request.json
+++ b/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure payment/Payments - Create/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "4242424242424242",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario6-Refund exceeds amount/Payments - Create/request.json b/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario6-Refund exceeds amount/Payments - Create/request.json
index 3426ad7a08..d5e63e4a9e 100644
--- a/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario6-Refund exceeds amount/Payments - Create/request.json
+++ b/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario6-Refund exceeds amount/Payments - Create/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "4242424242424242",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario7-Refund for unsuccessful payment/Payments - Create/request.json b/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario7-Refund for unsuccessful payment/Payments - Create/request.json
index 9fa2aeb5cc..9ce753c68f 100644
--- a/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario7-Refund for unsuccessful payment/Payments - Create/request.json
+++ b/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario7-Refund for unsuccessful payment/Payments - Create/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "4242424242424242",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario8-Create a recurring payment with greater mandate amount/Payments - Create/request.json b/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario8-Create a recurring payment with greater mandate amount/Payments - Create/request.json
index fd997c7b6b..3d1ff86132 100644
--- a/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario8-Create a recurring payment with greater mandate amount/Payments - Create/request.json
+++ b/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario8-Create a recurring payment with greater mandate amount/Payments - Create/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "4242424242424242",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario9-Manual multiple capture/Payments - Create/request.json b/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario9-Manual multiple capture/Payments - Create/request.json
index 075eee8ca4..31a9e9dc57 100644
--- a/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario9-Manual multiple capture/Payments - Create/request.json
+++ b/postman/collection-dir/cybersource/Flow Testcases/Variation Cases/Scenario9-Manual multiple capture/Payments - Create/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "4242424242424242",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Create/event.test.js b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Create/event.test.js
index 2b4d94d8d5..c48d8e2d05 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Create/event.test.js
+++ b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Create/event.test.js
@@ -63,9 +63,9 @@ if (jsonData?.client_secret) {
// Response body should have value "succeeded" for "status"
if (jsonData?.status) {
pm.test(
- "[POST]::/payments - Content check if value for 'status' matches 'processing'",
+ "[POST]::/payments - Content check if value for 'status' matches 'succeeded'",
function () {
- pm.expect(jsonData.status).to.eql("processing");
+ pm.expect(jsonData.status).to.eql("succeeded");
},
);
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Create/request.json b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Create/request.json
index e3e065d5a6..c271d41803 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Create/request.json
+++ b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Create/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "4111111111111111",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario10-Add card flow/Payments - Create/event.test.js b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario10-Add card flow/Payments - Create/event.test.js
index 47b0e8cb53..e4e2034272 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario10-Add card flow/Payments - Create/event.test.js
+++ b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario10-Add card flow/Payments - Create/event.test.js
@@ -49,8 +49,8 @@ if (jsonData?.customer_id) {
console.log('INFO - Unable to assign variable {{customer_id}}, as jsonData.customer_id is undefined.');
};
-// Response body should have value "processing" for "status"
+// Response body should have value "succeeded" for "status"
if (jsonData?.status) {
- pm.test("[POST]::/payments/:id/confirm - Content check if value for 'status' matches 'processing'", function() {
- pm.expect(jsonData.status).to.eql("processing");
+ pm.test("[POST]::/payments/:id/confirm - Content check if value for 'status' matches 'succeeded'", function() {
+ pm.expect(jsonData.status).to.eql("succeeded");
})};
\ No newline at end of file
diff --git a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario10-Add card flow/Save card payments - Confirm/event.test.js b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario10-Add card flow/Save card payments - Confirm/event.test.js
index eedc017da1..b1df95f07a 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario10-Add card flow/Save card payments - Confirm/event.test.js
+++ b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario10-Add card flow/Save card payments - Confirm/event.test.js
@@ -63,12 +63,12 @@ if (jsonData?.client_secret) {
);
}
-// Response body should have value "processing" for "status"
+// Response body should have value "succeeded" for "status"
if (jsonData?.status) {
pm.test(
- "[POST]::/payments/:id/confirm - Content check if value for 'status' matches 'processing'",
+ "[POST]::/payments/:id/confirm - Content check if value for 'status' matches 'succeeded'",
function () {
- pm.expect(jsonData.status).to.eql("processing");
+ pm.expect(jsonData.status).to.eql("succeeded");
},
);
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario11-Don't Pass CVV for save card flow and verify success payment/Payments - Create/event.test.js b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario11-Don't Pass CVV for save card flow and verify success payment/Payments - Create/event.test.js
index c2bed81a7b..afee40c3eb 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario11-Don't Pass CVV for save card flow and verify success payment/Payments - Create/event.test.js
+++ b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario11-Don't Pass CVV for save card flow and verify success payment/Payments - Create/event.test.js
@@ -60,12 +60,12 @@ if (jsonData?.client_secret) {
);
}
-// Response body should have value "processing" for "status"
+// Response body should have value "succeeded" for "status"
if (jsonData?.status) {
pm.test(
- "[POST]::/payments - Content check if value for 'status' matches 'processing'",
+ "[POST]::/payments - Content check if value for 'status' matches 'succeeded'",
function () {
- pm.expect(jsonData.status).to.eql("processing");
+ pm.expect(jsonData.status).to.eql("succeeded");
}
);
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario11-Don't Pass CVV for save card flow and verify success payment/Save card payments - Confirm/event.test.js b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario11-Don't Pass CVV for save card flow and verify success payment/Save card payments - Confirm/event.test.js
index 5a75f1e555..3f76ce7946 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario11-Don't Pass CVV for save card flow and verify success payment/Save card payments - Confirm/event.test.js
+++ b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario11-Don't Pass CVV for save card flow and verify success payment/Save card payments - Confirm/event.test.js
@@ -73,8 +73,8 @@ if (jsonData?.connector) {
);
}
-// Response body should have value "processing" for "status"
+// Response body should have value "succeeded" for "status"
if (jsonData?.status) {
- pm.test("[POST]::/payments/:id/confirm - Content check if value for 'status' matches 'processing'", function() {
- pm.expect(jsonData.status).to.eql("processing");
+ pm.test("[POST]::/payments/:id/confirm - Content check if value for 'status' matches 'succeeded'", function() {
+ pm.expect(jsonData.status).to.eql("succeeded");
})};
\ No newline at end of file
diff --git a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture/Payments - Capture/event.test.js b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture/Payments - Capture/event.test.js
index a4032ae92c..53d6804e0d 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture/Payments - Capture/event.test.js
+++ b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture/Payments - Capture/event.test.js
@@ -66,12 +66,12 @@ if (jsonData?.client_secret) {
);
}
-// Response body should have value "processing" for "status"
+// Response body should have value "succeeded" for "status"
if (jsonData?.status) {
pm.test(
- "[POST]:://payments/:id/capture - Content check if value for 'status' matches 'processing'",
+ "[POST]:://payments/:id/capture - Content check if value for 'status' matches 'succeeded'",
function () {
- pm.expect(jsonData.status).to.eql("processing");
+ pm.expect(jsonData.status).to.eql("succeeded");
},
);
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture/Payments - Create/event.test.js b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture/Payments - Create/event.test.js
index 74bc3f6ab7..b7c7c3384d 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture/Payments - Create/event.test.js
+++ b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture/Payments - Create/event.test.js
@@ -49,12 +49,12 @@ if (jsonData?.customer_id) {
console.log('INFO - Unable to assign variable {{customer_id}}, as jsonData.customer_id is undefined.');
};
-// Response body should have value "processing" for "status"
+// Response body should have value "succeeded" for "status"
if (jsonData?.status) {
pm.test(
- "[POST]::/payments - Content check if value for 'status' matches 'processing'",
+ "[POST]::/payments - Content check if value for 'status' matches 'succeeded'",
function () {
- pm.expect(jsonData.status).to.eql("processing");
+ pm.expect(jsonData.status).to.eql("succeeded");
},
);
}
\ No newline at end of file
diff --git a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture/Refunds - Create Copy/event.test.js b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture/Refunds - Create Copy/event.test.js
index 31d7e10354..592ef82494 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture/Refunds - Create Copy/event.test.js
+++ b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture/Refunds - Create Copy/event.test.js
@@ -29,12 +29,12 @@ if (jsonData?.refund_id) {
);
}
-// Response body should have value "pending" for "status"
+// Response body should have value "succeeded" for "status"
if (jsonData?.status) {
pm.test(
- "[POST]::/refunds - Content check if value for 'status' matches 'pending'",
+ "[POST]::/refunds - Content check if value for 'status' matches 'succeeded'",
function () {
- pm.expect(jsonData.status).to.eql("pending");
+ pm.expect(jsonData.status).to.eql("succeeded");
},
);
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario13-Create payment without customer_id and with billing address and shipping address/Payments - Create/event.test.js b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario13-Create payment without customer_id and with billing address and shipping address/Payments - Create/event.test.js
index c308a7467f..ffcdd527d0 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario13-Create payment without customer_id and with billing address and shipping address/Payments - Create/event.test.js
+++ b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario13-Create payment without customer_id and with billing address and shipping address/Payments - Create/event.test.js
@@ -60,12 +60,12 @@ if (jsonData?.client_secret) {
);
}
-// Response body should have value "processing" for "status"
+// Response body should have value "succeeded" for "status"
if (jsonData?.status) {
pm.test(
- "[POST]::/payments - Content check if value for 'status' matches 'processing'",
+ "[POST]::/payments - Content check if value for 'status' matches 'succeeded'",
function () {
- pm.expect(jsonData.status).to.eql("processing");
+ pm.expect(jsonData.status).to.eql("succeeded");
},
);
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Confirm/event.test.js b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Confirm/event.test.js
index 394702b1fa..f92fba3d04 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Confirm/event.test.js
+++ b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Confirm/event.test.js
@@ -66,9 +66,9 @@ if (jsonData?.client_secret) {
// Response body should have value "succeeded" for "status"
if (jsonData?.status) {
pm.test(
- "[POST]::/payments/:id/confirm - Content check if value for 'status' matches 'processing'",
+ "[POST]::/payments/:id/confirm - Content check if value for 'status' matches 'succeeded'",
function () {
- pm.expect(jsonData.status).to.eql("processing");
+ pm.expect(jsonData.status).to.eql("succeeded");
},
);
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Create/request.json b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Create/request.json
index dec63a14e2..b3b236c666 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Create/request.json
+++ b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Create/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "4111111111111111",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario2a-Create payment with confirm false card holder name null/Payments - Confirm/event.test.js b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario2a-Create payment with confirm false card holder name null/Payments - Confirm/event.test.js
index 37ee4bfbce..f92fba3d04 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario2a-Create payment with confirm false card holder name null/Payments - Confirm/event.test.js
+++ b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario2a-Create payment with confirm false card holder name null/Payments - Confirm/event.test.js
@@ -63,12 +63,12 @@ if (jsonData?.client_secret) {
);
}
-// Response body should have value "processing" for "status"
+// Response body should have value "succeeded" for "status"
if (jsonData?.status) {
pm.test(
- "[POST]::/payments/:id/confirm - Content check if value for 'status' matches 'processing'",
+ "[POST]::/payments/:id/confirm - Content check if value for 'status' matches 'succeeded'",
function () {
- pm.expect(jsonData.status).to.eql("processing");
+ pm.expect(jsonData.status).to.eql("succeeded");
},
);
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario2b-Create payment with confirm false card holder name empty/Payments - Confirm/event.test.js b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario2b-Create payment with confirm false card holder name empty/Payments - Confirm/event.test.js
index e20f12f343..9147db9461 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario2b-Create payment with confirm false card holder name empty/Payments - Confirm/event.test.js
+++ b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario2b-Create payment with confirm false card holder name empty/Payments - Confirm/event.test.js
@@ -63,12 +63,12 @@ if (jsonData?.client_secret) {
);
}
-// Response body should have value "processing" for "status"
+// Response body should have value "succeeded" for "status"
if (jsonData?.status) {
pm.test(
- "[POST]::/payments/:id/confirm - Content check if value for 'status' matches 'processing'",
+ "[POST]::/payments/:id/confirm - Content check if value for 'status' matches 'succeeded'",
function () {
- pm.expect(jsonData.status).to.eql("processing");
+ pm.expect(jsonData.status).to.eql("succeeded");
},
);
}
\ No newline at end of file
diff --git a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Confirm/event.test.js b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Confirm/event.test.js
index c25f2c0373..6d812bc75f 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Confirm/event.test.js
+++ b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Confirm/event.test.js
@@ -66,9 +66,9 @@ if (jsonData?.client_secret) {
// Response body should have value "succeeded" for "status"
if (jsonData?.status) {
pm.test(
- "[POST]::/payments:id/confirm - Content check if value for 'status' matches 'processing'",
+ "[POST]::/payments:id/confirm - Content check if value for 'status' matches 'succeeded'",
function () {
- pm.expect(jsonData.status).to.eql("processing");
+ pm.expect(jsonData.status).to.eql("succeeded");
},
);
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Capture/event.test.js b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Capture/event.test.js
index 5b660989c5..6e24040a81 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Capture/event.test.js
+++ b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Capture/event.test.js
@@ -69,9 +69,9 @@ if (jsonData?.client_secret) {
// Response body should have value "succeeded" for "status"
if (jsonData?.status) {
pm.test(
- "[POST]:://payments/:id/capture - Content check if value for 'status' matches 'processing'",
+ "[POST]:://payments/:id/capture - Content check if value for 'status' matches 'succeeded'",
function () {
- pm.expect(jsonData.status).to.eql("processing");
+ pm.expect(jsonData.status).to.eql("succeeded");
},
);
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Create/request.json b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Create/request.json
index f014342638..21dc7ed0f0 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Create/request.json
+++ b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Create/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "4111111111111111",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Create/request.json b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Create/request.json
index f014342638..21dc7ed0f0 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Create/request.json
+++ b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Create/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "4111111111111111",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario6-Refund full payment/Payments - Create/event.test.js b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario6-Refund full payment/Payments - Create/event.test.js
index f25578db7f..2f74068dc5 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario6-Refund full payment/Payments - Create/event.test.js
+++ b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario6-Refund full payment/Payments - Create/event.test.js
@@ -66,9 +66,9 @@ if (jsonData?.client_secret) {
// Response body should have value "succeeded" for "status"
if (jsonData?.status) {
pm.test(
- "[POST]::/payments - Content check if value for 'status' matches 'processing'",
+ "[POST]::/payments - Content check if value for 'status' matches 'succeeded'",
function () {
- pm.expect(jsonData.status).to.eql("processing");
+ pm.expect(jsonData.status).to.eql("succeeded");
},
);
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario6-Refund full payment/Payments - Create/request.json b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario6-Refund full payment/Payments - Create/request.json
index e3e065d5a6..c271d41803 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario6-Refund full payment/Payments - Create/request.json
+++ b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario6-Refund full payment/Payments - Create/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "4111111111111111",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario6-Refund full payment/Refunds - Create/event.test.js b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario6-Refund full payment/Refunds - Create/event.test.js
index 521521c26c..32b667669a 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario6-Refund full payment/Refunds - Create/event.test.js
+++ b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario6-Refund full payment/Refunds - Create/event.test.js
@@ -35,9 +35,9 @@ if (jsonData?.refund_id) {
// Response body should have value "succeeded" for "status"
if (jsonData?.status) {
pm.test(
- "[POST]::/refunds - Content check if value for 'status' matches 'pending'",
+ "[POST]::/refunds - Content check if value for 'status' matches 'succeeded'",
function () {
- pm.expect(jsonData.status).to.eql("pending");
+ pm.expect(jsonData.status).to.eql("succeeded");
},
);
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Payments - Create/event.test.js b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Payments - Create/event.test.js
index 16c37817f0..c48d8e2d05 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Payments - Create/event.test.js
+++ b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Payments - Create/event.test.js
@@ -60,12 +60,12 @@ if (jsonData?.client_secret) {
);
}
-// Response body should have value "processing" for "status"
+// Response body should have value "succeeded" for "status"
if (jsonData?.status) {
pm.test(
- "[POST]::/payments - Content check if value for 'status' matches 'processing'",
+ "[POST]::/payments - Content check if value for 'status' matches 'succeeded'",
function () {
- pm.expect(jsonData.status).to.eql("processing");
+ pm.expect(jsonData.status).to.eql("succeeded");
},
);
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Payments - Create/request.json b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Payments - Create/request.json
index e3e065d5a6..c271d41803 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Payments - Create/request.json
+++ b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Payments - Create/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "4111111111111111",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Refunds - Create-copy/event.test.js b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Refunds - Create-copy/event.test.js
index 55dd42339c..e2d2feb176 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Refunds - Create-copy/event.test.js
+++ b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Refunds - Create-copy/event.test.js
@@ -32,9 +32,9 @@ if (jsonData?.refund_id) {
// Response body should have value "succeeded" for "status"
if (jsonData?.status) {
pm.test(
- "[POST]::/refunds - Content check if value for 'status' matches 'pending'",
+ "[POST]::/refunds - Content check if value for 'status' matches 'succeeded'",
function () {
- pm.expect(jsonData.status).to.eql("pending");
+ pm.expect(jsonData.status).to.eql("succeeded");
},
);
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Refunds - Create/event.test.js b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Refunds - Create/event.test.js
index efadae75d2..0dc56a1047 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Refunds - Create/event.test.js
+++ b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Refunds - Create/event.test.js
@@ -32,9 +32,9 @@ if (jsonData?.refund_id) {
// Response body should have value "succeeded" for "status"
if (jsonData?.status) {
pm.test(
- "[POST]::/refunds - Content check if value for 'status' matches 'pending'",
+ "[POST]::/refunds - Content check if value for 'status' matches 'succeeded'",
function () {
- pm.expect(jsonData.status).to.eql("pending");
+ pm.expect(jsonData.status).to.eql("succeeded");
},
);
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario8-Create a failure card payment with confirm true/Payments - Create/request.json b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario8-Create a failure card payment with confirm true/Payments - Create/request.json
index 63d1eeba23..241b3be275 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario8-Create a failure card payment with confirm true/Payments - Create/request.json
+++ b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario8-Create a failure card payment with confirm true/Payments - Create/request.json
@@ -49,7 +49,7 @@
"card": {
"card_number": "4242424242424242",
"card_exp_month": "01",
- "card_exp_year": "26",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario9-Update amount with automatic capture/Payments - Confirm/event.test.js b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario9-Update amount with automatic capture/Payments - Confirm/event.test.js
index d03ed16ff5..c74f2d322e 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario9-Update amount with automatic capture/Payments - Confirm/event.test.js
+++ b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario9-Update amount with automatic capture/Payments - Confirm/event.test.js
@@ -20,10 +20,10 @@ pm.test("[POST]::/payments/:id/confirm - Response has JSON Body", function () {
pm.response.to.have.jsonBody();
});
-//// Response body should have value "processing" for "status"
+//// Response body should have value "succeeded" for "status"
if (jsonData?.status) {
-pm.test("[POST]::/payments - Content check if value for 'status' matches 'processing'", function() {
- pm.expect(jsonData.status).to.eql("processing");
+pm.test("[POST]::/payments - Content check if value for 'status' matches 'succeeded'", function() {
+ pm.expect(jsonData.status).to.eql("succeeded");
})};
diff --git a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario9a-Update amount with manual capture/Payments - Capture/event.test.js b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario9a-Update amount with manual capture/Payments - Capture/event.test.js
index a4032ae92c..53d6804e0d 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario9a-Update amount with manual capture/Payments - Capture/event.test.js
+++ b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario9a-Update amount with manual capture/Payments - Capture/event.test.js
@@ -66,12 +66,12 @@ if (jsonData?.client_secret) {
);
}
-// Response body should have value "processing" for "status"
+// Response body should have value "succeeded" for "status"
if (jsonData?.status) {
pm.test(
- "[POST]:://payments/:id/capture - Content check if value for 'status' matches 'processing'",
+ "[POST]:://payments/:id/capture - Content check if value for 'status' matches 'succeeded'",
function () {
- pm.expect(jsonData.status).to.eql("processing");
+ pm.expect(jsonData.status).to.eql("succeeded");
},
);
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/QuickStart/Payments - Create/request.json b/postman/collection-dir/nmi/Flow Testcases/QuickStart/Payments - Create/request.json
index 0b984b0e52..2b1d86f5a9 100644
--- a/postman/collection-dir/nmi/Flow Testcases/QuickStart/Payments - Create/request.json
+++ b/postman/collection-dir/nmi/Flow Testcases/QuickStart/Payments - Create/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "4111111111111111",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid card number)/request.json b/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid card number)/request.json
index 51f7969bc9..ba7550bc89 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid card number)/request.json
+++ b/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid card number)/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "123456",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(invalid CVV)/request.json b/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(invalid CVV)/request.json
index db81c387d5..a74cbeb56a 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(invalid CVV)/request.json
+++ b/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(invalid CVV)/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "123456",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "12345"
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/Payments - Create/request.json b/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/Payments - Create/request.json
index f014342638..21dc7ed0f0 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/Payments - Create/request.json
+++ b/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/Payments - Create/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "4111111111111111",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario4-Capture the succeeded payment/Payments - Create/event.test.js b/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario4-Capture the succeeded payment/Payments - Create/event.test.js
index 2b4d94d8d5..c48d8e2d05 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario4-Capture the succeeded payment/Payments - Create/event.test.js
+++ b/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario4-Capture the succeeded payment/Payments - Create/event.test.js
@@ -63,9 +63,9 @@ if (jsonData?.client_secret) {
// Response body should have value "succeeded" for "status"
if (jsonData?.status) {
pm.test(
- "[POST]::/payments - Content check if value for 'status' matches 'processing'",
+ "[POST]::/payments - Content check if value for 'status' matches 'succeeded'",
function () {
- pm.expect(jsonData.status).to.eql("processing");
+ pm.expect(jsonData.status).to.eql("succeeded");
},
);
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario4-Capture the succeeded payment/Payments - Create/request.json b/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario4-Capture the succeeded payment/Payments - Create/request.json
index e3e065d5a6..c271d41803 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario4-Capture the succeeded payment/Payments - Create/request.json
+++ b/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario4-Capture the succeeded payment/Payments - Create/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "4111111111111111",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure payment/Payments - Create/event.test.js b/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure payment/Payments - Create/event.test.js
index 2b4d94d8d5..c48d8e2d05 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure payment/Payments - Create/event.test.js
+++ b/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure payment/Payments - Create/event.test.js
@@ -63,9 +63,9 @@ if (jsonData?.client_secret) {
// Response body should have value "succeeded" for "status"
if (jsonData?.status) {
pm.test(
- "[POST]::/payments - Content check if value for 'status' matches 'processing'",
+ "[POST]::/payments - Content check if value for 'status' matches 'succeeded'",
function () {
- pm.expect(jsonData.status).to.eql("processing");
+ pm.expect(jsonData.status).to.eql("succeeded");
},
);
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure payment/Payments - Create/request.json b/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure payment/Payments - Create/request.json
index e3e065d5a6..c271d41803 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure payment/Payments - Create/request.json
+++ b/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure payment/Payments - Create/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "4111111111111111",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario7-Refund exceeds amount/Payments - Create/event.test.js b/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario7-Refund exceeds amount/Payments - Create/event.test.js
index f25578db7f..2f74068dc5 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario7-Refund exceeds amount/Payments - Create/event.test.js
+++ b/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario7-Refund exceeds amount/Payments - Create/event.test.js
@@ -66,9 +66,9 @@ if (jsonData?.client_secret) {
// Response body should have value "succeeded" for "status"
if (jsonData?.status) {
pm.test(
- "[POST]::/payments - Content check if value for 'status' matches 'processing'",
+ "[POST]::/payments - Content check if value for 'status' matches 'succeeded'",
function () {
- pm.expect(jsonData.status).to.eql("processing");
+ pm.expect(jsonData.status).to.eql("succeeded");
},
);
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario7-Refund exceeds amount/Payments - Create/request.json b/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario7-Refund exceeds amount/Payments - Create/request.json
index e3e065d5a6..c271d41803 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario7-Refund exceeds amount/Payments - Create/request.json
+++ b/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario7-Refund exceeds amount/Payments - Create/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "4111111111111111",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario8-Refund for unsuccessful payment/Payments - Create/request.json b/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario8-Refund for unsuccessful payment/Payments - Create/request.json
index e276d5e183..20b14514ec 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario8-Refund for unsuccessful payment/Payments - Create/request.json
+++ b/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario8-Refund for unsuccessful payment/Payments - Create/request.json
@@ -37,7 +37,7 @@
"card": {
"card_number": "4111111111111111",
"card_exp_month": "10",
- "card_exp_year": "25",
+ "card_exp_year": "30",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
diff --git a/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario9-Create a mandate payment/Payments - Create/event.test.js b/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario9-Create a mandate payment/Payments - Create/event.test.js
index 656033c2ca..5067080622 100644
--- a/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario9-Create a mandate payment/Payments - Create/event.test.js
+++ b/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario9-Create a mandate payment/Payments - Create/event.test.js
@@ -1,6 +1,6 @@
-// Validate status 4xx
-pm.test("[POST]::/payments - Status code is 4xx", function () {
- pm.response.to.be.error;
+// Validate status 2xx
+pm.test("[POST]::/payments - Status code is 2xx", function () {
+ pm.response.to.be.success;
});
// Validate if response header has matching content-type
diff --git a/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario8-Create a failure card payment with confirm true/Payments - Create/event.test.js b/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario8-Create a failure card payment with confirm true/Payments - Create/event.test.js
index 2be75ec008..47cbdf238f 100644
--- a/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario8-Create a failure card payment with confirm true/Payments - Create/event.test.js
+++ b/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario8-Create a failure card payment with confirm true/Payments - Create/event.test.js
@@ -89,12 +89,12 @@ if (jsonData?.error_code) {
);
}
-// Response body should have value "message - Your card has insufficient funds., decline_code - insufficient_funds" for "error_message"
+// Response body should have value "Your card has insufficient funds." for "error_message"
if (jsonData?.error_message) {
pm.test(
- "[POST]::/payments/:id/confirm - Content check if value for 'error_message' matches 'message - Your card has insufficient funds., decline_code - insufficient_funds'",
+ "[POST]::/payments/:id/confirm - Content check if value for 'error_message' matches 'Your card has insufficient funds.'",
function () {
- pm.expect(jsonData.error_message).to.eql("message - Your card has insufficient funds., decline_code - insufficient_funds");
+ pm.expect(jsonData.error_message).to.eql("Your card has insufficient funds.");
},
);
}
diff --git a/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario8-Create a failure card payment with confirm true/Payments - Retrieve/event.test.js b/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario8-Create a failure card payment with confirm true/Payments - Retrieve/event.test.js
index f8825a3357..37d147294b 100644
--- a/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario8-Create a failure card payment with confirm true/Payments - Retrieve/event.test.js
+++ b/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario8-Create a failure card payment with confirm true/Payments - Retrieve/event.test.js
@@ -89,12 +89,12 @@ if (jsonData?.error_code) {
);
}
-// Response body should have value "message - Your card has insufficient funds., decline_code - insufficient_funds" for "error_message"
+// Response body should have value "Your card has insufficient funds." for "error_message"
if (jsonData?.error_message) {
pm.test(
- "[POST]::/payments/:id/confirm - Content check if value for 'error_message' matches 'message - Your card has insufficient funds., decline_code - insufficient_funds'",
+ "[POST]::/payments/:id/confirm - Content check if value for 'error_message' matches 'Your card has insufficient funds.'",
function () {
- pm.expect(jsonData.error_message).to.eql("message - Your card has insufficient funds., decline_code - insufficient_funds");
+ pm.expect(jsonData.error_message).to.eql("Your card has insufficient funds.");
},
);
}