monero-project / monero

Monero: the secure, private, untraceable cryptocurrency
https://getmonero.org
Other
8.98k stars 3.11k forks source link

how do I make a simple payment portal for accepting monero payments on my website, without a third party service? #6404

Closed mstyp closed 4 years ago

mstyp commented 4 years ago

I run a brick and mortar shop and I really like the built in merchent view page on the default gui wallet. I would like to add similar functionality to my website, but I have no idea how to do that.

Its just a simple one page website hosted on a debian 10 VPS with apache. No java or css or whatever. Just text product discriptions and links to pay with paypal.

I do have the monero cli wallet installed on the vps but i dont know how to make the website talk to it. Is there something that I can add to my website which generates a new address each time a user clicks a button?

All of the solutions I have seen (including all the ones listed at https://web.getmonero.org/community/merchants/#libraries) require some third party or service that I am not part of (like the wordpress/globee plugins) or their documentation seems to assume people know how to code and are way too complicated for me to follow.

I tried using the php libraries but after the "getting started" section their documentation does not include any steps for how to actually set up a working payment portal.

ideally the process on my website would be:

  1. user inputs their info into form

  2. user clicks pay with xmr

  3. unique payment code/subadress/whatever is generated

  4. user pays

  5. after 1 confirmation i get a notification to send out product

I can follow guides and processes but I don't want to have to write my own scripts from scratch or spend hours troubleshooting. I can ssh into my vps, cd around directories and apt install and git clone and copy paste and thats about it.

t-900-a commented 4 years ago

btcpay server supports monero, it's a bit complicated to setup, and I don't believe there is any good documentation out there. Here's a demo for btcpay server to give you an idea what the site would look like. https://store.btcpayserver.org/homepage/

You may be able to find someone to set this up for you on telegram: https://t.me/MoneroJobs

Documentation: https://github.com/btcpayserver/btcpayserver-doc/blob/master/Altcoins.md#how-can-i-add-an-altcoin-to-btcpayserver

Unfortunately they BTC pay server is geared towards BTC users, so remember to "Beware of Bitcoin" https://masteringmonero.com/bitcoin.html