google_pay_flutter 0.0.1
google_pay_flutter: ^0.0.1 copied to clipboard

Flutter Android iOS

Google pay flutter plugin project.

google_pay_flutter #

Google Pay for Flutter. Currently works with CloudPayments

Getting Started #

The package is very simple.

for check possibly Show Google Pay Button use

GooglePayFlutter.possiblyShowGooglePayButton

For call Google Pay menu

Map<bool, String> map = await GooglePayFlutter.requestPayment(
      currencyCode: 'RUB',
      gateway: 'yourgateway',
      price: 355,
      publicId: 'yourgatewayid',
      isTestEnvironment: true //optional, default is false
    );

if map return false:'some message', operation is failed, else all is fine