Skip Result

The Web Checkout API allows skipping or bypassing the summary view of a session with a process in a final state. This feature is useful if the integration has its own customized session summary view and does not require Web Checkout to display it.

To enable this feature, the skipResult property must be included with the value true in the CreateSessionRequest request of session creation. If this property is not sent or is set with a different value, it will default to false.

CreateSessionRequest

{
    "auth": {...},
    "payment": {...},
    "skipResult": true,
    "returnUrl": "https://dnetix.co/p2p/client",
    "ipAddress": "127.0.0.1",
    "userAgent": "PlacetoPay Sandbox"
}

How Does It Work?

When the session process is completed, the user is redirected to the URL specified in CreateSessionRequest.returnUrl without any user interaction.

How Does It Work Using the Lightbox SDK?

For Lightbox integrations, the close event is triggered, and the Lightbox window closes automatically without user interaction.