Commerce payments with fiat or crypto
Let your users pay for any service with fiat or crypto on any chain.
Commerce
Take paymets from Fiat or Crypto directly to your seller wallet.
Get notified for every sale through webhooks, which lets you trigger any action you want like shipping physical goods, activating services or doing onchain actions.
import { PayEmbed, getDefaultToken } from "thirdweb/react";
import { base } from "thirdweb/chains";
function App() {
return (
<PayEmbed
client={client}
theme={"light"}
payOptions={{
mode: "direct_payment",
paymentInfo: {
amount: "35",
chain: base,
token: getDefaultToken(base, "USDC"),
sellerAddress:
"0xEb0effdFB4dC5b3d5d3aC6ce29F3ED213E95d675",
},
metadata: {
name: "Black Hoodie (Size L)",
image: "/drip-hoodie.png",
},
}}
/>
);
}