pay(). You set the dollar amount and your receiving address; the customer approves in their Base Account, gas is sponsored automatically, and the payment settles on Base in under two seconds.
Demo
Charge the customer
checkout.ts
pay() from its onClick.
See also
- Verify a payment ยท Collect payer info
pay()reference