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
ci(postman): Add logs to PayMe and PayPal collection in dir (#2042)
Pa1NarK1f85115697e2
diff --git a/postman/collection-dir/payme/.event.json b/postman/collection-dir/payme/.event.jsonindex 761eacf8f3..b82d3de344 100644--- a/postman/collection-dir/payme/.event.json+++ b/postman/collection-dir/payme/.event.json@@ -14,7 +14,17 @@"script": {"type": "text/javascript","exec": [- ""+ "// Set response object as internal variable",+ "let jsonData = {};",+ "try {jsonData = pm.response.json();}catch(e){}",+ "",+ "// pm.collectionVariables - Set payment_id as variable for jsonData.payment_id",+ "if (jsonData?.payment_id) {",+ " pm.collectionVariables.set(\"payment_id\", jsonData.payment_id);",+ " console.log(\"[LOG]::payment_id - \" + jsonData.payment_id);",+ "}",+ "",+ "console.log(\"[LOG]::x-request-id - \" + pm.response.headers.get('x-request-id'));"]}}diff --git a/postman/collection-dir/paypal/.event.json b/postman/collection-dir/paypal/.event.jsonindex 761eacf8f3..b82d3de344 100644--- a/postman/collection-dir/paypal/.event.json+++ b/postman/collection-dir/paypal/.event.json@@ -14,7 +14,17 @@"script": {"type": "text/javascript","exec": [- ""+ "// Set response object as internal variable",+ "let jsonData = {};",+ "try {jsonData = pm.response.json();}catch(e){}",+ "",+ "// pm.collectionVariables - Set payment_id as variable for jsonData.payment_id",+ "if (jsonData?.payment_id) {",+ " pm.collectionVariables.set(\"payment_id\", jsonData.payment_id);",+ " console.log(\"[LOG]::payment_id - \" + jsonData.payment_id);",+ "}",+ "",+ "console.log(\"[LOG]::x-request-id - \" + pm.response.headers.get('x-request-id'));"]}}