hasSamsungPay

suspend fun hasSamsungPay(context: Context, supportedNetworks: List<PaymentMethodType>, isTesting: Boolean = false): Boolean

Although the library automatically hides Samsung Pay if no cards are supported, this shows if Samsung Pay is available for the specified card acquirers.

Return

True if Samsung Pay is available on the device, false if it is unavailable.

Parameters

context

Android context

supportedNetworks

Supported card acquirers

isTesting

True if running on sandbox, false otherwise. Default is false.