Payment Service Providers
Learn how to set up Payment Service Providers (PSP) like PayPal, Stripe and Patreon with GSA to process payments for your community.
All money goes straight to your PayPal, Stripe or Patreon account. GSA charges no fees for any transaction.
When a player wants to buy a Tier, GSA instructs your Payment Service Provider (PSP) to charge the player for X amount.
When a payment is finished GSA will verify if the payment was successful and deliver the Supporter Tier.
Communication between GSA and the PSPs happen behind the scenes using the API keys you learn to set up below.
GSA staff will never ask for your password or API keys. Do not share them with anyone.
Connect PayPalโ
1. PayPay developers siteโ
Navigate to developer.paypal.com and log in. You need to have a valid PayPal account for this.
2. Create REST API appsโ
First, make sure you are using the LIVE
mode
Then click Apps & Credentials
in the top menu and hit Create App
.
3. Create Appโ
Enter GSA API
(or something similar) in the App Name
field.
Hit Create App
to continue.
4. Configure API featuresโ
Before you can copy your API keys, you need to grant the necessary permissions to the new API keys.
Scroll down to the Features
section.
Enable Vault
and Subscriptions
. Then click Save Changes
.
Vault
and Subscriptions
For security reasons we recommend you only enable Vault
and Subscriptions
.
5. Setup webhookโ
Underneath the API features section you can set up webhooks.
Webhooks are used for subscriptions. Without webhooks your subscriptions won't work.
5.1 Add webhookโ
Click Add Webhook
to add your personal GSA webhook url.
5.2 Find your personal GSA webhook urlโ
Copy your unique webhook URL from your GSA dashboard and enter it in the Webhook URL
field on the PayPal developer website.
5.3 Activate eventโ
Ensure only the following checkboxes are checked:
Payment sale completed
(underPayments & Payouts
)Billing subscription cancelled
(underBilling subscription
)Billing subscription expired
(underBilling subscription
)
Now you can save the webhook.
5.4 Confirmโ
Confirm that the webhook only tracks Payment sale completed
events.
6. Enter API keys on GSAโ
Copy the Client ID
and Secret
from PayPal over to the PayPal settings page at GSA.
After saving the PayPal settings form on the dashboard your PayPal account is successfully configured.
Connect Stripeโ
1. Stripe log inโ
Navigate to dashboard.stripe.com and login. You need to have a valid Stripe account for this.
Make sure your Stripe account has gone through all the steps to accept payments. You won't be able to connect a Stripe account in test-mode.
2. Click Create restricted key
โ
Go to the API keys page, under Developers.
Click Create restricted key
to generate the API key.
3. Setup nameโ
Enter "GameServerApp" in the Key name
field.
4. Configure permissionsโ
Enable the following permissions:
- All Checkout resources:
Write
- All Billing resources:
- Prices:
Write
- Subscriptions
Write
- Prices:
- All Webhook resources:
Write
For security reasons we recommend you only enable the resources listed in this guide.
Click Create key
to continue.
6. Enter API keys on GSAโ
Click on Reveal live key
to show your API key.
Copy the Restricted key
from Stripe over to the Stripe settings page at GSA.
After saving the Stripe settings form on the dashboard your Stripe account is successfully configured.
Connect Patreonโ
1. Connect Patreonโ
Click Connect your Patreon
on the Patreon settings page at GSA.
2. Grant accessโ
Grant GSA access to your pledge tiers and subscribers. After granting access GSA will gather information about your Patreon pledges.
3. Create Tiers for pledgesโ
Click Create Supporter Tier
for each Patreon pledge that you want to use on GSA.
GSA will automatically execute the connected Supporter Tier actions when someone subscribes to a Patreon pledge or renews.
When a pledge ends GSA will end the Supporter Tier. Pledge changes are automatically handled by GSA.
All active Patreon subscriptions can be found on the Subscription overview.