#varol
1 messages · Page 1 of 1 (latest)
hi! not sure, did you get an error when you tried?
in general we don't recommend using ad-hoc Prices , they're more of an 'escape hatch' , so some functionality might not be supported, it's better to create the Price upfront and pass its ID
Yes, got an error like this:
parameter_unknown - line_items[0][price_data][custom_unit_amount]
yep, since the only accepted field are the one mentioned at https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-price_data-product_data