#femina.agravat-adhoc-prices
1 messages · Page 1 of 1 (latest)
Hi there 👋 if you want to provide prices in an adhoc fashion, then you'd provide the necessary information via the line_items.price_data parameter:
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-price_data
https://stripe.com/docs/payments/checkout/migrating-prices#server-side-code-for-inline-items
When i tried with price_data it gave me error like
"You must provide at least one recurring price in subscription mode when using prices."
What did you pass for line_items.price_data.recurring?