Widget | Mechanism | Support |
TabbyGateway | Webview | ios, android |
Getting started
Document: https://docs.tabby.ai/introduction/what-is-tabby
Preview:
Usage
Follow this steps:
Woocommerce website:
Add Tabby Checkout plugin to your Woocommerce:
- download this plugin at: https://wordpress.org/plugins/tabby-checkout/
- Go to WordPress Admin > Plugins > Add New from the left-hand menu > Upload plugin from the top menu
- Click on Install to install the plugin
- Config plugin according instructions
- Go to WooCommerce -> Settings -> Tabby API and enter the Public API Key and Secret API Key for testing -> Save plugin changes
- Go to Woocommerce -> Setting -> Tab Payments: enable Pay in 4. No interest, no fees.
Mobile app:
Android Setup
Open cirilla/android/app/src/main/AndroidManifest.xml
, and paste the following inside of it:
<uses-permission android:name="android.permission.CAMERA" />
<!-- Add a provider to be able to upload a user id photo -->
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.flutter_inappwebview.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/provider_paths" />
</provider>
Result:
Package Setup
- Copy tabby_gateway, and add to packages folder in cirilla project.
- Import package in
cirilla/pubspec.yaml
Example:
tabby_gateway:
path: ./packages/tabby_gateway
Then run flutter pub get in your project
3. Add TabbyGateway to cirilla/lib/payment_method.dart
file ( use only one of them and remember import package like example)
Example:
import 'package:tabby_gateway/tabby_gateway.dart';
final Map<String, PaymentBase> methods = {
TabbyGateway.key: TabbyGateway(),
};
Country Support:
- Saudi Arabia
- UAE
- Kuwait
- Bahrain
- Qatar
Available Currencies:
- SAR – works for UAE, KSA and Qatar customers.
- AED – works for UAE, KSA and Qatar customers.
- KWD – works for Kuwait customers only.
- BHD – works for Bahrein customers only.
- QAR – works for UAE, KSA and Qatar customers.