From 74fd8a5e629f817d3dcf9def5f0dba53ef290d8a Mon Sep 17 00:00:00 2001 From: John Atkinson Date: Fri, 7 Dec 2012 14:10:52 -0800 Subject: [PATCH] Added bitcoin:URI link and QR code to checkout. --- README.md | 3 +++ .../theme/default/template/payment/bitcoin.tpl | 16 ++++++++++++---- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 78ec6d3..f9396f7 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,9 @@ Adds a cleaner user interface during checkout Checkout UI revamped. Payment information presented in colorbox. Payment amount and address are easier to select. +### New in version 1.3.0 + +Added QR code and URI Click to pay to checkout page. * * * diff --git a/upload/catalog/view/theme/default/template/payment/bitcoin.tpl b/upload/catalog/view/theme/default/template/payment/bitcoin.tpl index b1bb553..8ac6e9d 100644 --- a/upload/catalog/view/theme/default/template/payment/bitcoin.tpl +++ b/upload/catalog/view/theme/default/template/payment/bitcoin.tpl @@ -21,6 +21,7 @@ DEALINGS IN THE SOFTWARE. --> +
@@ -33,15 +34,22 @@ DEALINGS IN THE SOFTWARE. $('#button-pay').on('click', function() { - html = '
Please send BTC to
to complete the transaction.
'; - html += '
'; + html = '
'; + html += '
'; + html += '
Please send BTC to
'; + html += '
'; + html += '
to complete the transaction.
'; + html += '
Click to pay (URI-compatible wallets only)
'; + html += '
'; + html += '
'; + html += '
'; html += '
'; html += '
'; $.colorbox({ overlayClose: true, opacity: 0.5, - width: '500px', - height: '225px', + width: '600px', + height: '285px', href: false, html: html, onComplete: function() {