question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pay Button with a QR code

See original GitHub issue

Hi people i love your project i have BTCPay server running on my raspberrypi i am very excited!!

I have the desire for a feature that I think might be interesting for many!

For me as a freelancer who also prints invoices on paper or sends them by mail it would be a great feature if you could equip the Pay Button with a QR code, which creates an invoice for me directly at the time the customer scans the QR code.

At the moment I help myself with an intermediate step, by copying the code from the pay button on my server and scanning it there with a QR code generated by me on the invoice, which then leads/calls me to this html code. That looks something like this:

<form name="myform" method="POST" action="https://xxx.xxx.xxx.xxx/api/v1/invoices">
    <input type="hidden" name="storeId" value="####mystore###" />'
    <input type="hidden" name="price" value="12,34" />
    <input type="hidden" name="currency" value="EUR" />
    <input type="hidden" name="checkoutDesc" value="Bill No. />
    <input type="hidden" name="orderId" value="2" />
    <input type="hidden" name="notifyEmail" value="xxx@xxx.biz" />
</form>

<script type="text/javascript">
  document.myform.submit();
</script>

This works well, but unfortunately it is a bit complicated, because a lot has to be edited by hand.

What I imagine would be the generation of a QR code with BTCPay server logo in the middle which directly calls this code on top of the server itself without the intermediate step…

I have dream 😃

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:12 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
Kukkscommented, Apr 19, 2019

frame

Behold!

1reaction
britttttkcommented, Mar 5, 2019

Why not just make the payment request URL into a QR code and send that? Then the user is taken to the payment request, rates are current when they pay, and there is no address reuse.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pay with QR Codes
Pay with a QR code for a quick and touch-free checkout. Just scan and pay with your phone. Download the PayPal app to...
Read more >
Accept Payments Quickly: Using QR Codes for Touch-Free ...
Using a QR code to accept payments works in the same way. ... Click the Generate Your QR Code button at the top...
Read more >
QR code payment: what is it and how does it work?
The app displays a unique QR code identifying your card details. The shop scans this code with a QR code scanner, finalising the...
Read more >
A payment link that does it all | Square Online Checkout
Square Online Checkout is the fastest way to get paid via ✓Payment Links ✓QR Codes ✓Buy Buttons. Share them through social media, email,...
Read more >
Why and How to Implement QR Code for Payments
This process requires merchants to generate a QR code for payment that their customers will scan to pay for goods and services with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found