External & Hosted Payment Pages
A payment page lets a customer securely add a payment method or pay an invoice without walking through a full checkout journey. This matters for moments outside the initial sale — collecting a card after a trial, updating an expired card, or settling a one-off invoice — where a lightweight, linkable page is faster than a full flow. Payment capture always runs on the billing provider's hosted payment page (for example Zuora's), so card and bank details go straight to the provider and never touch PeakCommerce servers, keeping your PCI scope minimal.
What you can do
Add a payment method — capture and store a default payment method on the customer's account, optionally enabling auto-pay.
Pay an invoice — present a specific invoice (with an optional partial-payment amount) and collect payment, storing the method for future use.
How it works
Build a Payment-type page in Content → Pages and drop in the payment component, which embeds the provider's hosted page (curated in Settings → Hosted Pages).
Publish the page to get its public slug/URL.
Link customers to it — for example from a billing email (see Add payment page links to Zuora email templates).
Pass prefill parameters on the URL (such as the account and invoice id) so the page opens already scoped to the right customer and balance.
Key concepts
Hosted pages are configured once. Each hosted payment page is registered against a billing integration in Settings → Hosted Pages (provider page id, name, and version); your Payment-type pages reference that registration rather than re-entering provider config.
The provider owns the card form. PeakCommerce orchestrates and records the result, but the sensitive capture happens inside the provider's iframe.
Gotchas
The hosted page must be registered in Settings → Hosted Pages before a Payment-type page can embed it; an unregistered or stale provider page version will fail to load.
Prefill params scope the page — omit the account/invoice and "pay an invoice" has nothing to settle. Double-check the URL parameters when building billing-email links.
A payment page is for capture and invoice payment, not for changing what a customer is subscribed to — for that, see Updating Subscriptions Through Ecommerce.
Last updated
Was this helpful?
