#PushPressCEO -Tokenization-Connect
1 messages ยท Page 1 of 1 (latest)
Putting your second message ehre
and I'm trying to figure out - can we tokenize a card, and pass in an actual card or bank account ID
Can you clarify what you mean here?
What do you want to pass where?
so we hold the token / card info on our connect side
and we tokenze for our clients to use each charge.
the issue I'm seeing is when we have a customer with two diff payment methods, it only tokenizes the default
so hoping you have something like this:
$payment_reference = \Stripe\Token::create([
"customer" => $billing->getApiCustomerReference(),
"card" => $billing->getApiPaymentReference()
],[
"stripe_account" => $stripe_account_id
]);
(we don't have the "card" option now)
When you say "our connect side" do you mean your platform account?
yes
yes that's exactly what we're doing.. but check out the token part
it just tokenizes the default, but it mentions you can pass in a card or bank account to use that one
but I can't a definition for it
Still looking and testing
It looks like you can pass the card or bank account id as the card or bank account parameters card='card_123' and bank_account=ba_123 respectively
Can you try running that with one of those on your side?
yeah, on a call right now so I'll do that in a sec
No worries, testing myself right now as well. Will let you know what I see
I have been able to make a tokens by passing in card='card_123'
So that should work and let you do the later steps
do you tink bank_account is needed or we can push it as card?
Yes that would need to be sent as bank_account
ok great!
Glad I could help. I do see how the docs are not clear in that aspect. I will see if we can get that to be clearer
thanks a ton!