What Ozura Does Automatically
When a customer successfully pays:URL Overview
Possible Outcomes
Success URL
After a successful payment, the customer is redirected to yoursuccessUrl with transaction details appended as query parameters. Use these to display an order confirmation.
Billing PII is not included in the redirect URL. Name, email, phone, and address are omitted from the success URL to avoid them appearing in server access logs and browser history. If you need billing details, retrieve them server-side from the session via
GET /api/sessions/{sessionId}.Success URL Parameters
Parameters are only appended when the value is present in the processor response — do not assume every key is always in the URL.success, sessionId, checkoutMode, and transactionType are always present.
Transaction Info:
Card Info:
Reading the Data
Cancel URL
When a customer cancels checkout, they are redirected back to yourcancelUrl. No additional parameters are appended — this is a simple navigation back to your site.
Recommended: Set cancelUrl to your cart or product page so the customer can return to shopping seamlessly. The checkout session is automatically marked as cancelled.
Behavior by integration mode:
Error URL
Non-recoverable errors (system failures, authentication issues) redirect customers toerrorUrl with diagnostic query parameters.
Recoverable errors like card declines are handled inline on the checkout page — the customer sees the error and can retry immediately. Only non-recoverable errors trigger the
errorUrl redirect.cancelUrl — no extra work required.
If you prefer a custom error page, parse these query parameters:
Error Codes
Always Verify Before Fulfilling Orders
A malicious user could attempt to visit your success URL directly. Always check the session status:Session Statuses
Summary
Next Steps
- Want popup or iframe instead of redirect? → Integration Modes
- Having issues? → Troubleshooting
- Need all the details? → API Reference