CityPay JS Demo

Example Pages

Use these pages to exercise the main intent-first integration and the alternative checkout-context flow.

Payment Intent

Creates a Payment Intent before mounting Elements. This is the main checkout flow.

Checkout Context

Mounts payment UI before a final Payment Intent exists. Exchange happens when the shopper commits.