#prycellek1992
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
yes that's possible with add_invoice_items field
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
this will be charged with the first invoice
hmm in my case lets say if user after 3 monts want to purchase additional tokens can I create instant charge right now? or i will need to create invoice?
it depends on what you need
i need to charge instantly
then you can create a separate one-off invoice
thanks! ๐
actually one more question ๐
If I use to purchase subscription Checkout sesion I want my users to provide company details etc which will appear on invoices. Right now they are providing name and email. How I can achive that?
you need to enable it here https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-tax_id_collection-enabled
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
you could test it out
let me know if you need any more help
actually before I go how long checkout session iis valid before expired by default?
24h
you can change it with this param https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-expires_at
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
yes
you can choose what to do after expiration using this field https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-after_expiration
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.