te use case is that I want authorize for the full amount, but this amount is charged as multiple orders and want to tag each charge with a different order id
Woet
well you can do that using metadata
cover has quit
ozonelc
so user types in CC info only once, but sees multiple charges on his statement
each charge for a different order id
Woet
you can do that
ozonelc
and all these add up to the initial auth
Woet
as long as it's the same or less, it'll work
jpo has quit
ozonelc
Woet: awesome. thanks...
Woet
wait
i am not certain whether you can capture the same charge multiple times
what is your use case?
because you could just create multiple charges (all of them authorised)
and then capture the ones you want
ozonelc
I have a cart with 3 items that totals to 100$
product 1:( 75$) , product2:(25$) and product3:(50$)
Woet
okay
ozonelc
I want the customer to type in cc only once and get auth got 150$
Woet
and why do you want to charge them separately
i mean it's possible
just authorise them separately and capture them separately
ozonelc
then I bundle product1 and product 2 ( sub total : 100$) into order #1
I ave to maintain the customer token in my DB and an additional API call
was trying to avoid that
Woet
you don't have to store the token in your DB
if you insist
but.. i don't really see the problem with that either
ozonelc
so, the next time the customer uses the same CC card, will I be assigned a new customer token ?
that I can use and throw ?
Woet
well
you either store the customer ID
and you will only ask for the CC info once
or you don't store the customer ID
and you ask for the CC info on each order
ozonelc
thats whats I wanted clarification on.
I dont seem to have a choice but work with the customer object
Woet
i still dont see the problem with that
im not sure how else you think it'd work
ozonelc
as I dont want the customer to type in the CC info twice for the same shopping cart checkout
Woet
it won't be needed for the same checkout provided you create all the charge objects straight away
(wont be needed to store the customer ID)
ozonelc
I was hoping that I could get an auth (150$) and charge them in chunks ( order #1: 100$ and order #2: 50$) with each chunk having the order id tag in the mete data
*meta
Woet
yes
you said that
that is possible.
with or without storing the customer ID
ozonelc
yes, this is my preferred option
Woet
okay
that is possible.
ozonelc
thanks.. just wanted a validation that this would work
Woet
create a auth charge for each chunk
capture them later
an auth charge *
stripe joined the channel
ozonelc
but what I want to do is : 1 auth (150$) and 2 captures(100$ + metadata= order #1) and (50$ + metadata= order #2) without registering the customer object
Woet
yes
you mentioned that a few times
ozonelc
will try it out
Woet
i am pretty sure you cannot do 1 auth with 2 captures
create a customer object, then do 2 auths
ozonelc
ok..
Woet
no need to store the customer ID except temporarily
ozonelc
ok
Woet: thanks for your time
Woet
no problem
boucher_ joined the channel
ozonelc
Woet: However, I am still disappointed with lack of response from stripe support
Woet
nothing i can do about that
ozonelc
I know, hoping that stripe support read this message :)