utils/google_pay_configuration_json library

Functions

buildGooglePayConfigurationJson({required CheckoutCustomizationData? customization, required String currencyCode, required String totalPrice, required String googlePayEnvironment, String gatewayFallback = 'gpaymob'}) String?
Builds a JSON string for the pay package's Google Pay PaymentConfiguration.
findVisibleGooglePayMethod(CheckoutCustomizationData? customization) AvailablePaymentMethod?
First visible Google Pay wallet row from checkout available_methods, or null.