PayTabs SDK makes the integration with the PayTabs payment gateway very easy by providing a ready-made payment screen that handles the card entry and, billing & shipping information and completes the missing details.
In this article, you will be going to know about:
How to install the SDK?
You can install this SDK into your project as clarified below:
For the version number, please use the latest version according to our latest update on our repository
Flutter is an open-source UI software development kit. In addition to a react-style framework, this toolkit includes its own rendering engine, a rich set of ready-made widgets, unit and integration testing APIs, plugin APIs, and command-line tools for building and compiling apps.
To install the PayTabs SDK into your project, specify it in your dependencies file -located in your project root directory under the name of "pubspec.yaml"- with the latest SDK version available at the time:
dependencies: flutter_paytabs_bridge: ^X.X.X
In most cases, the editor will install the package automatically if not, please do one of the below steps to proceed with the installation.
- From the terminal: Run
flutter pub get
- From Android Studio/IntelliJ: Click "Packages get" in the action ribbon at the top of pubspec.yaml.
- From VS Code: Click "Get Packages" located on the right side of the action ribbon at the top of pubspec.yaml.
After that, you will receive a notification message asking you if you want to synchronize the dependencies file as you just modified it. Kindly approve the "Sync Now" option as shown below:
How to activate the SDK?
Nothing you have to do from your side in this step, as our SDKs don't need activation. Once you have installed it properly, it will be considered activated automatically and ready for use.
⌂ To get familiar with the whole process and the other steps, kindly navigate to our "The Flutter (Bridge) SDK Integration Manual" solution article.
⇦ And to get familiar with the rest of the steps regarding the current step "Step 1 - Setup and activate the integration method" click here.
⇨ Or you can navigate to the next step in the process "Step 2 - Configure the integration method" kindly click here.