Skip to content
pubscout

paytm_allinonesdk

1.2.8, released 2 years ago by an unverified publisher

Paytm All-in-One payment gateway SDK for Flutter.

WASM-readyUnverified publisher
$ flutter pub add paytm_allinonesdk

What it does

Provides a plugin for the Paytm All-in-One SDK to enable payments on Android and iOS. Allows developers to start transactions using transaction tokens and merchant details.

AI-written summary of version 1.2.8, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to integrate Paytm payments into your Flutter application
  • Targeting Android and iOS platforms with Paytm All-in-One SDK

Skip it when

  • You are using payment gateways other than Paytm
  • You need in-app purchases through Apple/Google app stores rather than a payment gateway

Strengths

  • Official integration support for Paytm payments
  • Supports UPI intent and various bug fixes up to JDK 17

Weaknesses

  • Limited documentation outside of basic transaction invocation
  • Platform-specific dependency on native Paytm SDKs

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
0

Requires adding the dependency to pubspec.yaml and configuring native Android and iOS settings as required by Paytm's SDK.

    try {
      var response = AllInOneSdk.startTransaction(
          mid, orderId, amount, txnToken, "", isStaging, restrictAppInvoke);
      response.then((value) {
        print(value);
        setState(() {
          result = value.toString();
        });
      }).catchError((onError) {
        if (onError is PlatformException) {
          setState(() {
            result = onError.message + " \n  " + onError.details.toString();
          });
        } else {
          setState(() {
            result = onError.toString();
          });
        }
      });
    } catch (err) {
      result = err.message;
    }

Alternatives

Packages that do the same job and could replace paytm_allinonesdk.