#ManuX
1 messages ยท Page 1 of 1 (latest)
Hello ๐
If you look at the associated charge object, you should be able to see the receipt_url property that can be used to get the receipt
https://stripe.com/docs/api/charges/object#charge_object-receipt_url
Hmm sorry I'm a bit confused, at which stage am I getting this charge object?
I'm working on the react frontend so maybe this is returned on the backend?
Yes, you'd need to retrieve it on your backend as it requires your Secret API key
Ok got you
After the payment is completed and the users are redirected to success page, you can make a fetch to your server that retrieves above info for you
so I'll ask my backend dev to send it on the response
definitely
got it
I have one more question for you Hanzo
Sure
When testing on our dev server we can't see google/apple pay options because we aren't on a secure connection. So have a doubt if when using manual capture method like so:
curl https://api.stripe.com/v1/payment_intents \ -u [credentials] \ -d amount=500 \ -d currency=eur \ -d "automatic_payment_methods[enabled]"=true \ -d capture_method="manual"
If we will get apple/google pay in production or not.
99% sure it should be supported, also you can use something like https://ngrok.com/ to test this out w/ your dev server
We did but it wasn't showing ๐
Apple Pay is currently having issues on Web
https://twitter.com/AppleSupport/status/1653418157837516803
Though google pay should work if you have the wallet configured correctly.
@dougjkaplan Thank you for bringing this issue to our attention. Some users may be impacted by a current Apple Pay issue. You can stay updated and find out when a solution has been found using our System Status link here: https://t.co/waNYZdXpJm
do you see google pay button on this page?
https://stripe.com/docs/stripe-js/elements/payment-request-button
If not, your wallet might not be configured correctly
You mean this?
Hmmm
maybe I don't have it enabled?
do you happen to have the URL for where I can enable the payment methods? Just to look real quick
(I can try to find it but it will probably take me longer)
pay.google.com I think
Oh I thought you meant in the stripe dashboard
so this caution message would mean we don't have this option enabled in google?
yup
Hmm ok got you, I will look into this. And what about apple pay, should that one be ok?
Loading the same page above in safari would show you Apple Pay if the wallet on your machine is configured correctly
let me check
No, it doesn't show anything.
So I guess I need to ask someone to take care of this. Do you guys have any guide for this by any chance?
We don't have a guide, also as I mentioned Apple Pay is currently broken due to an issue on Apple's end. So I'd recommend trying this after sometime.
Hmmm ok understood, I will try fixing google pay and testing it
๐
I will take this statement as good and continue going with this path
"99% sure it should be supported, "
I mean referring to the manual capture method
Yup
Awesome! Thanks a lot for your help
Here we go, we have docs confirming this ๐
https://stripe.com/docs/payments/payment-methods/integration-options#additional-api-wallets