#Zelda
1 messages · Page 1 of 1 (latest)
Hi, if you're looking to add one time item to a subscription, you can by passing: https://stripe.com/docs/api/subscriptions/create#create_subscription-add_invoice_items.
I do not know much about lavavel, and since they've built the plug in, I'd recommend that yo reach out to them for next steps.
cashier is just a wrapper i can still access the Stripe SDK
ok so if a customer checks out with subscription and purchase product(s) i just add invoice items to subscription, and on the next subscription payment it will just be the subscription and not contain any of the purchase products yeah?
That is correct.
Otherwise, you cannot combine one time payment and recurring prices, hence there is no documentation on this. Expect, the above invoice items for one time
makes sense
can I still use stripe.confirmPayment with subscriptions?
i would like to use the recommended paymentElement
Yeap, you'd want to follow this guideline, https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements
thanks ill read up on that, one last question does every subscription have to link to a product (price_product_id) in stripe?
Yeap! You can learn more about it here: https://stripe.com/docs/billing/subscriptions/overview
thanks for all your help @wraith cradle im new to using stripe so lots to learn