#Marno-Checkout

1 messages · Page 1 of 1 (latest)

finite jolt
#

sure, have a look at metadata on the CheckoutSession object.

plush flax
#

Thanks, does this work for the pre-built checkout page?

finite jolt
#

what do you call "the pre-built checkout page"?

plush flax
#

The checkout page generated when you follow a payment link

finite jolt
#

that is the same thing as Checkout.
So there, well it's a static link so you can't really pass any metadata

#

since you're not running any code on the page where the customer is at so dynamically know their Salesforce details right? So you can't really pass that. If you are running code in the customer flow and know that information, you would create a CheckoutSession directly using metadata, no need to use a PaymentLink

plush flax
#

My scenario is: I have a system where the user signs up (this creates salesforce account which I can reference), then I go to payment process. can I the use what is described in the above link to pass through the salesforce ID in the Checkout session which will take the user to a page to enter account details/create account?

finite jolt
#

you can yes