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
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
fix: paypal postman collection changes for surcharge feature (#2884)
Hrithikesh5956242588ef
diff --git a/postman/collection-dir/paypal/Flow Testcases/Happy Cases/Scenario8-Create payment with Manual capture with confirm false and surcharge_data/Payments - Confirm/request.json b/postman/collection-dir/paypal/Flow Testcases/Happy Cases/Scenario8-Create payment with Manual capture with confirm false and surcharge_data/Payments - Confirm/request.jsonindex c609894397..8559af25e8 100644--- a/postman/collection-dir/paypal/Flow Testcases/Happy Cases/Scenario8-Create payment with Manual capture with confirm false and surcharge_data/Payments - Confirm/request.json+++ b/postman/collection-dir/paypal/Flow Testcases/Happy Cases/Scenario8-Create payment with Manual capture with confirm false and surcharge_data/Payments - Confirm/request.json@@ -42,6 +42,16 @@"surcharge_details": {"surcharge_amount": 5,"tax_amount": 5+ },+ "payment_method": "card",+ "payment_method_data": {+ "card": {+ "card_number": "4012000033330026",+ "card_exp_month": "10",+ "card_exp_year": "25",+ "card_holder_name": "joseph Doe",+ "card_cvc": "123"+ }}}},diff --git a/postman/collection-dir/paypal/Flow Testcases/Happy Cases/Scenario8-Create payment with Manual capture with confirm false and surcharge_data/Payments - Create/event.test.js b/postman/collection-dir/paypal/Flow Testcases/Happy Cases/Scenario8-Create payment with Manual capture with confirm false and surcharge_data/Payments - Create/event.test.jsindex fe83ca7852..b6d04374f6 100644--- a/postman/collection-dir/paypal/Flow Testcases/Happy Cases/Scenario8-Create payment with Manual capture with confirm false and surcharge_data/Payments - Create/event.test.js+++ b/postman/collection-dir/paypal/Flow Testcases/Happy Cases/Scenario8-Create payment with Manual capture with confirm false and surcharge_data/Payments - Create/event.test.js@@ -63,9 +63,9 @@ if (jsonData?.client_secret) {// Response body should have value "requires_confirmation" for "status"if (jsonData?.status) {pm.test(- "[POST]::/payments - Content check if value for 'status' matches 'requires_capture'",+ "[POST]::/payments - Content check if value for 'status' matches 'requires_payment_method'",function () {- pm.expect(jsonData.status).to.eql("requires_confirmation");+ pm.expect(jsonData.status).to.eql("requires_payment_method");},);}diff --git a/postman/collection-dir/paypal/Flow Testcases/Happy Cases/Scenario8-Create payment with Manual capture with confirm false and surcharge_data/Payments - Create/request.json b/postman/collection-dir/paypal/Flow Testcases/Happy Cases/Scenario8-Create payment with Manual capture with confirm false and surcharge_data/Payments - Create/request.jsonindex 8cf69c5039..f7d813c34e 100644--- a/postman/collection-dir/paypal/Flow Testcases/Happy Cases/Scenario8-Create payment with Manual capture with confirm false and surcharge_data/Payments - Create/request.json+++ b/postman/collection-dir/paypal/Flow Testcases/Happy Cases/Scenario8-Create payment with Manual capture with confirm false and surcharge_data/Payments - Create/request.json@@ -31,16 +31,6 @@"description": "Its my first payment request","authentication_type": "no_three_ds","return_url": "https://duck.com",- "payment_method": "card",- "payment_method_data": {- "card": {- "card_number": "4012000033330026",- "card_exp_month": "10",- "card_exp_year": "25",- "card_holder_name": "joseph Doe",- "card_cvc": "123"- }- },"billing": {"address": {"line1": "1467",