#Vinny GG
1 messages · Page 1 of 1 (latest)
How can I help?
In the parameter of the items in the signature creation, I was in doubt in the children price and price_data. Since I'm creating a new subscription and also a new price, should I use price_data right?
Yes, if you want to create the Price object inline (at the same time) as the Subscription, you'd use price_data.
Otherwise if you already have a Price object (price_xxx) then you'd pass that to price and omit price_data.
in price_data I can create multiple prices or just one ?
One per line. If you need to add multiple items to the subscription, you'd add n items each with their own price/price_data
I would have an example in php with the creation of price_date
in the documentation it only has price
thank you very much this example helped me
np!