checkout_risk_sdk 0.0.3 copy "checkout_risk_sdk: ^0.0.3" to clipboard
checkout_risk_sdk: ^0.0.3 copied to clipboard

Unofficial Flutter plugin for the Checkout.com Risk API.

checkout_risk_sdk #

Unofficial Flutter plugin for the Checkout.com Risk API.

Content #

Installation #

Add the following to your pubspec.yaml file:

dependencies:
  checkout_risk_sdk: ^0.0.1

Android #

Add the following to your android/build.gradle file:

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
        maven { url = uri("https://maven.fpregistry.io/releases") }
    }

}

Add the following to your android/app/build.gradle file:

dependencies {
    ...
    implementation 'com.github.checkout:checkout-risk-sdk-android:2.0.0'
}

iOS #

No additional setup required.

Usage #

import 'package:checkout_risk_sdk/checkout_risk_sdk.dart';

void main() async {
    final sdk = CheckoutRiskSdk();
    await sdk.initialize(
        publicKey: 'pk_....',
        environment: CheckoutRiskEnvironment.sandbox,
    );

    ...

    final token = await sdk.publishData();
}
1
likes
140
points
343
downloads

Publisher

verified publisheramrebada.com

Weekly Downloads

Unofficial Flutter plugin for the Checkout.com Risk API.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, logging, plugin_platform_interface

More

Packages that depend on checkout_risk_sdk