Skip to content

Commit 1795bb7

Browse files
lemuel-stripejaynewstrom-stripe
authored andcommitted
Update PaymentSheet to use 'TEST' instead of 'TESTMODE' for test flows (#10761)
* updated PaymentSheet to use 'TEST' instead of 'TESTMODE' for test flows * re-recorded screenshot tests * updated CHANGELOG because this is a large visual change * updated payment sheet example screenshots * Revert "re-recorded screenshot tests" This reverts commit 91ba17e. * updated screenshot tests for only relevant changes * updated screenshots to latest build from build binary
1 parent a8e403d commit 1795bb7

109 files changed

Lines changed: 8 additions & 4 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 5 additions & 1 deletion

payments-ui-core/res/values/donottranslate.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@
3838
<!-- <string name="paymentsheet_payment_method_item_card_number">····%1$s</string>-->
3939

4040
<!-- &lt;!&ndash; Label indicating the payment intent is in testmode &ndash;&gt;-->
41-
<!-- <string name="stripe_paymentsheet_test_mode_indicator">TEST MODE</string>-->
41+
<!-- <string name="stripe_paymentsheet_test_mode_indicator">TEST</string>-->
4242
</resources>

paymentsheet/res/values/donottranslate.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<string name="stripe_paymentsheet_payment_method_item_card_number">···· %1$s</string>
77

88
<!-- Label indicating the payment intent is in testmode -->
9-
<string name="stripe_paymentsheet_test_mode_indicator">TEST MODE</string>
9+
<string name="stripe_paymentsheet_test_mode_indicator">TEST</string>
1010

1111
<string name="stripe_paymentsheet_bacs_guarantee">Direct Debit Guarantee</string>
1212
<string name="stripe_paymentsheet_bacs_guarantee_url">https://stripe.com/legal/bacs-direct-debit-guarantee</string>

paymentsheet/src/main/java/com/stripe/android/paymentsheet/ui/PaymentSheetTopBar.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ internal fun TestModeBadge() {
165165
.padding(horizontal = 6.dp, vertical = 2.dp),
166166
) {
167167
Text(
168-
text = "TEST MODE",
168+
text = "TEST",
169169
fontWeight = FontWeight.Bold,
170170
color = textColor,
171171
)

0 commit comments

Comments
 (0)