ShopperInsightsClient

Use ShopperInsightsClient to optimize your checkout experience by prioritizing the customer’s preferred payment methods in your UI. By customizing each customer’s checkout experience, you can improve conversion, increase sales/repeat buys and boost user retention/loyalty.

Note: This feature is in beta. It's public API may change in future releases.

Constructors

Link copied to clipboard
constructor(context: Context, authorization: String)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Retrieves recommended payment methods based on the provided shopper insights request.

Link copied to clipboard
fun sendPayPalPresentedEvent(experiment: String? = null, paymentMethodsDisplayed: List<String> = emptyList())

Call this method when the PayPal button has been successfully displayed to the buyer. This method sends analytics to help improve the Shopper Insights feature experience.

Link copied to clipboard

Call this method when the PayPal button has been selected/tapped by the buyer. This method sends analytics to help improve the Shopper Insights feature experience.

Link copied to clipboard
fun sendVenmoPresentedEvent(experiment: String? = null, paymentMethodsDisplayed: List<String> = emptyList())

Call this method when the Venmo button has been successfully displayed to the buyer. This method sends analytics to help improve the Shopper Insights feature experience.

Link copied to clipboard

Call this method when the Venmo button has been selected/tapped by the buyer. This method sends analytics to help improve the Shopper Insights feature experience.