Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • Feature Requests /
avatar image

Dylan Hunt suggested an idea · May 15, 2017 at 05:01 AM · apis

Stripe integration

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.

thub.nodes.view.add-new-comment
Dylan Hunt
Ilse Mul
Craig
court
Jordan Maxwell
joel-3
eric_inspace
chris-7
David Callanan

People who like this

9 Show 0
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 comments

· Add your reply
avatar image

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.

thub.nodes.view.add-new-comment

People who like this

0 Show 1
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Dylan Hunt · May 15, 2017 at 05:04 AM 0
Share

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.

avatar image

Dylan Hunt commented · May 16, 2017 at 02:26 PM

To add:

* itch.io uses Stripe
* Gamejolt.com uses Stripe

thub.nodes.view.add-new-comment

People who like this

0 Show 0
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Ilse Mul commented · May 16, 2017 at 05:51 PM

Thanks @Dylan Hunt!

thub.nodes.view.add-new-comment
Dylan Hunt
chris-7

People who like this

2 Show 0
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Your Opinion Counts

    We would love to know what you need. Submit your ideas and upvote others to help us prioritize.

    Sign in to post a new idea

    Follow

    Follow This Idea

    1 Person is following this .

    avatar image

    Related Ideas

    allow PurchaseItem from server api OR allow GetStoreItems from server api OR add parameter to client.PurchaseItem to copy customdata

    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

    Remove old Cloud Script revisions using Admin API

    Validate purchases in the server API

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges