Title: Guidance for accepting lighting BTC on website Post by: bnbstorm on January 29, 2023, 08:05:10 PM Hello
I want some guidance to accept L. Bitcoin on my website preferably in PHP. If it is not available then help me understand how can we generate invoices and how can we confirm if they have been paid. Thanks Title: Re: Guidance for accepting lighting BTC on website Post by: witcher_sense on January 29, 2023, 09:11:56 PM Hello I don't have much experience in this field but in my view this is probably the most optimal approach: https://docs.btcpayserver.org/FAQ/Integrations/#what-e-commerce-integrations-are-availableI want some guidance to accept L. Bitcoin on my website preferably in PHP. If it is not available then help me understand how can we generate invoices and how can we confirm if they have been paid. Thanks Title: Re: Guidance for accepting lighting BTC on website Post by: n0nce on January 29, 2023, 09:14:52 PM You want to look into BTCPay Server (https://btcpayserver.org/).
It even has WordPress integration and many others, depending on your use case. I'd recommend this deployment method: https://docs.btcpayserver.org/Deployment/Hardware/ which gives you complete control. Obviously you can skip the home-network-specific stuff like DynDNS and NAT tunnelling-related instructions, since I assume your website is hosted on a static IP server of some sort. Title: Re: Guidance for accepting lighting BTC on website Post by: serveria.com on January 29, 2023, 10:45:55 PM Hello I want some guidance to accept L. Bitcoin on my website preferably in PHP. If it is not available then help me understand how can we generate invoices and how can we confirm if they have been paid. Thanks You could use any ready-made solution/plugin which will work out of the box for you (like Bitpay). The downside is that these services are paid you need to pay a certain fee or %. Second option is a free service for example from blockchain.com. In this case you'll need some custom code, so to hire a developer etc. Title: Re: Guidance for accepting lighting BTC on website Post by: bnbstorm on January 29, 2023, 10:58:46 PM Hello I don't have much experience in this field but in my view this is probably the most optimal approach: https://docs.btcpayserver.org/FAQ/Integrations/#what-e-commerce-integrations-are-availableI want some guidance to accept L. Bitcoin on my website preferably in PHP. If it is not available then help me understand how can we generate invoices and how can we confirm if they have been paid. Thanks You want to look into BTCPay Server (https://btcpayserver.org/). It even has WordPress integration and many others, depending on your use case. I'd recommend this deployment method: https://docs.btcpayserver.org/Deployment/Hardware/ which gives you complete control. Obviously you can skip the home-network-specific stuff like DynDNS and NAT tunnelling-related instructions, since I assume your website is hosted on a static IP server of some sort. Thank you. I will study these links and get back. Hello I want some guidance to accept L. Bitcoin on my website preferably in PHP. If it is not available then help me understand how can we generate invoices and how can we confirm if they have been paid. Thanks You could use any ready-made solution/plugin which will work out of the box for you (like Bitpay). The downside is that these services are paid you need to pay a certain fee or %. Second option is a free service for example from blockchain.com. In this case you'll need some custom code, so to hire a developer etc. I don't want to use a 3rd party because it kills Bitcoin Decentralization and purpose. Also I think Blockchain API doesn't have lightening support Title: Re: Guidance for accepting lighting BTC on website Post by: Marvelman on January 30, 2023, 12:18:12 AM Hello I want some guidance to accept L. Bitcoin on my website preferably in PHP. If it is not available then help me understand how can we generate invoices and how can we confirm if they have been paid. Thanks I don't know of a ready-made solution for PHP, but you will probably need a running Lightning node to receive payments. You can use a service like Lightning Charge (if you like the node.js solution) or set up your own node. After setting up the service, you have available client libraries for JavaScript and PHP. For other languages, you can use the REST API directly using a standard HTTP library. Lightning Charge - https://github.com/ElementsProject/lightning-charge lightning-charge-client-php - https://github.com/ElementsProject/lightning-charge-client-php Title: Re: Guidance for accepting lighting BTC on website Post by: Sarah Azhari on January 30, 2023, 03:27:19 AM I want some guidance to accept L. Bitcoin on my website preferably in PHP. I ever used coinbase commerce in one time, that processor's payment was included on selly.gg. but I forgot how to compile it. but you learn it here https://docs.cloud.coinbase.com/commerce/docs/welcomeMany payment procecosr out there you can use such as: Open Node (https://www.opennode.com) and Coingate (https://coingate.com) Title: Re: Guidance for accepting lighting BTC on website Post by: bnbstorm on January 30, 2023, 06:27:58 AM I want some guidance to accept L. Bitcoin on my website preferably in PHP. I ever used coinbase commerce in one time, that processor's payment was included on selly.gg. but I forgot how to compile it. but you learn it here https://docs.cloud.coinbase.com/commerce/docs/welcomeMany payment procecosr out there you can use such as: Open Node (https://www.opennode.com) and Coingate (https://coingate.com) Coinbase commerce is limited for some specific countries and does not work in some countries. Coingate requires KYC verification for merchants so kinda kills purpose of using Bitcoin. Will read about opennode. Thanks though Hello I want some guidance to accept L. Bitcoin on my website preferably in PHP. If it is not available then help me understand how can we generate invoices and how can we confirm if they have been paid. Thanks I don't know of a ready-made solution for PHP, but you will probably need a running Lightning node to receive payments. You can use a service like Lightning Charge (if you like the node.js solution) or set up your own node. After setting up the service, you have available client libraries for JavaScript and PHP. For other languages, you can use the REST API directly using a standard HTTP library. Lightning Charge - https://github.com/ElementsProject/lightning-charge lightning-charge-client-php - https://github.com/ElementsProject/lightning-charge-client-php Yes I would need to run own node. Most probably I will try BtcPay as they have good documentation. Will also read about your recommendations. Thanks Title: Re: Guidance for accepting lighting BTC on website Post by: joniboini on January 30, 2023, 11:26:11 AM Coinbase commerce is limited for some specific countries and does not work in some countries. Are you referring to Coinbase-managed commerce? I remember posting about it a few days ago, but it seems like they have a self-hosted option. However, you still need to register an account and they still collect some personal data[1]. It doesn't look like they ask for KYC for that option. But I do agree that BTCPay is probably your best choice if you want control and privacy. CMIIW.[1] https://www.coinbase.com/commerce/faq Title: Re: Guidance for accepting lighting BTC on website Post by: Marvelman on January 30, 2023, 10:22:59 PM Coinbase commerce is limited for some specific countries and does not work in some countries. Are you referring to Coinbase-managed commerce? I remember posting about it a few days ago, but it seems like they have a self-hosted option. However, you still need to register an account and they still collect some personal data[1]. It doesn't look like they ask for KYC for that option. But I do agree that BTCPay is probably your best choice if you want control and privacy. CMIIW.[1] https://www.coinbase.com/commerce/faq Coinbase Commerce doesn't support the Lightning Network, afaik. Title: Re: Guidance for accepting lighting BTC on website Post by: bnbstorm on January 31, 2023, 05:28:14 AM Coinbase commerce is limited for some specific countries and does not work in some countries. Are you referring to Coinbase-managed commerce? I remember posting about it a few days ago, but it seems like they have a self-hosted option. However, you still need to register an account and they still collect some personal data[1]. It doesn't look like they ask for KYC for that option. But I do agree that BTCPay is probably your best choice if you want control and privacy. CMIIW.[1] https://www.coinbase.com/commerce/faq Coinbase does not support lighting payments yet. And their simple account creation also requires personal information. Well thanks for helping. I will read more on link and hopefully use it in future. Coinbase commerce is limited for some specific countries and does not work in some countries. Are you referring to Coinbase-managed commerce? I remember posting about it a few days ago, but it seems like they have a self-hosted option. However, you still need to register an account and they still collect some personal data[1]. It doesn't look like they ask for KYC for that option. But I do agree that BTCPay is probably your best choice if you want control and privacy. CMIIW.[1] https://www.coinbase.com/commerce/faq Coinbase Commerce doesn't support the Lightning Network, afaik. Exactly my thoughts. Also they require account creation which requires lot of personal information and maybe kyc as well Title: Re: Guidance for accepting lighting BTC on website Post by: bnbstorm on January 31, 2023, 12:38:25 PM OP, you might want to check this list as additional resource [url]https://github.com/alexk111/awesome-bitcoin-payment-processors/url]. Thanks this link is useful. I want to add Blockchain.com website is good for accepting bitcoin payments as their Api allows you to control your keys. However they don't accept lighting. Coinbase is a centralized solution and almost all of their payment solutions land in to their accounts where you need kyc and you doesn't give full control as well as no lighting. |