-
Notifications
You must be signed in to change notification settings - Fork 992
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
[π³] Saving credit cards #368
Conversation
Updated strings. First pass of new card screen. Does basic card validation.
β¦atchers to properly disable and enable save button
# Conflicts: # app/src/main/java/com/kickstarter/mock/services/MockApolloClient.kt # app/src/main/java/com/kickstarter/services/ApolloClientType.kt # app/src/main/java/com/kickstarter/services/KSApolloClient.kt # app/src/main/java/com/kickstarter/ui/activities/AccountActivity.kt
β¦AS and it was easier to just do it as a LinearLayout
Finished tests.
β¦ saving the card
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
} | ||
//why wouldn't this just be an error? | ||
val createPaymentSource = response.data()?.createPaymentSource() | ||
if (!createPaymentSource?.isSuccessful!!) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So if createPaymentSource
!=null
and is not successful then set the error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes π
What
Users can now save credit cards to their account π
How
MockStripe
andCardFactory
classes for testing β¨CardInputWidget
doesn't properly tell me when it has focus or properly determine if a card is valid (IMO~)see