multiple line items stripe checkout code example
Example: stripe multiple line items
line_items: [
// ONE ITEM
// {
// name: product.name,
// description: product.description,
// images: [product.image],
// amount: product.amount,
// currency: product.currency,
// quantity: validatedQuantity,
// },
// MULTIPLE ITEMS
{
name: 'F02',
images: [
'',
],
amount: '74900',
currency: 'sek',
quantity: 2,
},
{
name: 'F01',
images: [
'',
],
amount: '74900',
currency: 'sek',
quantity: 1,
},
],