#StefanoPe-Checkout
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
your checkout session is for a one-off payment which doesn't create an invoice
the invoice id is not null on the checkout session when the mode is subscription and the payment is recurring
Hi tarzan , thank you for you answer
so, how can i set up these values
id,"description","seller_message","created","amount","amount_refunded","currency","converted_amount","converted_amount_refunded","fee","tax","converted_currency","status","statement_descriptor","customer_id","customer_description","customer_email","captured","card_id","invoice_id","transfer"
do i need to re implement it in another way
?
description could be a good one if invoice is unavailable in my implementation
some values are still setted up from stripe and i don't need to overwrite
when creating a Checkout Session these are the available parameters you can pass https://stripe.com/docs/api/checkout/sessions/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
i read the docs, which one is description?
you can't pass description when creating a Checkout Session
i see
how can implement it in order to pass invoice id or description? Boss asking, i need to solve ๐ sorry for pressing
a documentation link will be good
the short answer is you can't
when i create a stripe sesson, can i pass a session id instead of make stripe create one?
i neet to pass an identifier in order to let the boss use it for matching stripe order and platform orders
*need
my boss uses stripe report to find stripe orders
he needs to find the order id both on stripe and on his ecommerce
you could use the client_reference_id https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-client_reference_id
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
if i didn't find this ID on stripe he can't find the order on the ecommerce platform
great
thank you tarzan
let me know if you need any more help
i'm ok for now
i'll let you know if it works for my boss
thank you
sorry for the pressing
no worries at all