GithubHelp home page GithubHelp logo

alexk111 / debitpay Goto Github PK

View Code? Open in Web Editor NEW
122.0 122.0 25.0 1.55 MB

❇️ DeBitpay is a simple app which decodes Bitpay payment links into Bitcoin transaction requirements, so that you could make the payments with Bitcoin wallets not supporting Bitpay.

Home Page: https://alexk111.github.io/DeBitpay/

License: MIT License

HTML 32.61% JavaScript 67.39%
bip70 bitcoin bitcoin-payment bitpay payment-protocol

debitpay's People

Contributors

alexk111 avatar dependabot[bot] avatar jnmclarty avatar leighman avatar sha-265 avatar takinbo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

debitpay's Issues

Thanks!

Just wanna say thank you :)
I've used it today and still works great.

URI encoding for payment URL and QR codes are incorrect

The URI encoding for the payment url and QR code are incorrect. Rather than concatenating using the ? character, the & character should be used instead. I was able to determine this when my wallet couldn't decode the QR code and I'll be submitting a pull request shortly.

It still works

If you've recently paid a decoded invoice, please write a comment below so that others could see that it still works.

Library no longer working

Bitpay blocked this method by requiring user interaction on the invoice page. The interaction required is choosing the payment currency BTC/LTC etc.

Server is now returning 400 error.

< HTTP/2 400
< content-type: text/html; charset=utf-8
< content-length: 70

Currency not yet selected on invoice page, please select and try again

Add support ETH

Hello

Please add support ETH
Check commit: coffee-software/coffee.wallet@53e7aaa

POST request to same URL (Bitcoin) with headers:
x-paypro-version: 2
Content-Type: application/payment-request

POST body:
{"chain":"ETH"}

In response parse: amount, address, data, gas price

Thanks u for this work!

Bitcoin Cash

Is this awesome little tool compatible with Bitcoin Cash? Thanks!

Stopped working?

Just tried running it for a payment to a file server website (uploaded.net)
and i get an error: "Could not get data for the specified payment request"

BitPay Miner Fee

Thanks for the tool, just some additional information if anyone is interested.

I was a bit concerned about the mining fee, as here a warning is stated:

Warning: if you don't pay at least the fee rate specified, then BitPay might not register your payment. Round your fees up if necessary.

However, it works fine with lower fees, BitPay will just send you the following e-mail and confirm your transaction when it was accepted:

What's going on?

Your bitcoin transaction has been broadcast, but it does not yet have any confirmations. BitPay does not have your money. We also cannot control when transactions are confirmed on the Bitcoin network.

Why is this taking so long?

You created your transaction with a low bitcoin miner fee, which goes to pay the Bitcoin network's cost for confirming your payment. This low fee may prevent your payment from being confirmed on the Bitcoin network in the usual period of a few minutes to a few hours.

What now?

If the transaction confirms, the funds will be credited to the merchant and you can receive your order or request a refund from the merchant.

If the transaction doesn't confirm, the funds will be spendable again in your wallet. Depending on the wallet, this may take 48-72 hours.

How do I prevent this?

If you want your transactions to confirm faster, use a true bitcoin wallet (instead of online exchanges or accounts) that will automatically use sufficient transaction fees.

BitPay Wallet users can update their transaction fees to Priority in their wallet network fee policy settings.

How to get this to run in the Chrome console?

Is there js code I can just paste into the Chrome console on the Bitpay invoice page to show all this data? Just being paranoid and wanted to manually verify the bitcoin send to address. thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.