btcpayserver | Accept Bitcoin payments | Cryptocurrency library
kandi X-RAY | btcpayserver Summary
kandi X-RAY | btcpayserver Summary
Accept Bitcoin payments. Free, open-source & self-hosted, Bitcoin payment processor.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of btcpayserver
btcpayserver Key Features
btcpayserver Examples and Code Snippets
Community Discussions
Trending Discussions on btcpayserver
QUESTION
This is a follow up question to this post but my question is more programming related so I'm hoping this is the right place to post it.
I too am trying to use BTC Pay Server as a wallet. Thera are two problems:
- As described in the article, you have to specify an amount when creating an invoice.
- It has a security feature that basically results in you not being able to re-use deposit addresses.
The workaround for problem 1 is to set the invoice amount to 0.000001 BTC. So low that the client will always overpay. That works for me to.
But my problem is that address must not expire ever. I checked the code:
It looks like I might be able to use this:
...ANSWER
Answered 2020-Aug-22 at 14:48
- Will BTC Pay server ditch my address if I attempt to use this to make it never expire?
Actually, you may encounter the year 2038 problem if the type for expirationTime is DateTime. If that really is the case, it will be set a negative value when you try to pass a value larger than 2038. It is unclear what will happen next.
If the system the code is running on is 64bit, then the Y2038 problem does not apply.
- Will I still receive the funds if a user sends to an expired address
If the customer pays the invoice, but it fails to get the defined number of confirmations within the set period, it is marked as "invalid." The merchant can then decide whether to accept the invoice afterward manually or decline it and require additional payment from the customer. This is an additional protection mechanism against the volatility
So not exactly - some work is required on your part to accept it, if it expires.
- Or is there perhaps a better way to get BTC Pay server to act as a wallet as I want it to?
Instead of setting it to the year 3000, why don't you just set the invoice a year ahead at a time ?
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install btcpayserver
While the documentation advises using docker-compose, you may want to build BTCPay Server yourself. First, install .NET Core SDK v6.0 as specified by the Microsoft website.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page