Dylan Hunt suggested an idea · May 15, 2017 at 05:01 AM · apis
They have tons of friendly APIs, use JSON for everything, and it's the top solution right now for friendly UX, anti fraud (customizable), and scalability.
They also have "connect" apps -- so you can even make a plugin that you 1-click connect to your playfab account (like from your plugin dashboard)
On top of that, Star Citizen uses it, as a prime example.
We use it, too -- you can check out the flow (without actually finishing) @ https://www.ThroneOfLies.com
____________________________________
In my setup, the client pays >>
goes to my node API before it's officially approved >>
I add a steam key to metadata and description (so the key is delivered via a reliable Stripe email) >>
delete key as soon as I grab it from my mongoDB (add back if err/failed) >>
Show a thank you page if success, or err page if err.
____________________________________
My open-source implementation (meant for snippets or ideas -- probably won't work if you just clone it):
https://github.com/dylanh724/tol-node-public/blob/master/tol2/routes/stripe.js#L492-L607
____________________________________
There's also a "simple mode" too, where you just paste some client code and you don't even need a server.
Dylan Hunt commented · May 15, 2017 at 05:03 AM
(oops can't edit)
To add, the API also includes all receipts, balance, and more. You could store charge reference #s with accounts and call it with ease. We don't personally attach to accounts (because people may be gifting), but perhaps that could be a separate endpoint to gift it or apply it to account.
Err -- not a new endpoint, a parameter to require a session or not.
They also do webhooks for PlayStream or something. We use it to send a Discord hook notification of a sale.
Dylan Hunt commented · May 16, 2017 at 02:26 PM
To add:
* itch.io uses Stripe
* Gamejolt.com uses Stripe
Ilse Mul commented · May 16, 2017 at 05:51 PM
Thanks @Dylan Hunt!
We would love to know what you need. Submit your ideas and upvote others to help us prioritize.
Silent Login for Google Play Games Services on Android
[C++ SDK] PlayFab[*]HttpPlugin implementations must handle GET and PUT HttpMethods
Disabling PlayFabMultiplayerAgentView class when disabling server API to avoid error
New Client call/params to get new FB token
Allow Segments to be Defined by API
Add IsConsumable field to PlayFab's API for catalog items
Improve GrantItemsToUsers to support item grants from multiple catalogs in a single call