#kyle1221
1 messages · Page 1 of 1 (latest)
Hi there!
Can you share the ID (req_xxx) of the failing API request?
https://support.stripe.com/questions/finding-the-id-for-an-api-request
req_dDGUkks1O7NUps
You are passing the value false to the attribute items.0.price
https://dashboard.stripe.com/test/logs/req_dDGUkks1O7NUps
You need to pass a priceId instead:
https://stripe.com/docs/api/subscriptions/create#create_subscription-items-price
its weird cus if i log the parameters im passing
["price_1Ljz2zDEdiMvtemhuhsViAT0","price_1LjyX6DEdiMvtemhDI61f7WN"]
this is what i get
this must be laravel cashier issue, i think
I think you are following this use case ?
https://laravel.com/docs/9.x/billing#subscriptions-with-multiple-products
yes i did array of price
OHH wait, i think i got it
this is not working (" ")
["price_1Ljz2zDEdiMvtemhuhsViAT0","price_1LjyX6DEdiMvtemhDI61f7WN"]
this is working (' ')
['price_1Ljz2zDEdiMvtemhuhsViAT0','price_1LjyX6DEdiMvtemhDI61f7WN']
it must be [' ']
Glade to hear that you resolved your issue! Don't hesitate to come back with any follow up questions 🙂
thank you so much