PayPal

Login to developer.paypal.com and click the Sandbox button under the PayPal logo (top left) and use the Create App button to create your Sandbox credentials app - give it a name e.g. Club-sites Test.

Sandbox API Credentials 1

You will be given a Client ID and a Secret code.

Go to the Members Menu on your website and select 1. Manage the control file, click on Bookings and scroll down to the PayPal section. Set the Profile to JS and tick the PayPal checkbox. Copy the Client ID and paste it into PayPal sandbox API key. Similarly paste the Secret into PayPal sandbox secret.

Control-File


Go back to the PayPal website and click the Live button under the PayPal logo (top left). Click the Create App button to create your Live credentials app - give it a name e.g. Club-sites App.

Live API Credentials 1

You will be given another Client ID and Secret code.

Go back to your website. Copy the Client ID and paste it into PayPal API key. Similarly paste the Secret into PayPal secret.

Press the Enter key on your keyboard or scroll down to the bottom of the page and click the Update button to save the entries.


On the PayPal website, scroll down and set the Features you need. Always tick the Advanced Credit and Debit Card Payments and also select other payment methods e.g. Apple Pay and Google Pay if desired - you don't need accounts with them.

Live API Credentials 3

If you select Apple Pay you will need to click the Manage link and enter your domain name www.club-sites.co.uk and click the link to download to your computer, a special secret file called apple-developer-merchantid-domain-association which then needs to be uploaded to your website. Once uploaded click on the Register Domain as shown on the PayPal page below.

ApplePay



Return to your booking form and Edit the event and tick the Test mode checkbox on the Event form (towards the bottom). Log-out and create a new booking.

You may make a test booking and use the following dummy card numbers:

Test cards:

4012000033330026 - Visa

4005519200000004 - Mastercard

Enter any valid future date for Expiry and any 3 digit number for the CVC

If all is well you may return to the PayPal website and switch to Sandbox and view the Event Logs to see your transaction.

On your website, login and open the new booking. If all is OK you may Delete that booking and then switch off the Test mode to start taking bookings. You may wish to create a Coupon Code to discount an item to £1 or so to make a Live transaction as a final check.