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

ci(Postman): Fix for automation test failure (#2949)

Gnanasundari24160acc8d49a0
diff --git a/postman/collection-dir/adyen_uk/Flow Testcases/Happy Cases/Scenario14-Refund recurring payment/Recurring Payments - Create/request.json b/postman/collection-dir/adyen_uk/Flow Testcases/Happy Cases/Scenario14-Refund recurring payment/Recurring Payments - Create/request.json
index fb25f7ceeb..13a48ea7de 100644
--- a/postman/collection-dir/adyen_uk/Flow Testcases/Happy Cases/Scenario14-Refund recurring payment/Recurring Payments - Create/request.json
+++ b/postman/collection-dir/adyen_uk/Flow Testcases/Happy Cases/Scenario14-Refund recurring payment/Recurring Payments - Create/request.json
@@ -23,7 +23,7 @@
"confirm": true,
"capture_method": "automatic",
"capture_on": "2022-09-10T10:11:12Z",
- "amount_to_capture": 6540,
+ "amount_to_capture": 6570,
"customer_id": "StripeCustomer",
"email": "[email protected]",
"name": "John Doe",
diff --git a/postman/collection-dir/adyen_uk/Flow Testcases/Variation Cases/Scenario9-Create a recurring payment with greater mandate amount/Recurring Payments - Create/request.json b/postman/collection-dir/adyen_uk/Flow Testcases/Variation Cases/Scenario9-Create a recurring payment with greater mandate amount/Recurring Payments - Create/request.json
index 8fc4831ccc..1cc1bce980 100644
--- a/postman/collection-dir/adyen_uk/Flow Testcases/Variation Cases/Scenario9-Create a recurring payment with greater mandate amount/Recurring Payments - Create/request.json
+++ b/postman/collection-dir/adyen_uk/Flow Testcases/Variation Cases/Scenario9-Create a recurring payment with greater mandate amount/Recurring Payments - Create/request.json
@@ -23,7 +23,7 @@
"confirm": true,
"capture_method": "automatic",
"capture_on": "2022-09-10T10:11:12Z",
- "amount_to_capture": 6540,
+ "amount_to_capture": 8040,
"customer_id": "StripeCustomer",
"email": "[email protected]",
"name": "John Doe",
diff --git a/postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture Copy/Payments - Capture/event.test.js b/postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture Copy/Payments - Capture/event.test.js
index 40445db0fb..b06e6c3e11 100644
--- a/postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture Copy/Payments - Capture/event.test.js
+++ b/postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture Copy/Payments - Capture/event.test.js
@@ -88,22 +88,22 @@ if (jsonData?.amount) {
);
}
-// Response body should have value "6000" for "amount_received"
+// Response body should have value "6540" for "amount_received"
if (jsonData?.amount_received) {
pm.test(
- "[POST]::/payments:id/capture - Content check if value for 'amount_received' matches '6000'",
+ "[POST]::/payments:id/capture - Content check if value for 'amount_received' matches '6540'",
function () {
- pm.expect(jsonData.amount_received).to.eql(6000);
+ pm.expect(jsonData.amount_received).to.eql(6540);
},
);
}
-// Response body should have value "6540" for "amount_capturable"
+// Response body should have value "0" for "amount_capturable"
if (jsonData?.amount_capturable) {
pm.test(
- "[post]:://payments/:id/capture - Content check if value for 'amount_capturable' matches 'amount - 540'",
+ "[post]:://payments/:id/capture - Content check if value for 'amount_capturable' matches 'amount - 0'",
function () {
- pm.expect(jsonData.amount_capturable).to.eql(6540);
+ pm.expect(jsonData.amount_capturable).to.eql(0);
},
);
}
diff --git a/postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture Copy/Payments - Capture/request.json b/postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture Copy/Payments - Capture/request.json
index 8975575ca4..8efb99d3c9 100644
--- a/postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture Copy/Payments - Capture/request.json
+++ b/postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture Copy/Payments - Capture/request.json
@@ -18,7 +18,7 @@
}
},
"raw_json_formatted": {
- "amount_to_capture": 6000,
+ "amount_to_capture": 6540,
"statement_descriptor_name": "Joseph",
"statement_descriptor_suffix": "JS"
}
diff --git a/postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture Copy/Payments - Retrieve-copy/event.test.js b/postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture Copy/Payments - Retrieve-copy/event.test.js
index 0bf6890ea3..01f51559ed 100644
--- a/postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture Copy/Payments - Retrieve-copy/event.test.js
+++ b/postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture Copy/Payments - Retrieve-copy/event.test.js
@@ -85,20 +85,20 @@ if (jsonData?.amount) {
);
}
-// Response body should have value "6000" for "amount_received"
+// Response body should have value "6540" for "amount_received"
if (jsonData?.amount_received) {
pm.test(
- "[POST]::/payments:id/capture - Content check if value for 'amount_received' matches '6000'",
+ "[POST]::/payments:id/capture - Content check if value for 'amount_received' matches '6540'",
function () {
- pm.expect(jsonData.amount_received).to.eql(6000);
+ pm.expect(jsonData.amount_received).to.eql(6540);
},
);
}
-// Response body should have value "6540" for "amount_capturable"
+// Response body should have value "0" for "amount_capturable"
if (jsonData?.amount) {
pm.test(
- "[post]:://payments/:id/capture - Content check if value for 'amount_capturable' matches 'amount - 540'",
+ "[post]:://payments/:id/capture - Content check if value for 'amount_capturable' matches 'amount - 0'",
function () {
pm.expect(jsonData.amount_capturable).to.eql(0);
},
diff --git a/postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Capture/event.test.js b/postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Capture/event.test.js
index 2d7dbc507f..f560d84ea7 100644
--- a/postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Capture/event.test.js
+++ b/postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Capture/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/capture - Content check if value for 'status' matches 'succeeded'",
+ "[POST]:://payments/:id/capture - Content check if value for 'status' matches 'partially_captured'",
function () {
- pm.expect(jsonData.status).to.eql("succeeded");
+ pm.expect(jsonData.status).to.eql("partially_captured");
},
);
}
diff --git a/postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Retrieve/event.test.js b/postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Retrieve/event.test.js
index 5c7196baa4..ca68dd7045 100644
--- a/postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Retrieve/event.test.js
+++ b/postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Retrieve/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 'succeeded'",
+ "[POST]::/payments - Content check if value for 'status' matches 'partially_captured'",
function () {
- pm.expect(jsonData.status).to.eql("succeeded");
+ pm.expect(jsonData.status).to.eql("partially_captured");
},
);
}
diff --git a/postman/collection-dir/stripe/Payments/Payments - Update/request.json b/postman/collection-dir/stripe/Payments/Payments - Update/request.json
index 09e3dbb307..1809770bd3 100644
--- a/postman/collection-dir/stripe/Payments/Payments - Update/request.json
+++ b/postman/collection-dir/stripe/Payments/Payments - Update/request.json
@@ -49,7 +49,9 @@
"city": "San Fransico",
"state": "California",
"zip": "94122",
- "country": "US"
+ "country": "US",
+ "first_name": "John",
+ "last_name": "Doe"
}
},
"shipping": {
@@ -60,7 +62,9 @@
"city": "San Fransico",
"state": "California",
"zip": "94122",
- "country": "US"
+ "country": "US",
+ "first_name": "John",
+ "last_name": "Doe"
}
},
"statement_descriptor_name": "joseph",