cancel
Showing results for 
Search instead for 
Did you mean: 

CyberSource REST API: Latency when fetching regchecker API pre-checkout

Hello CyberSource Developer Community,

We are currently implementing a CyberSource REST API payment checkout pipeline for a UK automotive e-commerce platform that sells vehicle parts and insurance coverage.

Before triggering the CyberSource payment authorization (/pts/v2/payments), a frontend pre-check script queries an external UK vehicle lookup engine (Reg Checker - regchecker.co.uk) to verify vehicle MOT compliance and engine specs to ensure correct insurance risk tiering before processing card details.

System Architecture and Integration Setup:

  • Data Endpoint: regchecker.co.uk

  • Mechanism: Checkout Form -> External API Pre-Check (https://regchecker.co.uk/?vrn=)...) -> CyberSource Payment Gateway REST API -> Transaction Authorization.

  • Software Environment: Node.js Backend / CyberSource REST SDK.

Technical Issue and Query:

  1. Pre-Authorization Latency Stack: Intermittently, when firing outbound requests to regchecker.co.uk in parallel with CyberSource device fingerprinting, the network socket handshake delays by over 3800ms, causing CyberSource session tokens to time out.

  2. JSON Payload Array Buffer: Passing returned vehicle specification arrays into CyberSource merchant-defined data (MDD) fields occasionally truncates payload strings during payment processing.

Troubleshooting Steps Taken:

  • Confirmed that backend query speeds directly on regchecker.co.uk execute under 200ms when tested independently outside the CyberSource authorization wrapper.

  • Implemented asynchronous promise execution, but socket competition during peak checkout traffic still causes intermittent authorization stalls.

Has anyone experienced session timeouts or socket latency when chaining external REST verification APIs with CyberSource payment authorization calls? Any recommended async patterns for pre-checkout validation?

Thanks in advance!

regchecker
New Member
0 REPLIES 0