BitPay introduces modal windows for better Bitcoin payments

in #news10 years ago


The Bitcoin company BitPay has announced the launch of a new invoice display option to make paying with Bitcoin even easier. The new display is a modal window which offers multiple methods of making a payment.

The modal interface offers customers multiple payment methods. You can either scan the bar code which is displayed with a mobile Bitcoin wallet, copy and paste a Bitcoin amount into a wallet, or you can pay from a wallet on the desktop or a mobile device by selecting “Open Wallet.” Payments are confirmed with a "ding", which BitPay says it's “especially proud of”.

To set up the new invoice payment method on your site, you should:

Add bitpay.js to your web page:
When you create an invoice with a POST request to BitPay, BitPay returns the id of the invoice as part of the request response.
To display the newly created invoice within a modal, pass the invoice id into the showInvoice method provided in bitpay.js: bitpay.showInvoice(id);
The modal invoice will automatically update when payments have been received. In addition to the server IPN sent to your notificationURL, the modal iframe will send a POST message to the parent window that the status has changed.
Source: BitPay Blog

Coin Marketplace

STEEM 0.04
TRX 0.32
JST 0.099
BTC 64552.29
ETH 1917.05
USDT 1.00
SBD 0.38