diff --git a/docs/base-account/guides/accept-payments.mdx b/docs/base-account/guides/accept-payments.mdx index 2bd176355..6b83927fd 100644 --- a/docs/base-account/guides/accept-payments.mdx +++ b/docs/base-account/guides/accept-payments.mdx @@ -36,7 +36,7 @@ import { pay, getPaymentStatus } from '@base-org/account'; try { const payment = await pay({ amount: '1.00', // USD amount (USDC used internally) - to: '0xRecipient', // your address + to: '0x...', // your address testnet: true // set false for Mainnet }); @@ -70,7 +70,7 @@ Need an email, phone, or shipping address at checkout? Pass a payerInfo { try { - const payment = await pay({ amount: '5.00', to: '0xRecipient' }); + const payment = await pay({ amount: '5.00', to: '0x...' }); console.log(`Payment sent! Transaction ID: ${payment.id}`); } catch (error) { console.error(`Payment failed: ${error.message}`); diff --git a/docs/base-account/quickstart/web-react.mdx b/docs/base-account/quickstart/web-react.mdx index 4e90f4a54..d521cb593 100644 --- a/docs/base-account/quickstart/web-react.mdx +++ b/docs/base-account/quickstart/web-react.mdx @@ -101,7 +101,7 @@ export default function Home() { try { const { id } = await pay({ amount: '0.01', // USD – SDK quotes equivalent USDC - to: '0xRecipientAddress', // Replace with your recipient address + to: '0x...', // Replace with your recipient address testnet: true // set to false or omit for Mainnet }); @@ -207,7 +207,7 @@ export default function Home() { **Note:** -Make sure to replace `0xRecipientAddress` with your recipient address. +Make sure to replace `0x...` with your recipient address.