initTapPay abstract method

Future<TapPayInitResult?> initTapPay({
  1. required int appId,
  2. required String appKey,
  3. bool isSandbox = false,
})

Initialize TapPay payment SDK

appId is the App ID assigned by TapPay appKey is the App Key assigned by TapPay isSandbox is a boolean value to indicate whether to use sandbox mode

return TapPayInitResult with value success as true if success return TapPayInitResult with value success as false if fail return TapPayInitResult with value message as String if fail return null if the initialization is incomplete

Implementation

Future<TapPayInitResult?> initTapPay({
  required int appId,
  required String appKey,
  bool isSandbox = false,
});