pay_android 3.0.0 copy "pay_android: ^3.0.0" to clipboard
pay_android: ^3.0.0 copied to clipboard

PlatformAndroid
unlisted

A plug-in to add support for payments on the Android side of Flutter applications.

pub package

This is an implementation of the pay_platform_interface package for Android.

Usage #

With the pay plugin #

This package is the endorsed implementation of the pay plugin, so it gets automatically added to your dependencies when you add the pay package to your pubspec.yaml.

Using this package directly #

If you prefer to integrate or extend this package separately, add it as a dependency in your pubspec.yaml file as follows:

dependencies:
  pay_android: ^3.0.0

Now, you can use the buttons available for the supported payment providers and the methods exposed in the interface that this package uses to communicate with the native end.

final PaymentConfiguration configuration =
    PaymentConfiguration.fromJsonString('<yourJsonString>');

RawGooglePayButton(
    paymentConfiguration: configuration,
    type: GooglePayButtonType.buy),

Note: This is not an officially supported Google product.
4
likes
150
points
53k
downloads

Publisher

verified publishergoogle.dev

Weekly Downloads

A plug-in to add support for payments on the Android side of Flutter applications.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, flutter_localizations, pay_platform_interface

More

Packages that depend on pay_android