#Srujan - javascript
1 messages · Page 1 of 1 (latest)
This is for google pay flow
So if a customer goes through the google pay flow what would this id be?
ev.paymentMethod.id sorry
I see. So if we're using CardElement, the same flow we pass cardElement which is ``` const cardElement = elements.getElement(CardElement);
like so ```const confirmPaymentResponse = await stripe.confirmCardPayment(
clientSecret,
{
payment_method: {
card: cardElement
},
receipt_email: userInfo.email
}
);```
is that also under the hood the id for the payment method object?
Sorry for the delay, this didn't piing me for some reason
This is client-side javascript so no, it's not the same thing
thanks!