Bitcoin Forum
May 21, 2024, 05:24:10 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Guidance for accepting lighting BTC on website  (Read 124 times)
bnbstorm (OP)
Copper Member
Member
**
Offline Offline

Activity: 98
Merit: 34


View Profile
January 29, 2023, 08:05:10 PM
Merited by ABCbits (1)
 #1

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

witcher_sense
Legendary
*
Offline Offline

Activity: 2352
Merit: 4369


🔐BitcoinMessage.Tools🔑


View Profile WWW
January 29, 2023, 09:11:56 PM
 #2

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 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-available

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
n0nce
Hero Member
*****
Offline Offline

Activity: 882
Merit: 5829


not your keys, not your coins!


View Profile WWW
January 29, 2023, 09:14:52 PM
Merited by ABCbits (1)
 #3

You want to look into BTCPay Server.
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.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
serveria.com
Legendary
*
Offline Offline

Activity: 2254
Merit: 1176


Privacy Servers. Since 2009.


View Profile WWW
January 29, 2023, 10:45:55 PM
 #4

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.
bnbstorm (OP)
Copper Member
Member
**
Offline Offline

Activity: 98
Merit: 34


View Profile
January 29, 2023, 10:58:46 PM
Merited by ABCbits (1), n0nce (1)
 #5

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 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-available

You want to look into BTCPay Server.
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

Marvelman
Full Member
***
Offline Offline

Activity: 1008
Merit: 137


★Bitvest.io★ Play Plinko or Invest!


View Profile
January 30, 2023, 12:18:12 AM
 #6

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

Sarah Azhari
Hero Member
*****
Offline Offline

Activity: 882
Merit: 741


View Profile
January 30, 2023, 03:27:19 AM
 #7

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/welcome

Many payment procecosr out there you can use such as: Open Node and Coingate
bnbstorm (OP)
Copper Member
Member
**
Offline Offline

Activity: 98
Merit: 34


View Profile
January 30, 2023, 06:27:58 AM
 #8

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/welcome

Many payment procecosr out there you can use such as: Open Node and Coingate

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

joniboini
Legendary
*
Offline Offline

Activity: 2198
Merit: 1792



View Profile WWW
January 30, 2023, 11:26:11 AM
 #9

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

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits.
..........UNLEASH..........
THE ULTIMATE
GAMING EXPERIENCE
DUELBITS
FANTASY
SPORTS
████▄▄█████▄▄
░▄████
███████████▄
▐███
███████████████▄
███
████████████████
███
████████████████▌
███
██████████████████
████████████████▀▀▀
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
.
▬▬
VS
▬▬
████▄▄▄█████▄▄▄
░▄████████████████▄
▐██████████████████▄
████████████████████
████████████████████▌
█████████████████████
███████████████████
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
/// PLAY FOR  FREE  ///
WIN FOR REAL
..PLAY NOW..
Marvelman
Full Member
***
Offline Offline

Activity: 1008
Merit: 137


★Bitvest.io★ Play Plinko or Invest!


View Profile
January 30, 2023, 10:22:59 PM
 #10

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.

bnbstorm (OP)
Copper Member
Member
**
Offline Offline

Activity: 98
Merit: 34


View Profile
January 31, 2023, 05:28:14 AM
 #11

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

bnbstorm (OP)
Copper Member
Member
**
Offline Offline

Activity: 98
Merit: 34


View Profile
January 31, 2023, 12:38:25 PM
 #12

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.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!