This guide is applicable to Booking Calendar version 9.9 or newer.
Setting Up PayPal for the Booking Calendar Plugin:
a) Navigate to Booking > Settings > Payment, then select the "PayPal" tab. Ensure you choose the new "PayPal" tab, not the old "PayPal (Legacy)" tab. Toggle the switch to enable the payment system and choose "Sandbox" under "Choose payment account" for testing purposes before going live.
b) Obtain the PayPal "Client ID" and "Secret Key" parameters by following these steps:
1. Log in to your PayPal account Dashboard.
2. Click on "Apps & Credentials."
3. Click the "Create App" button, enter the name of your application, and click "Create App."
4. Under "API credentials," copy the "Client ID" and "Secret Key" fields.
5. Paste these values into the appropriate fields at Booking > Settings > Payment > PayPal.
c) If you wish to automatically approve bookings after a customer makes a payment, activate the "Automatically approve/cancel booking" option and configure the URLs for "Return URL after a Successful order" and "Return URL after a Failed order."
d) Important Note: This PayPal integration requires correct configuration of the [bookingedit] shortcode. Learn how to configure the [bookingedit] shortcode here.