#Meta Krypto

1 messages · Page 1 of 1 (latest)

split hamletBOT
novel cairn
#

hello! can you share the code where you're completing the payment?

novel cairn
#

gimme a while to get back to you

drowsy pecan
#

thanks Alex

#

I use react frontend and go backend in this sample code

#

I guess you can reproduce that if you have an iphone

novel cairn
#

can you share the url that you're using to test this?

drowsy pecan
#

ok, I'll have to turn it on back, as I run locally and tunnel it through ngrok

#

give me 5 minutes

#

Can you reproduce the issue ?

novel cairn
#

yeah, in short, the sample code looks like it's missing the ev.complete('success');

drowsy pecan
#

oh ok

novel cairn
#

you need to call that line within a certain timeframe otherwise it'll timeout

drowsy pecan
#

where should I add it, and how?

novel cairn
#

i'll pass on the feedback that our sample code needs updating

#

You can take a look at the sample code ^

drowsy pecan
#

also I'm a bit confuse as I'm totally new in js and react

#

in these sample code, should I modify the react part, i.e ApplePay.js, or should I motify the html part where it has also a apple-pay.js?

novel cairn
#

you'll modify the client side code in react

drowsy pecan
#

fantastic, it works perfect now. Thanks a lot Alex