You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thread payment method type through polling args and use in analytics
Replaces time_limit_seconds with payment_method_type for easier slicing
in incident investigation.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Committed-By-Agent: claude
Copy file name to clipboardExpand all lines: paymentsheet/src/main/java/com/stripe/android/paymentsheet/paymentdatacollection/polling/PollingActivity.kt
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,7 @@ internal class PollingActivity : AppCompatActivity() {
Copy file name to clipboardExpand all lines: paymentsheet/src/main/java/com/stripe/android/paymentsheet/paymentdatacollection/polling/PollingContract.kt
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,7 @@ internal class PollingContract :
Copy file name to clipboardExpand all lines: paymentsheet/src/main/java/com/stripe/android/paymentsheet/paymentdatacollection/polling/PollingNextActionHandler.kt
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,7 @@ internal class PollingNextActionHandler : PaymentNextActionHandler<StripeIntent>
61
61
ctaText =R.string.stripe_blik_confirm_payment,
62
62
stripeAccountId = requestOptions.stripeAccount,
63
63
qrCodeUrl =null,
64
+
paymentMethodType =PaymentMethod.Type.Blik.code,
64
65
)
65
66
PaymentMethod.Type.PayNow->
66
67
PollingContract.Args(
@@ -71,6 +72,7 @@ internal class PollingNextActionHandler : PaymentNextActionHandler<StripeIntent>
Copy file name to clipboardExpand all lines: paymentsheet/src/main/java/com/stripe/android/paymentsheet/paymentdatacollection/polling/PollingViewModel.kt
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -136,7 +136,7 @@ internal class PollingViewModel @Inject constructor(
Copy file name to clipboardExpand all lines: paymentsheet/src/test/java/com/stripe/android/paymentsheet/paymentdatacollection/polling/PollingActivityTest.kt
+8-6Lines changed: 8 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -250,12 +250,13 @@ internal class PollingActivityTest {
Copy file name to clipboardExpand all lines: paymentsheet/src/test/java/com/stripe/android/paymentsheet/paymentdatacollection/polling/PollingViewModelTest.kt
0 commit comments