sendPayPalPresentedEvent

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.

Parameters

experiment

optional JSON string representing an experiment you want to run

paymentMethodsDisplayed

optional The list of available payment methods, rendered in the same order in which they are displayed