Skip to content

Commit

Permalink
update ShopperInsights demo (#1212)
Browse files Browse the repository at this point in the history
  • Loading branch information
saperi22 authored Nov 15, 2024
1 parent c9d4246 commit 15daa42
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,16 +192,16 @@ class ShopperInsightsFragment : BaseFragment() {
if (result.response.isPayPalRecommended) {
payPalVaultButton.isEnabled = true
shopperInsightsClient.sendPayPalPresentedEvent(
"dummy_paypal_presented_experiment",
listOf("PayPal, Apple Pay, Google Pay")
"""{"exp_name":"PaymentReady","treatment_name":"control"}""",
listOf("PayPal", "Venmo", "other")
)
}

if (result.response.isVenmoRecommended) {
venmoButton.isEnabled = true
shopperInsightsClient.sendVenmoPresentedEvent(
"dummy_venmo_presented_experiment",
listOf("Apple Pay, Venmo, Google Pay")
"""{"exp_name":"PaymentReady","treatment_name":"test"}""",
listOf("Venmo", "PayPal", "other")
)
}

Expand Down

0 comments on commit 15daa42

Please sign in to comment.