Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CardMultilineWidget not supporting setting of values #532

Closed
Flash91FS opened this issue Mar 8, 2018 · 3 comments · Fixed by #1434
Closed

CardMultilineWidget not supporting setting of values #532

Flash91FS opened this issue Mar 8, 2018 · 3 comments · Fixed by #1434
Assignees
Labels
enhancement triaged Issue has been reviewed by Stripe and is being tracked internally

Comments

@Flash91FS
Copy link

Flash91FS commented Mar 8, 2018

Hi,
I am using Stripe library "com.stripe:stripe-android:5.1.0"
While using its CardInputWidget and CardMultilineWidget, i found out that CardMultilineWidget does not support programatically setting of values i.e. Card number, Expiry Date and CVC, whereas the CardInputWidget has setter methods in it which support this feature.
CardInputWidget has these public methods in its class
public void setCardNumber(String cardNumber){...}
public void setExpiryDate(int month, int year){...}
public void setCvcCode(String cvcCode){...}
Whereas CardMultilineWidget does not have these, so is there a reason as to why these aren't available for CardMultilineWidget?
Actually the thing is that i am using this library with card.io library that will scan the card and retrieve these values and show them in CardMultilineWidget to the user. So i wanna ask that, is there a workaround for it to set these values and show them in CardMultilineWidget, without the need of user to entering them manually?

@joel-stripe
Copy link
Contributor

Hi @Flash91FS:

Thank you for your request. This seems like a useful feature to have and I like the idea of integrating with card.io this way.

We'll keep this in mind for our future planning.

@atuldhanuka1990
Copy link

atuldhanuka1990 commented Nov 13, 2018

@joel-stripe any update on above bugs when it is going to release

@Flo354
Copy link

Flo354 commented Aug 28, 2019

Hi there,

Any news on this (cc @remi-stripe)? There is the method setCardNumber but no method setExpiryDate nor setCvcCode.

Thanks,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement triaged Issue has been reviewed by Stripe and is being tracked internally
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants