Use Web SDK integration when you need a merchant-hosted checkout UI on your own site while delegating sensitive payment data handling and 3D Secure/SCA flows to Onerway.
Compared with Hosted Checkout, Web SDK gives you stronger UX and flow control, but requires frontend-backend orchestration. Compared with Direct API integration, Web SDK preserves customization while reducing PCI DSS scope (typically SAQ A) and implementation complexity.
Integration profile
Core strengths and ideal scenarios
SDK capabilities
Use the following implementation sequence:
transactionId and redirectUrl.transactionId and redirectUrl to the frontend.transactionId and redirectUrl, then mounts it to the target DOM container.Learn how to load the SDK, initialize instances, manage component lifecycles, and deeply customize form styles through CSS properties.
Designed for common one-time charge scenarios (Sale/Auth). Use SDK components to securely collect card data and complete authorization and capture.
| Dimension | Hosted Checkout | Web SDK | Direct API |
|---|---|---|---|
| Page control | Low (rendered and hosted by Onerway) | Medium to high (merchant controls layout; core payment form is component-based) | Very high (full-stack merchant-built flow) |
| Engineering effort | Very low (backend redirect integration only) | Medium (frontend-backend coordination for state and event handling) | High (requires low-level payment routing and exception handling) |
| PCI DSS scope | SAQ A | Typically SAQ A (subject to implementation scope and compliance assessment) | At least SAQ D or higher (high compliance cost) |
| Recommended team profile | Limited engineering resources, fast go-live validation | Teams prioritizing branded native UX with solid engineering capabilities | Teams with professional payment gateway engineering and high compliance maturity |
| Typical business scenarios | Standard DTC e-commerce, outsourced business lines | Brand flagship checkout and unified cross-channel checkout UI | Platform-level payment routing (Payment Orchestration) |