#Amrux-PRB-server-confirmation
1 messages ยท Page 1 of 1 (latest)
Hi ๐ it's not possible to leverage server-side confirmation with the Payment Request Button.
Ah okay, I thought that was the case. In that case how would we go about implementing Apple Pay and Google Pay with server side confirmation, do you have any docs for this? I can see on the "accept card payments" page (see https://stripe.com/docs/payments/accept-card-payments?platform=web&ui=elements) it says "Integrate Apple Pay and Google Pay with extra code." so Im guessing it must be possible but trying to work out how ๐
Hm, I don't think it is possible but would need to take some time to double check that.
Okay that's fine, please can you update me if you find any further information on this.
Hello
I believe this is actually possible based on this: https://stripe.com/docs/google-pay#creating-a-paymentmethod
I haven't found a guide that shows you exactly how to do it, but I'll look around a bit more
Thanks for forwarding that on! That's reassuring if there is a mechanism to do it though.
Ok so I'm about to share some resources. It will be possible by kind of combining instructions from 2 of our guides
You can use our payment request button guide here and do through step 5: https://stripe.com/docs/stripe-js/elements/payment-request-button#html-js-complete-payment. Within step 5, once you get to "paymentRequest.on('paymentmethod', function(ev)", you can take the payment method id and use it to complete the manual confirmation flow guide from step 3 through the end: https://stripe.com/docs/payments/accept-a-payment-synchronously#web-send-to-server.