#felipezf.
1 messages · Page 1 of 1 (latest)
Hi
can you share some code snippets of what you want to access exactly ?
sure
I want to do something like that: stripe = new Stripe(getApplicationContext(), PaymentConfiguration.getInstance(getApplicationContext()).getPublishableKey());
stripe.createCardToken(binding.cardInputWidget.getCardParams(), null, null, new ApiResultCallback<Token>() {
I need to access the credit card params from the user input
the PaymentElement can't really create Tokens no.
what are you really trying to do, why do you want a Token?
why?
I need to create the credit card token with stripe.createCardToken method. To use this method, I need the CreditCardParams from the input. I can get this information using the Stripe CardInputWidget, but the form is too ugly 🙂 The one line form is not meeting the requirements that we need. If there is a way to setup the CardInputWidget to use multiple lines will work for me too.
I need to create the credit card token with stripe.createCardToken method.
why?
Tokens are mostly deprecated. What would you be doing with the Token?