#Meta Krypto
1 messages · Page 1 of 1 (latest)
hello! can you share the code where you're completing the payment?
gimme a while to get back to you
thanks Alex
I use react frontend and go backend in this sample code
I guess you can reproduce that if you have an iphone
can you share the url that you're using to test this?
ok, I'll have to turn it on back, as I run locally and tunnel it through ngrok
give me 5 minutes
alright, it's on https://trada.ngrok.app/, pick Wallet/Apple Pay
Can you reproduce the issue ?
yeah, in short, the sample code looks like it's missing the ev.complete('success');
oh ok
you need to call that line within a certain timeframe otherwise it'll timeout
where should I add it, and how?
i'll pass on the feedback that our sample code needs updating
You can take a look at the sample code ^
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?
you'll modify the client side code in react
fantastic, it works perfect now. Thanks a lot Alex