GoldCoin Talk

Lobby => Newbie Central => How-To Guides => Topic started by: GoldMine on August 28, 2013, 11:16:35 PM

Title: Tutorial needed - How To Accept Payment In Goldcoins At A Website
Post by: GoldMine on August 28, 2013, 11:16:35 PM


It would help alot if there was a tutorial that teaches how to accept payments in Goldcoins at a website.

Title: Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
Post by: Stouse49 on August 29, 2013, 04:41:17 PM
This would be an excellent tutorial to have.

This may be hard to implement unless there was a GoldCoin merchant services site that handled all the legwork (in a similar way as PayPal and Google Wallet).  In such a case a person could more easily add GoldCoin as a payment option without concerning himself with the GoldCoin Service running in the background all the time.
Title: Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
Post by: GoldMine on August 29, 2013, 09:24:09 PM


Something like BitPay does for bitcoins. I was able to deposit bitcoins at namecheap.com that way.
I filled out the amount at namecheap.com and then got redirected to BitPay, and it worked fine to deposit some money into my namecheap account.

Something like BitPay for Goldcoins would help Goldcoin
Title: Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
Post by: crypto4games on September 01, 2013, 01:33:03 AM
I could share my opencart script if people are interested. It is just a modified version of https://github.com/btcgear/OpenCart_Bitcoin (https://github.com/btcgear/OpenCart_Bitcoin).

Only downside is you have to update the value daily. I could however update it to pull from an api if there is a site that has a daily average for goldcoin.
Title: Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
Post by: ipaint on September 01, 2013, 02:08:30 AM
crypto4games, Can you have people submit their address with it?
Title: Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
Post by: crypto4games on September 01, 2013, 03:13:34 PM
crypto4games, Can you have people submit their address with it?

I am not sure what you're asking. Could you explain it a little bit more please?
Title: Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
Post by: MicroGuy on September 01, 2013, 03:41:23 PM
I could share my opencart script if people are interested. It is just a modified version of https://github.com/btcgear/OpenCart_Bitcoin (https://github.com/btcgear/OpenCart_Bitcoin).

Only downside is you have to update the value daily. I could however update it to pull from an api if there is a site that has a daily average for goldcoin.

Perhaps you could use the Cryptsy API? I think that's what the developers are using for the Android App.

crypto4games, Can you have people submit their address with it?

I am not sure what you're asking. Could you explain it a little bit more please?

I also do not understand what ipaint is asking.  ???
Title: Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
Post by: crypto4games on September 01, 2013, 11:59:31 PM

Perhaps you could use the Cryptsy API? I think that's what the developers are using for the Android App.

Using their public api's are you able to get a daily average? I haven't used their api and I am probably blind, could someone point me in the right direction?
Title: Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
Post by: Stouse49 on September 02, 2013, 02:29:46 AM
The crypty public api is at:  http://pubapi.cryptsy.com/api.php?method=marketdata

This will retrieve the market data for all the coins traded at Cryptsy (against BTC or LTC).

Besides including the last trade price and the volume for the past 24 hours, it contains the last 50 to 200 trades for each coin.  From that information a weighted average can be calculated over a given period of time.  Currently I am working on a php version and a java version of this code, which I can make available within 3 days.
Title: Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
Post by: crypto4games on September 02, 2013, 08:45:18 AM
Thanks Stouse49. I would like to check that out when you're done. Sounds very useful.
Title: Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
Post by: Stouse49 on September 02, 2013, 11:14:24 PM
The attached Zip file has two files.

The first (cryptsy.php) is a file that displays all the coins traded on Cryptsy and their associated average trading prices (based on the last 100 trades).  The second file (cryptsy_api.php) is the file that gets the information from crypsty.com and calculates the average price.

Depending on the day, 100 shares may not be 24 hours in total.  There is a way to get more that 100 trades, but that would require the private API.

