Overview of ZenPay Hosted Checkout
Hosted Checkout is an integrated payment solution where the merchant's frontend initializes a JavaScript plugin (zpPayment(...)) using bootstrap data provided by the merchant's backend. The payment UI is hosted by ZenPay and can be launched as a modal iframe or a full-page redirect.
Key Responsibilities:
- Frontend: Requests bootstrap data, initializes the plugin, launches the flow, and handles the return-page UX.
- Backend: Securely stores credentials, generates the security fingerprint, creates unique payment IDs, and validates server-to-server callbacks.
When to use: Use Hosted Checkout when you want ZenPay to handle sensitive payment data and host the UI, while keeping your backend as the source of truth for payment state.