October 05, 2024, 10:40:58 AM

Author Topic: Tutorial needed - How To Accept Payment In Goldcoins At A Website  (Read 15454 times)

0 Members and 1 Guest are viewing this topic.

Offline GoldMine

  • Prospector
  • ***
  • Posts: 71
  • Karma: +7/-10
    • View Profile
    • www.digitalgoldcoin.com


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

First Goldcoin blogger. First one to run a Goldcoin Web Directory. selling digitalgoldcoin.com and 5 other digital gold coin domain names at namepros
namepros.com/threads/6-digital-currency-gold-coin-names-digitalgoldcoin-com.829489/

Offline Stouse49

  • Gold Engineer
  • DevTeam
  • *****
  • Posts: 711
  • Karma: +66/-0
    • View Profile
Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
« Reply #1 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.
GLD: E1A6WogjpqU3KjjoRUD63f7kofrFozmyfg

Offline GoldMine

  • Prospector
  • ***
  • Posts: 71
  • Karma: +7/-10
    • View Profile
    • www.digitalgoldcoin.com
Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
« Reply #2 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
First Goldcoin blogger. First one to run a Goldcoin Web Directory. selling digitalgoldcoin.com and 5 other digital gold coin domain names at namepros
namepros.com/threads/6-digital-currency-gold-coin-names-digitalgoldcoin-com.829489/

crypto4games

  • Guest
Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
« Reply #3 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.

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.

Offline ipaint

  • Global Moderator
  • *****
  • Posts: 524
  • Karma: +22/-0
  • Artist View
    • View Profile
    • Abstract Artist
Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
« Reply #4 on: September 01, 2013, 02:08:30 AM »
crypto4games, Can you have people submit their address with it?
Artist, Writer, Producer, Voice-overs,  DJ,
View my art work on AbstractArtist.xyz
GLD: DtJthUQungFQZ65c9j7PcmjSyTfWKRq3LL

crypto4games

  • Guest
Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
« Reply #5 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?

Offline MicroGuy

  • System Admin
  • *****
  • Posts: 3471
  • Karma: +47/-0
  • "Shoot for the Stars!"
    • View Profile
    • MicroGuy.com
Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
« Reply #6 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.

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.  ???
"The heart of any cryptocurrency can be found in the spirit of its community."

crypto4games

  • Guest
Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
« Reply #7 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?

Offline Stouse49

  • Gold Engineer
  • DevTeam
  • *****
  • Posts: 711
  • Karma: +66/-0
    • View Profile
Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
« Reply #8 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.
GLD: E1A6WogjpqU3KjjoRUD63f7kofrFozmyfg

crypto4games

  • Guest
Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
« Reply #9 on: September 02, 2013, 08:45:18 AM »
Thanks Stouse49. I would like to check that out when you're done. Sounds very useful.

Offline Stouse49

  • Gold Engineer
  • DevTeam
  • *****
  • Posts: 711
  • Karma: +66/-0
    • View Profile
Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
« Reply #10 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.
GLD: E1A6WogjpqU3KjjoRUD63f7kofrFozmyfg

Offline pr0d1gy

  • Official Merchant
  • *****
  • Posts: 29
  • Karma: +8/-0
    • View Profile
Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
« Reply #11 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. :)

crypto4games

  • Guest
Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
« Reply #12 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.

Offline Stouse49

  • Gold Engineer
  • DevTeam
  • *****
  • Posts: 711
  • Karma: +66/-0
    • View Profile
Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
« Reply #13 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.
GLD: E1A6WogjpqU3KjjoRUD63f7kofrFozmyfg

crypto4games

  • Guest
Re: Tutorial needed - How To Accept Payment In Goldcoins At A Website
« Reply #14 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.
« Last Edit: September 10, 2013, 01:55:23 AM by crypto4games »