http://stousenet.com/goldcoin/cryptsy.php - This will show all the average prices.
Title: Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
Post by: pr0d1gy on September 02, 2013, 11:32:35 PM
Accepting Goldcoin At Webstore? Super easy. Sign up for CoinPayments.net

We are currently adding GLD as well as a few other coins, making a total of 21 coins. Come join the Beta. :)
Title: Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
Post by: crypto4games on September 09, 2013, 01:57:14 PM
The attached Zip file has two files.

The first (cryptsy.php) is a file that displays all the coins traded on Cryptsy and their associated average trading prices (based on the last 100 trades).  The second file (cryptsy_api.php) is the file that gets the information from crypsty.com and calculates the average price.

Depending on the day, 100 shares may not be 24 hours in total.  There is a way to get more that 100 trades, but that would require the private API.

http://stousenet.com/goldcoin/cryptsy.php - This will show all the average prices.

What is your experience using their API? I have been playing with it a bit today and it is very slow. Even using a specific coin (ex. http://pubapi.cryptsy.com/api.php?method=singlemarketdata&marketid=30) takes 35+ seconds to pull the api and often times out.
Title: Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
Post by: Stouse49 on September 09, 2013, 07:56:34 PM
The attached Zip file has two files.

The first (cryptsy.php) is a file that displays all the coins traded on Cryptsy and their associated average trading prices (based on the last 100 trades).  The second file (cryptsy_api.php) is the file that gets the information from crypsty.com and calculates the average price.

Depending on the day, 100 shares may not be 24 hours in total.  There is a way to get more that 100 trades, but that would require the private API.

http://stousenet.com/goldcoin/cryptsy.php - This will show all the average prices.

What is your experience using their API? I have been playing with it a bit today and it is very slow. Even using a specific coin (ex. http://pubapi.cryptsy.com/api.php?method=singlemarketdata&marketid=30) takes 35+ seconds to pull the api and often times out.

Yes the public API is slow.  It wasn't 35 seconds for me, but currently I am 1,500 miles from their servers.  Until you pointed it out, I didn't even know Cryptsy had expanded their API, which is beneficial if only a few coins are needed.

Perhaps you could submit a support ticket to Cryptsy about resolving this issue.  Perhaps their api servers are overloaded with trading bot requests.
Title: Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
Post by: crypto4games on September 09, 2013, 09:36:10 PM
I just tried it and it only took 5 or so seconds. Maybe they were having server issues. I'll work it on a bit more tonight.


-Update
I have added cryptsy API to my checkout process with the help of Stouse49 so we should have more accurate GLD prices daily but it does slow the checkout process significantly. I am going to keep an eye on it for a few days and may change it back to manual mode if cryptsy's API is always this slow.
Title: Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
Post by: Snail2 on October 17, 2013, 08:04:03 AM
Maybe this payment gateway could be a solution:

https://www.coinpayments.net/index.php?cmd=supported_coins
Title: Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
Post by: bustingbuster on November 19, 2013, 07:07:09 AM
Well i am trying to run gldclient in daemon mode, So i need some help anyone mind helping me please ?

-Thanks-
Title: Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
Post by: stemis on November 25, 2013, 01:50:09 PM
Has any more progress been made on accepting Goldcoins as payment?  I am interested in any updates.
Title: Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
Post by: miner007 on December 08, 2013, 11:46:56 PM
I could share my opencart script if people are interested. It is just a modified version of https://github.com/btcgear/OpenCart_Bitcoin (https://github.com/btcgear/OpenCart_Bitcoin).

Only downside is you have to update the value daily. I could however update it to pull from an api if there is a site that has a daily average for goldcoin.

i can write an API if you are interested, as well as the server process that will constantly update it.

PM me if you're interested.
Title: Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
Post by: pr0d1gy on May 20, 2014, 11:46:08 PM
Not sure if people still actually need this, but https://www.coinpayments.net/merchant-tools-plugins over 20 plugins for popular webcarts, as well as ability to accept gld, btc, and more coins that i can think of... ;-)