flutter_zoho_checkout 0.0.1 copy "flutter_zoho_checkout: ^0.0.1" to clipboard
flutter_zoho_checkout: ^0.0.1 copied to clipboard

A secure Flutter plugin to integrate Zoho Checkout (Payments) using WebView. Supports success/cancel redirect detection.

Flutter Zoho Checkout Plugin #

A Flutter plugin to integrate Zoho Checkout (Payments) into your Flutter application using a WebView.

Features #

  • Opens Zoho Checkout pages securely within the app.
  • Detects successful payments and redirects.
  • Detects cancellations and redirects.
  • Customizable AppBar title.

Getting Started #

1. Add Dependency #

Add this to your pubspec.yaml:

dependencies:
  flutter_zoho_checkout:
    path: ./ # Or git/pub url

2. Import #

import 'package:flutter_zoho_checkout/flutter_zoho_checkout.dart';

3. Usage #

Call ZohoCheckout.openCheckout with your Zoho Checkout URL.

final result = await ZohoCheckout.openCheckout(
  context,
  paymentUrl: 'https://payments.zoho.com/checkout/YOUR_CHECKOUT_ID',
  successUrl: 'https://yourwebsite.com/success',
  cancelUrl: 'https://yourwebsite.com/cancel',
  appBarTitle: 'Pay Now',
);

if (result == true) {
  // Payment Successful
} else if (result == false) {
  // Payment Cancelled
}

Android Configuration #

Ensure your minSdkVersion is at least 19 in android/app/build.gradle.

License #

MIT

0
likes
160
points
66
downloads

Publisher

unverified uploader

Weekly Downloads

A secure Flutter plugin to integrate Zoho Checkout (Payments) using WebView. Supports success/cancel redirect detection.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, plugin_platform_interface, web, webview_flutter

More

Packages that depend on flutter_zoho_checkout

Packages that implement flutter_zoho_checkout