IntegrateIntegration modesHeadless CheckoutAdvanced GuidesOn this pageAdvanced Guides This section provides detailed guides on common integration tasks using the Purse Headless Checkout SDK. Each guide includes code snippets and explanations to help you implement specific features effectively. Topics: Payment Methods Gift Cards - Integrate gift cards and loyalty cards (Illicado, Ogloba, Buybox) Saved Payment Methods - Save and manage customer payment methods Digital Wallets - Implement Google Pay, Apple Pay, and PayPal Installment Plans - Simulate and display installment options (Alma, Klarna, Scalapay) Primary vs. Secondary Methods - Understand payment method types and splits Session & State Management Session Management - Update client and wallet sessions Manage Amounts - Track and display payment amounts UI & UX Customization - Customize the checkout experience Event Handling - Handle checkout events Hooks - Execute custom logic at key moments during payment flow Performance Optimization - Optimize loading and rendering performance Form Rendering Modes Hosted Fields - Render secure, isolated card input fields (vault credit card, full UI control) Hosted Fields — Brand Management - Detect and manage card brands with Hosted Fields Hosted Form - Embed a pre-built, PCI-DSS compliant payment form with moderate customization