#0xwess

1 messages · Page 1 of 1 (latest)

sleek isleBOT
wraith marlin
#

hi, the only option is to use a different Product prod_xxx instead, unfortunately.

errant sapphire
wraith marlin
errant sapphire
#

thanks @wraith marlin

#

so the steps would be on the server side:

  1. create new product via api
  2. create new session, and reference that product?
#

Also saw this api:

 line_items: [
      {
        // price: process.env.PRICE,
        price_data: {
          currency: 'usd',
          unit_amount: 1000,
          product_data: {
            name: 'Product name ...',
            images: [
              'https://picsum.photos/280/320?random=4',
              'https://picsum.photos/280/320?random=2',
            ],
          },
        },```
would that do the above steps all at once? in a single callr?