from Hacker News

Ask HN: Best practices for accepting Payments (Cards, BTC) in 2024?

by mikhael28 on 7/17/24, 10:26 AM with 2 comments

Hey HN, I'm getting to the point where I will shortly be integrating payments into the product I'm working on. The last time I added payments was a couple years ago, with Stripe checkout, and that seemed to work well-enough. I've heard some rough stories about Stripe in the past few years, but you almost never hear people's boring successes with the platform as well. I am wondering, in terms of accepting Visa/Mastercard, are there programmatic options better than Stripe out there? Is there any reason to consider an alternative, PCI compliant obviously.

Additionally, I am looking to offer Bitcoin payments for a 'lifetime' membership, as the prospect of managing subscriptions with Bitcoin seems a bit much. I have taken a look at the Lightning Network, as the 'proof of concept' on Stacker News (https://stackernews.com) seems to work really well, but since it is going to be a simple one off transaction - I don't need that. I would be looking at accepting a BTC transaction, then waiting for 30 minutes or so for the network to get it's stuff together, and then afterwards hitting a web hook or callback of some sort to send a confirmation/authenticate the user who purchased the product with the unique payment ID, or whatever.

If you have any resources that have helped you integrate those style of Bitcoin payments into your web application, would you mind sharing them here? As well, are there any resources/libraries/processes that I should consult for AML/KYC compliance?

Cheers!

  • by tiernano on 7/17/24, 11:15 AM

    > I've heard some rough stories about Stripe in the past few years, but you almost never hear people's boring successes with the platform as well.

    Generally, anyone happy with stripe, like my last company, doesn't make much noise. It's like everything else. Only people angry shout on forums or here… anyone happy is probably busy doing other stuff.

  • by amlozano on 7/24/24, 4:50 AM

    Check out btcpayserver

    https://btcpayserver.org/