#vinny-subscription-error
1 messages · Page 1 of 1 (latest)
vinny-subscription-error
Hey @odd scaffold those are just pictures which makes it hard to debug things as a dev. What is your exact code? Because you're sending something quite wrong in the items array
that's not really code
that's some weird dump of data with a debugger or something
but why are you passing items like this? It doesn't take an object or a data parameter. You must be mixing up 2 different parts of the API
see https://stripe.com/docs/api/subscriptions/create which shows a clear example in all languages, including PHP
hmm true, I just need to pass the price, right?
yes by default, see https://stripe.com/docs/api/subscriptions/create#create_subscription-items
@odd scaffold did you figure it out?
yes, continue here anything I'll contact you again, thank you very much