Developer

Widget demo

Paste a merchant publishable key and a product id (create one in the admin portal), then open the payment modal. This is exactly what the embedded button does on a merchant's site.

Embed code
<script src="/widget.js"
  data-publishable-key="pk_…"
  data-product="starter-pack"></script>

<button data-xpay>Pay now</button>