#scotty-paymentelement-updatepm
1 messages · Page 1 of 1 (latest)
scotty-paymentelement-updatepm
Hey @drifting sparrow ! Usually uou would collect a new PaymentMethod with a new PaymentIntent or SetupIntent and then detach the old one after that if needed
Hey @limber rapids, I think you misunderstood me. I'm trying to add payment method types to my form, specifically google and apple pay.
Here is my current form:
I want to add the options of apple and google pay for users
and remove iDEAL
Gotcha. So Google Pay and Apple Pay appear if your browser supports them. You don't need to do anything else for this and make sure to load over HTTPS
to remove iDEAL, you should disable it in your settings
I'm on HTTPS and I know for certain my browser supports Google Pay (I use it all the time) and it's the same as above photo
I also specifically turned of iDEAL in my dashboard:
Yes, it's still showing up
But did you create a new PaymentIntent after you changed that setting?
Also what do you see on https://stripe.com/docs/stripe-js/elements/payment-request-button
yes I did
Can you give me a concrete PaymentIntent id pi_123 to look at?
sure
1 sec
I'm using setup intent
here is one:
seti_1NIe7bElq6bZFLd6E8z4z4O1
https://dashboard.stripe.com/test/logs/req_uRMi3BkBLGy8Dn this is the creation request. Your own code is explicitly forcing ideal
oops, sorry about that
all good, it's not always easy to know this
is google pay possible with setup intent?
this guide looks like its more for paymentintent
yes Google Pay works totally fine with SetupIntent
Also what do you see on https://stripe.com/docs/stripe-js/elements/payment-request-button
can you reply to that one?
cc @drifting sparrow are you still around?
I followed the instructions, but I'm getting null for "paymentRequest"
in useEffect:
const pr = stripe.paymentRequest({
country: "US",
currency: "usd",
total: {
label: "Demo total",
amount: 0,
},
requestPayerName: true,
requestPayerEmail: true,
});
pr.canMakePayment().then((result) => {
if (result) {
setPaymentRequest(pr);
}
});
Can you answer my exact question above please?
Sorry you don't need to change your code. All I need is a screenshot of what you see on that page
Okay so that picture proves that your browser doesn't really support Google Pay right now
hmm, weird. Like I said, I use google pay all the time
can you try deleting all cookies (at least all Stripe-related cookies) and then launching your browser again?