zap-me / zap_payments

MIT License
0 stars 1 forks source link

zap payment link #11

Closed djpnewton closed 4 years ago

djpnewton commented 4 years ago

We need to show a zap link/url below the QR code.

This is so that mobile browsers can call the wallet app or desktop apps can be communicated with.

Reuse the same data in the QR code and make a link like: <a href="{QR_CODE_DATA}">...

eoliveros commented 4 years ago

I've decided to use the URL instead of creating QR_CODE_DATA and below is the image i'm getting: image

and below is what shows when i hover over the "Click this link": image

djpnewton commented 4 years ago

ok looks fine

djpnewton commented 4 years ago

I need a PR to test

eoliveros commented 4 years ago

just tested after pulling master and editing. The result from previous entry is the same with different values. So test from my end appears to be successful.

djpnewton commented 4 years ago

merged PR, can you test the link from mobile browser on http://zap-bill-payment.herokuapp.com/utilities

eoliveros commented 4 years ago

can get to the site from testphone. The rendering doesn't look nice though.

The result is below: image

When clicking the link, its not doing anything on the testphone.

djpnewton commented 4 years ago

try redrat.blackpepper.co.nz and see what the difference is

eoliveros commented 4 years ago

the link showing is:

zap://3MsKcPckNDdCfvZJq2PGtDG7Dx8d9U8qMwF?amount=5699.00&asset=CgUrFtinLXEbJwJVjwwcppk4Vpz1nMmR3H5cQaDcUcfe&attachment=%7B%22invoice_id%22%3A%222050540003%22%2C%22message%22%3A%22RedRat%20Order%20payment%22%2C%22recipientName%22%3A%22TEST%20Red%20Rat%20%28OTS%29%20RedRat%20Website%22%7D 
djpnewton commented 4 years ago

ok try the link again

eoliveros commented 4 years ago

log a bug with the app not being redirected to the correct page.