createGooglePayParams
fun createGooglePayParams(paymentIntentId: String, clientSecret: String, paymentMethod: PaymentMethod? = null, cvc: String? = null, customerId: String? = null, paymentConsentId: String? = null, returnUrl: String? = null, autoCapture: Boolean = true): ConfirmPaymentIntentParams
Return the ConfirmPaymentIntentParams for Credit Card Pay
Parameters
paymentIntentId
the ID of the PaymentIntent, required.
clientSecret
the clientSecret of PaymentIntent, required.
paymentMethod
the object of the PaymentMethod, required.
cvc
optional.
customerId
the customerId of PaymentIntent, optional.
paymentConsentId
the customerId of PaymentConsent, optional.
returnUrl
optional