#nreddy-tokenize-credentials
1 messages · Page 1 of 1 (latest)
Stripe has been tokenizing card credentials for many years, so we don't have support for VST since we're already handling that step
can you share documentation on how to implement it ?
All of our products tokenize payment credentials. There isn't one singular way to tokenize card credentials
nreddy-tokenize-credentials
can you explain this more?
currently we have integrated stripe payment-intent APIs in accepting payments. And would like to see how tokenization works with Stripe and understand the advantages of using tokens.
If you're using Payment Intents APIs to create charges, then you're already doing it. What are you using on the front-end to accept card details?
hmm, on front-end we use PaymentIntent confirm API to pass customer credentials directly.
That doesn't make any sense. The Payment Intent confirm API is a server-side function unless you're using Stripe Elements on the front-end
give me a minute to exact explain what we use currently.
On front-end we use stripe js library to make few apis calls from client side and also use card elements from react-stripe-js.
"dependencies": {
"@stripe/react-stripe-js": "1.1.2",
"@stripe/stripe-js": "1.8.0",
}
the api call we use to pass payment-methods creds is https://api.stripe.com/v1/payment_intents/{payment-intent-id}/confirm
Hey there just stepping in for two-shoes who needs to head out -- reading over the above now
Those payment method details will typically be collected client side using stripe.js (possibly via our react elements package) which handles that tokenization for you.
What exactly are you having trouble with?
so how do you I use these tokens that was created ??
Can you share some details of your integration, or any guide you're following?
In-fact I know that stripe creates payment-method object every time a customer enters card credentials. Does this mean the payment-object itself represents tokens ?
For example, you might be using the PaymentElement with react-stripe-js :
https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements#add-the-payment-element-component
and you'd have the option to specify setting up the payment method for later use, when supported with setup_future_usage=off_session:
https://stripe.com/docs/payments/save-during-payment?platform=web#web-create-payment-intent
when we set the setup_future_usage=off_session and also provide stripe customer-ID, the token for that particular payment-methods gets automatically saved to the customer in stripe.
okay, yes understood. I can list them as saved payment-methods to customer or use them for subscription charges.
So as per my understanding tokenization on stripe is implemented for all payment-methods my default for cards, wallets, giropay, ideal, sepa Diect Debit and so on. And is mostly used to save payment-methods on stripe customer object.
correct me if I am wrong.
Sort of. What are you trying to do, exactly?
Or, rather, what isn't working like you expect it to?
I recently came across VTS, and started to know that the processing fee for card payments using VTS is much less than on Stripe. I am trying to understand how VTS tokenization works and see if Stripe supports VTS or any such tokenization, so we could reduce our processing fee per transaction.
We provide tokenization via Stripe.js and our Elements, so that's what we recommend using.
https://stripe.com/guides/understanding-benefits-of-network-tokens#what-are-network-tokens
in this documentation, on the sequence diagram where is says sends payment request with stored stripe token
what exactly is the stored stripe token in this context ?
That would be something like a payment method pm_123 or a card object card_234 etc
hmm, pm_123 (payment_menthod ID) is what I excepted the token to be, but can you explain what card_123 is?
Just another representation of card details from older APIs:
https://stripe.com/docs/api/cards
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
👍 , can I know if using stored payment-methods on the customer has cost benefits on processing fee.
And also will there be any fees for saving or editing payment-methods on customer objects.