From 86ef9dc29c4cc9198ad342cf2ec20ad13d92af25 Mon Sep 17 00:00:00 2001 From: Isaac Dubuque Date: Tue, 2 Jan 2024 20:17:43 -0800 Subject: [PATCH] Isaac/payments fixes (#1131) * minor error * adding contractArgs in example --- .../0 Embedded Elements/1 CheckoutWithCard.mdx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/onboarding/22 NFT Checkouts/1b Advanced Guides/0 Embedded Elements/1 CheckoutWithCard.mdx b/docs/onboarding/22 NFT Checkouts/1b Advanced Guides/0 Embedded Elements/1 CheckoutWithCard.mdx index 64a4b00c8..b37d6fa5b 100644 --- a/docs/onboarding/22 NFT Checkouts/1b Advanced Guides/0 Embedded Elements/1 CheckoutWithCard.mdx +++ b/docs/onboarding/22 NFT Checkouts/1b Advanced Guides/0 Embedded Elements/1 CheckoutWithCard.mdx @@ -54,11 +54,15 @@ import { CheckoutWithCard } from "@thirdweb-dev/react"; currency: "ETH", }, }, + // contractArgs (for thirdweb contracts) + contractArgs: { + tokenId: 0, + }, }} onPaymentSuccess={(result) => { console.log("Payment successful:", result); }} -/>; +/> ``` ### `CheckoutWithCard` props