The Plug · by Swish

Private USDC payments,
in one button.

Drop the Plug into any site. Your users pay privately on Solana — no protocol plumbing, no custody, no fees. Configure it below and copy the snippet.

Configure

Live preview

The real button + modal — click to try the flow.

 

npm 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.