capacitor-paytm-allinonesdk
v1.0.0
Published
capacitor plugin for paytm payment gateway
Downloads
2
Maintainers
Readme
capacitor-paytm-allinonesdk
capacitor plugin for paytm payment gateway
Steps to install capacitor-paytm-allinonesdk plugin for android
install plugin using npm i capacitor-paytm-allinonesdk
import in.zimbaroosgeeks.paytmAllinonesdk.AllInOneSDK and add add(AllInOneSDK.class) to the init function of MainActivity.java located at project-root/android/app/src/main/java/your-package-name
Add the line below to ‘repositories’ section of your project-root/android/build.gradle. maven { url "https://artifactory.paytm.in/libs-release-local" }
Add the line below to 'dependencies' section of your project-root/android/app/build.gradle. implementation 'com.paytm.appinvokesdk:appinvokesdk:1.5.3'
Steps to use capacitor-paytm-allinonesdk plugin
import { Plugins } from '@capacitor/core'; import 'capacitor-paytm-allinonesdk'; import { PaymentIntentModel } from 'capacitor-paytm-allinonesdk';
const { AllInOneSDK } = Plugins;