GymMaster Logo

To get your REST API Credentials

Log into your account at http://www.developer.paypal.com

Click “Applications” in the top navigation bar

GymMaster paypal dev app

Click the “Create App” button to the right of “My REST apps”

GymMaster paypal dev create app

Enter an app name, and click “Create app”

GymMaster dev create app 2

If you’d like to test your online module using the sandbox test accounts before going live, send us the contents of the “Client ID” and “Secret” boxes. The “Test account” is your main sandbox account, this will be created with the same password as your main account, and can be used to log into the sandbox in order to add currencies, and see the status of incoming transactions, etc.

Click the “Show” text nest to “Live credentials”

GymMaster dev test credential

Send us the contents of the “Client ID” and “Secret” boxes.

GymMaster dev live credential

In order to test the module thoroughly using the sandbox, you’ll need to create a second sandbox account to make purchases from. To do this, click “Sandbox accounts” in the left navigation menu.

GymMaster dev sandbox account

Click the “Create Account” button to the right of “Sandbox test accounts”

GymMaster dev create account

Fill in the relevant details – set the Account type to Personal, give a positive balance and a credit card, and click “Create Account”

GymMaster dev create account

When making payments, you can now log into this test account in order to draw funds from it. If you wish to test credit card transactions without a PayPal account, you can click the email address of the account you’ve just created to expand it, then click the “Profile” link.

GymMaster paypal dev sandbox

Clicking the “Funding” tab will give you a credit card number you can use to test credit card payments without logging into a Paypal account.

GymMaster paypal dev funding




In order to accept payments in any currency other than USD, you must configure your PayPal account to hold a balance in that currency, otherwise payments will fail.

To set the currency on your live PayPal account:

Log into your account at http://www.paypal.com

Click “Merchant Services” in the top navigation bar

GymMaster paypal live merchant

Click “Manage Money” in the navigation links on the right

GymMaster Paypal live manage money

Click “Add or Edit” in the “Manage Currencies” section

GymMaster Paypal live add or edit

In the dropdown box, select the currency you wish to add, and click “Add Currency”

GymMaster Paypal add currencies




To set the currency on your Sandbox account:

Log in at http://www.sandbox.paypal.com using your main sandbox account

If your page has an “Options” link as below:

Click “Options” to the right to your PayPal balance

GymMaster PayPal Sandbox Options

Click “Manage currency” in the dropdown menu

GymMaster PayPal Sandbox Manage Currency

In the dropdown box, select the currency you wish to add, and click “Add Currency”

GymMaster PayPal Sandbox Add Currency

Otherwise:

Hover over the “Profile” option and select “My Money”

GymMaster PayPal Sandbox Alt Profile

On the “Paypal balance” line, click “More” and then “Currencies”

GymMaster PayPal Sandbox alt currencies