#NotP_Dot

1 messages ยท Page 1 of 1 (latest)

cinder flameBOT
sour pollen
frigid trout
#

yeah I've been trying that but keep receiving an error from my backend. Would you mind letting me know if I am using a false syntax

stripe.Subscription.create( customer=customerID, add_invoice_items.price_data=[{ currency: "usd", product: "xxxxxx", unit_amount_decimal: "1999" }], items=[ {"price": subPriceId}, ], )

sour pollen
#
    price_data={
                currency: "usd",
                product: "xxxxxx",
                unit_amount_decimal: "1999" 
                }  
            }],```
I believe
frigid trout
#

thank you for this, let me give it a go

frigid trout
#

would you mind giving more insights on what the product attribute should look like. I am passing in an Id but keep receiving Request req_IWx05coAIRimVQ: No such product: 'price_1LkxfpI8IkWHMKdsMuC8oH6O'

sour pollen
#

You can create a Product via the API or Dashboard

#

But every Price has to have an attached Product