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

Add custom asset to Add Card VC for entering Amex CVC #1046

Merged
merged 5 commits into from
Dec 4, 2018

Conversation

danj-stripe
Copy link
Contributor

Summary

The payment text field has different assets for CVC, based on whether the card is an amex or not. Adding the same distinction to the card icon on STPAddCardViewController

simulator screen shot - iphone 5s - 2018-11-19 at 17 08 22
simulator screen shot - iphone 5s - 2018-11-19 at 17 08 14

amex-flip

Motivation

IOS-83

Testing

Manually tested in the example app.

@danj-stripe
Copy link
Contributor Author

This PR is waiting on new assets.

The cvc is found on the front of the card, not the back, so a flip animation doesn't
make sense for Amex cards.
@danj-stripe
Copy link
Contributor Author

danj-stripe commented Nov 30, 2018

Updated assets, and used cross-dissolve instead of flip for Amex:
simulator screen shot - iphone 6 - 2018-11-30 at 14 19 29
simulator screen shot - iphone 6 - 2018-11-30 at 14 19 30

@danj-stripe danj-stripe merged commit f739608 into master Dec 4, 2018
@danj-stripe danj-stripe deleted the danj/bugfix/amex-cvc branch December 4, 2018 20:50
yuki-stripe pushed a commit that referenced this pull request May 3, 2022
Migrated SaveCheckboxElement to StripeUICore and
renamed to CheckboxElement so it can be shared
with StripeIdentity.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants