Quick Start Guide
Quickly integrate and perform a test payment with Judopay.
Card Payment Flow
![]() |
Step | Description | Payload Example |
---|---|---|
![]() | Customise and Create the iFrame to present a Pay Button. The Web SDK Pay Button is clicked. | var paymentPromise = judo.createToken(payment); |
![]() | Payment promise received. | {oneUseToken: "F4e7PxeRZLA31G98SfcQcIlxPR8LtC8nBpFt1CDUV1JcSOHK56…lDcJh6HEpWrjV1NFmNYnGxTi0b6uuLIq9+xsDPg9e29PqW4c=", cardLastfour: "7521",endDate: "12/21",cardScheme: "Visa",cardFunding: "Credit"} |
![]() | A oneUseToken is sent to the merchant's server for processing the payment request. | Use any method you desire to send the token to your back end server to process the request. |
![]() | Merchant's server sends the payment request to Judopay's servers for processing. | Use any method you desire to send the payment request to Judopay. Judopay has 3 available methods:
|
![]() | Merchant's server receives the result sent back to the merchant's server via Judopay. | {receiptId: "614040999953559552",result: "Requires 3D Secure",message: "Issuer authentication required",acsUrl: "https://gw1.judocommerce.com:4430/ACS/Default.aspx",md: "200821101926255601402655",paReq: "encryptedPaReqMessageWillBeHere",result: "Requires 3D Secure"} |
![]() | Depending on the state received from the receipt object, the merchant can display a success, decline or failure message. | You will receive the following back from the Issuer Service: POSTed Variable : PaRes POSTed Variable : MD And a URL variable in your TermURL of the receiptId. |