← Checkout Web overviewSTEP 05 / 05
Complete the full payment flow in sandbox before requesting production validation. Confirm that the browser, backend and order status agree.
Implement these recommendations as you integrate Web Checkout with Alignet One Flex.
Flow responsibilities
Backend
Generates tokens, issues the
nonce, validates final statuses, and updates orders.Frontend
Initializes Flex, displays checkout, and handles callbacks to improve the user experience.
Security
Nonce and tokens
Nonce and tokens
- Generate the
Access Tokenandnoncefrom the backend. - Do not expose credentials or tokens in JavaScript, HTML, logs, or analytics.
- Renew temporary credentials when they expire.
Callbacks
Callbacks
- Use
responseCallbackfor user experience. - Use
trackingCallbackfor flow traceability. - Use
onErrorCallbackfor controlled messages and support.
Asynchronous methods
Asynchronous methods
- For QR, Cuotéalo, or PagoEfectivo, confirm the result through a query or notification.
- Handle pending, expired, and declined statuses.
- Avoid duplicating orders when customers retry.
Recommended UX
- Show clear messages for approved, declined, pending, or canceled payments.
- Keep the operation number available for support.
- Validate Flex on desktop and mobile devices.
- Test the language, close button, and visible payment methods before production.
This guide covers Flex implementations, including the frontend,
nonce, payment response and final result validation.Checklist base
1. Preparation
1. Preparation
- Business and technical requirements reviewed.
- Credentials and testing environment available.
- Domain, return pages and callbacks defined.
- Checkout flow confirmed for the merchant.
2. Technical configuration
2. Technical configuration
- Authentication working to generate a
tokenornonce. - Libraries or frontend components loaded correctly.
- Mandatory parameters sent with proper format.
- Styles and visual experience reviewed within the checkout.
3. Flow Validation
3. Flow Validation
- Approved transaction completed correctly.
- Declined transaction validated with error handling.
- Authorization response processed by the frontend.
- Asynchronous methods tested if activated.
4. Confirmation and consistency
4. Confirmation and consistency
- Final status confirmed from backend or through consultation.
- Duplicates and retries handled safely.
- Order or payment updated correctly in your system.
- Minimum logs available for support and diagnosis.
5. Production
5. Production
- Sandbox completed with the required test evidence.
- Production configuration reviewed for the target environment.
- Critical flows tested with integration team.
- Integration ready for go-live.
Minimum approval criterion
Approved purchase
At least one approved flow validated end to end.
Rejected purchase
Decline handling and customer messages fully validated.
Consistent result
Frontend, backend and final payment state aligned before production.

