Hosted Payment Page (Cashier)
A fully hosted secure payment solution
Overview
The Praxis Payment Page is the fastest way to integrate payments, offering a seamless checkout experience to your customers via IFrame or full-page redirect.
Key Features:
- Low-effort integration – Reduce development effort while benefiting from a flexible payment flow inside an IFrame or redirect page.
- Multiple payment methods – Accept cards, bank transfers, and various local payment solutions through a single integration.
- Localized user experience – Automatically adapts to customers' preferred language, currency, and previously used payment methods.
- Built-in security & compliance – Fully PCI-DSS compliant with secure handling of sensitive payment data.
- Customizable UI – Modify the look and feel of the payment page, including branding and layout, to match your business needs.
For merchants who want a ready-to-use payment solution without the complexity of handling security and compliance, the Praxis Payment Page is the perfect choice.
View the demo here.
If you want a ready-to-use payment solution without the complexity of handling security and compliance, the Praxis Payment Page is the perfect choice.
Integrating Cashier
You can either redirect customers to the Cashier page or embed it in an iframe on your website. To integrate the Cashier within a mobile application, use an in-app browser (WebView).
Below are the steps to integrate Cashier into your website:
1. Create a Cashier Payment Session
Initiate a Cashier Payment request to generate a session. The response will contain both a redirect_url and an auth_token.
You can then:
- Redirect the customer to the
redirect_url. - Embed it in an iframe on your payment page using the
redirect_urlas thesrc. - Initialize the Payment Page SDK directly on your frontend using the received
auth_token.
Important: This must be done from a browser so required headers like Origin and Referer are included for request validation.
Optional: Include a validation_url when creating the session. This will trigger a validation webhook after the customer submits their payment details in Cashier and before the transaction processing starts.
2. Validate Payment Details
The customer interacts with the Cashier UI to select a payment method and submit their payment details.
If a validation_url was provided in step 1, Cashier immediately sends a validation webhook to your server. This allows your system to approve or reject the submission based on business logic before the transaction is processed.
Validation rules:
- Triggered only if
validation_urlwas provided in the session request. "status": 0→ validation successful; payment proceeds.- Any other status → validation failed; the
"description"field is shown to the customer as the reason. - Timeout or malformed responses (missing fields, incorrect types, non-JSON, or invalid JSON object) → validation failure, transaction fails with a generic error.
3. Complete the Transaction and Receive Notification
After validation is successful, the payment is processed by Cashier.
After payment is processed:
- Cashier sends a transaction outcome notification to your server. Use this to update order status or trigger business logic.
- The customer is redirected to your
return_url, where you can display a confirmation page or show the payment outcome.
Updated 11 days ago