Add the buyer checkout
The browser checkout belongs on the direct merchant’s own page. Its server creates the session, templates or fetches the session identifier, and the page mounts checkout into a container on an allowed origin. Initialize checkout on every load of that page so a buyer returning from PayPal can resume the payment flow.
Treat onApproved, onCancel, and onError as interface events. Fulfil only
after the merchant’s server has reconciled durable payment state. The shared
maxanapay.js reference records the checked option,
error, return, and capability contracts.
Current limits
Section titled “Current limits”The published maxanapay.js major channel mounts the PayPal wallet rail. Present the same server-created session with Hosted Checkout or Embedded Checkout when it needs a capability excluded below.
The checked v1 SDK contract also excludes card fields, 3-D Secure orchestration, Apple Pay, Google Pay, Pay Later messaging, App Switch, SDK-controlled shipping and billing-address collection, save-payment-method sessions, and sessions routed to Gr4vy or NMI. Pay Later buttons are separate from Pay Later messaging: the button may be eligible when the session advertises it, but the SDK does not render promotional messaging.
Continue to Receive webhooks.