#StefanoPe-Checkout

1 messages ยท Page 1 of 1 (latest)

hard lava
#

๐Ÿ‘‹ 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

cyan quartz
#

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

hard lava
cyan quartz
#

i read the docs, which one is description?

hard lava
#

you can't pass description when creating a Checkout Session

cyan quartz
#

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

hard lava
#

the short answer is you can't

cyan quartz
#

clear

#

so, last question

#

can in choose my session id?

hard lava
#

if you need to pass custom data you could use metadata

#

what are you trying to achieve

cyan quartz
#

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

hard lava
cyan quartz
#

if i didn't find this ID on stripe he can't find the order on the ecommerce platform

#

great

#

thank you tarzan

hard lava
#

let me know if you need any more help

cyan quartz
#

i'm ok for now

#

i'll let you know if it works for my boss

#

thank you

#

sorry for the pressing

hard lava
#

no worries at all