Building a Steam Purchase Server
One of my main goals in 2016 is to build a built-in store for Leadwerks users to buy and sell 3D models and other items through Steam. It took me a while to understand how this works:
- The client (Leadwerks Editor) sends a message to the Leadwerks.com server requesting that a purchase be made.
- The Leadwerks.com server sends a message to the Steam server requesting that a purchase be initialized.
- Steam displays a dialog to confirm the transaction in Leadwerks Editor.
- The Steam server returns the result of the transaction to the Leadwerks.com server.
- If the transaction was successful, the Leadwerks server stores a record of the transaction in an SQL database on the server.
- The editor receives a message confirming the transaction and downloads the purchased item.
It's sort of complicated, and it's not really something I am used to dealing with. The first step is to restore our SSL certificate, which I let lapse because we aren't using it for anything anymore. I have a web developer I talked to a few months ago about this project, and put it on hold because of the holidays, but will contact him again soon.
- 1
15 Comments
Recommended Comments