Skip to main content

Failure Scenarios

Cart Expiry

  1. The customer begins the payment process.
  2. The merchant sends the init request to OmniCart.
  3. OmniCart delivers the payment form using the method set in the deliveryOption property of the init request.
    FIXME

init

{
"cartId": "6f891edb-1e1f-48bb-b042-2cb790a0f402",
"currency": "XAU",
"cartExpiry": 7200,
"items": [
{
"naga": {
"amount": 1100
}
}
]
}
  1. The merchant sends the status request to OmniCart.

    OmniCart supports callbacks for payment and timer status changes. Contact our technical support for more information.

  2. OmniCart returns the response to the status request to the merchant.

status

curl -L 'https://api.omnicart.scripsi.io/status/:6f891edb-1e1f-48bb-b042-2cb790a0f402' \
-H 'Accept: application/json' \
-H 'Api-Access-Token: <Api-Access-Token>'

Payment Authorization Failure

  1. The customer begins the payment process.
  2. The merchant sends the init request to OmniCart.
  3. OmniCart delivers the payment form using the method set in the deliveryOption property of the init request.
  4. The customer authenticates against their verification service.
  5. FIXME
  6. OmniCart returns the response to the init request to the merchant.
  7. FIXME

init

{
"cartId": "6f891edb-1e1f-48bb-b042-2cb790a0f402",
"currency": "GEM",
"items": [
{
"naga": {
"amount": 1100
}
}
]
}