createGooglePayPaymentMethod method

  1. @Deprecated('Use [createPlatformPayPaymentMethod instead.')
Future<PaymentMethod> createGooglePayPaymentMethod(
  1. CreateGooglePayPaymentParams params
)

Create a payment method for google pay.

Throws a StripeException in case it is failing

Implementation

@Deprecated('Use [createPlatformPayPaymentMethod instead.')
Future<PaymentMethod> createGooglePayPaymentMethod(
  CreateGooglePayPaymentParams params,
) async {
  return await _platform.createGooglePayPaymentMethod(params);
}