flutter_izipay

Pub Version License

A Flutter wrapper for the official IziPay Android and iOS SDKs, enabling seamless integration of direct payment functionalities into Flutter applications.

🚀 Features available

  • Direct Payment Support: Currently, the payDirectly method is the only available feature in this version.
  • Yape Payment Support: Currently, the payWithYape method is the only available feature in this version.

📋 Requirements

Flutter

  • Flutter SDK: >=3.0.0

Platforms

  • Android: minSdkVersion 23
  • iOS: >=16.0

📦 Installation

Add this library to your pubspec.yaml file:

dependencies:
  izipay_flutter_sdk: any

Android

Para usar Izipay en android es necesario configurar el hilt

  1. En /android/build.gradle agregar al inicio del archivo
plugins {
    id 'com.google.dagger.hilt.android' version '2.44' apply false
}
  1. En /android/app/build.gradle agregar a los plugins
plugins {
    id 'kotlin-kapt'
    id 'com.google.dagger.hilt.android'
}
  1. En /android/app/build.gradle agregar las dependencias
implementation "com.google.dagger:hilt-android:2.44"
kapt "com.google.dagger:hilt-compiler:2.44"
  1. En /android/app/build.gradle agregar las siguientes configuraciones para android
android {
    buildFeatures {
        viewBinding true
    }

    hilt {
        enableAggregatingTask = false
        enableExperimentalClasspathAggregation = true
    }    
}
  1. Crear una aplicación en kotlin
import android.app.Application
import dagger.hilt.android.HiltAndroidApp

@HiltAndroidApp
class ExampleApplication : Application()
  1. Hacer referencia de la aplicación en el manifest
<application
        android:name=".ExampleApplication"
/>

📚 Additional Resources

For more information about the underlying SDKs and the complete payment platform, visit the official IziPay Documentation.