#MarkB
1 messages ยท Page 1 of 1 (latest)
@dense osprey any advice?
I am trying to send forecast data to user for flight and wanted to send the flight schedule and date of flight to the stipe checkout link.
Need a way to send the data either via product description or custom field.
so that it is recorded on stripe
What do you mean "recorded on stripe"?
To be saved in the transaction
and can also be retrieved in the session
Like Turbulence Forecast
Flight AAL2 March 23, 2023
which will be different for each user
Okay that sounds to me like Product data. I would set that in the description. You can dynamically set product data when creating the Checkout Session using the line_item.price_data.product_data parameter: https://site-admin.stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-price_data-product_data
ok thanks @dense osprey will check
Happy to shed what ๐ก I can ๐
Okay so do you think that approach will work for you?
@dense frost