#ManuX

1 messages ยท Page 1 of 1 (latest)

opaque flameBOT
paper berry
fallow oar
#

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?

paper berry
#

Yes, you'd need to retrieve it on your backend as it requires your Secret API key

fallow oar
#

Ok got you

paper berry
#

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

fallow oar
#

so I'll ask my backend dev to send it on the response

#

definitely

#

got it

#

I have one more question for you Hanzo

paper berry
#

Sure

fallow oar
#

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.

paper berry
#

99% sure it should be supported, also you can use something like https://ngrok.com/ to test this out w/ your dev server

fallow oar
#

We did but it wasn't showing ๐Ÿ˜ž

paper berry
#

If not, your wallet might not be configured correctly

fallow oar
#

You mean this?

paper berry
#

yup

#

wait

#

You'd see a button where you see a caution

fallow oar
#

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)

paper berry
fallow oar
#

Oh I thought you meant in the stripe dashboard

#

so this caution message would mean we don't have this option enabled in google?

paper berry
#

yup

fallow oar
#

Hmm ok got you, I will look into this. And what about apple pay, should that one be ok?

paper berry
#

Loading the same page above in safari would show you Apple Pay if the wallet on your machine is configured correctly

fallow oar
#

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?

paper berry
#

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.

fallow oar
#

Hmmm ok understood, I will try fixing google pay and testing it

paper berry
#

๐Ÿ‘

fallow oar
#

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

paper berry
#

Yup

fallow oar
#

Awesome! Thanks a lot for your help

paper berry
opaque flameBOT
fallow oar
#

Sweet!

#

that's great to know, super appreciated