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

Create test mode indicator #4214

Merged
merged 8 commits into from
Sep 24, 2021
Merged

Create test mode indicator #4214

merged 8 commits into from
Sep 24, 2021

Conversation

skyler-stripe
Copy link
Contributor

@skyler-stripe skyler-stripe commented Sep 23, 2021

Summary

Adds a text view at the top of sheet activities that shows if the user is in testmode or not. If the Intent has a liveMode of false then we will show the view.

I tried to model it after the iOS version as much as possible.

Motivation

It's nice to know your payment sheet implementation is working on test mode, plus iOS and Web already have this view.

Testing

  • Added tests
  • Modified tests
  • Manually verified

Screenshots

@github-actions
Copy link
Contributor

Diffuse output:

@skyler-stripe skyler-stripe changed the title [WIP] Create test mode indicator Create test mode indicator Sep 23, 2021
@skyler-stripe skyler-stripe marked this pull request as ready for review September 23, 2021 00:38
@ccen-stripe
Copy link
Collaborator

Thanks for the change, this is a public UI change to production users, just wondering do we have a UI sign-off on this?

@skyler-stripe
Copy link
Contributor Author

Thanks for the change, this is a public UI change to production users, just wondering do we have a UI sign-off on this?

working on this now

paymentsheet/res/values/strings.xml Outdated Show resolved Hide resolved
ccen-stripe
ccen-stripe previously approved these changes Sep 24, 2021
@skyler-stripe skyler-stripe dismissed brnunes-stripe’s stale review September 24, 2021 19:19

fixed issue. afraid of red merge button.

@skyler-stripe skyler-stripe merged commit 293d905 into master Sep 24, 2021
@skyler-stripe skyler-stripe deleted the testmode branch September 24, 2021 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants