WeChatPayProvider
This class is not an actual provider, it only checks whether WeChatPay is available. There is no viewable Payment Component for WeChatPay, only an Action Component. You can directly call /payments after you receive a callback from isAvailable. You can use WeChatPayActionComponent to handle the returned action.
Functions
Link copied to clipboard
open override fun isAvailable(application: Application, paymentMethod: PaymentMethod, checkoutConfiguration: CheckoutConfiguration, callback: ComponentAvailableCallback)
open override fun isAvailable(applicationContext: Application, paymentMethod: PaymentMethod, configuration: WeChatPayActionConfiguration?, callback: ComponentAvailableCallback)