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
paypackage's Google PayPaymentConfiguration. -
findVisibleGooglePayMethod(
CheckoutCustomizationData? customization) → AvailablePaymentMethod? -
First visible Google Pay wallet row from checkout
available_methods, or null.