> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://ixopay.ferndocs.com/developer-hub/documentation/guides/getting-started/accept-payments/hosted-fields-payment-js/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://ixopay.ferndocs.com/_mcp/server. # Hosted fields — payment.js payment.js is a flexible way to accept payments that requires programming knowledge. With payment.js, you have full control over the look and feel of your payment form, and the customer remains on your website during the payment process, rather than being redirected. ```mermaid %%{ init: { "sequence": {"mirrorActors": false} } }%% sequenceDiagram actor C as Customer participant B as Merchant website participant M as Merchant backend participant G as IXOPAY platform participant PSP C-->>B: Checkout B->>B: Load payment.js B->>B: Define your payment fields B->>+G: Initialize payment.js G-->>-B: Load