The Plug
Private USDC payments, in one button.
Configure
Live preview
Click to try the flownpm i @swishdotcash/plug — react is the only peer dependency.
import { Plug } from "@swishdotcash/plug";
<Plug
reference="order_1234"
onSuccess={(sig, ref) => markOrderPaid(ref)}
/>recipient, amount, and reference are all optional. Omit recipient to let the payer choose, amount to let them type it, and reference if you have no order to track — it's just your own order id, echoed back untouched in onSuccess so you can match a payment to your order.