From 8e7fa223e0d10f92a5304099d3d51025546f78b4 Mon Sep 17 00:00:00 2001 From: Isaac Dubuque Date: Tue, 2 Jan 2024 18:28:01 -0800 Subject: [PATCH 1/2] minor error --- .../0 Embedded Elements/1 CheckoutWithCard.mdx | 2 +- 1 file changed, 1 insertion(+), 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 d5194dbae..ee19633b1 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 @@ -58,7 +58,7 @@ import { CheckoutWithCard } from "@thirdweb-dev/react"; onPaymentSuccess={(result) => { console.log("Payment successful:", result); }} -/>; +/> ``` ### `CheckoutWithCard` props From f4adaa6db90d4a0fe63f8b28b93ffbb894ae41cb Mon Sep 17 00:00:00 2001 From: Isaac Dubuque Date: Tue, 2 Jan 2024 20:10:03 -0800 Subject: [PATCH 2/2] adding contractArgs in example --- .../0 Embedded Elements/1 CheckoutWithCard.mdx | 4 ++++ 1 file changed, 4 insertions(+) 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 ee19633b1..c21763337 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,6 +54,10 @@ import { CheckoutWithCard } from "@thirdweb-dev/react"; currency: "ETH", }, }, + // contractArgs (for thirdweb contracts) + contractArgs: { + tokenId: 0, + }, }} onPaymentSuccess={(result) => { console.log("Payment successful:", result);