Skip to content

Commit 23bb2d8

Browse files
committedMar 7, 2025
[DO NOT MERGE] Test code
1 parent f2c0278 commit 23bb2d8

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed
 

‎payments-core/src/main/java/com/stripe/android/model/CreateFinancialConnectionsSessionParams.kt

+3-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ sealed interface CreateFinancialConnectionsSessionParams {
5252
PARAM_CLIENT_SECRET to clientSecret,
5353
PARAM_HOSTED_SURFACE to hostedSurface,
5454
PARAM_LINK_MODE to linkMode.valueForHostedSurface(hostedSurface),
55-
PARAM_PAYMENT_METHOD_DATA to paymentMethod.toParamMap()
55+
PARAM_PAYMENT_METHOD_DATA to paymentMethod.toParamMap(),
56+
// TODO: Remove testing code
57+
"initial_institution" to "bcinst_Jg18xEfPHevfHP",
5658
).filterNotNullValues()
5759
}
5860
}

‎payments-core/src/main/java/com/stripe/android/payments/bankaccount/CollectBankAccountLauncher.kt

+2-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ interface CollectBankAccountLauncher {
8181
): CollectBankAccountLauncher {
8282
return CollectBankAccountForACHLauncher(
8383
// L1 (public standalone) integration is not hosted by any Stripe surface.
84-
hostedSurface = null,
84+
// TODO: Reset this to null before merging
85+
hostedSurface = "payment_element",
8586
hostActivityLauncher = activity.registerForActivityResult(CollectBankAccountContract()) {
8687
callback(it.toUSBankAccountResult())
8788
}

0 commit comments

Comments
 (0)