Skip to main content
Skip table of contents

Setup Paypal

Your COMET Payments Module can be integrated with PayPal in a quick, easy setup, letting you start trading straight away. The PayPal payment interface is a gateway solution that accepts payments in multiple currencies and supports all major credit and debit cards.

To integrate PayPal payments with COMET, you need several keys from the PayPal Merchant dashboard.

Before proceeding with the following instructions, make sure you have an active and valid PayPal Merchant Profile, i.e., that the PayPal Merchant creation process is complete.

Three PayPal keys are required for complete integration:

  1. Paypal client ID

  2. Paypal secret

  3. Integration type

  4. Webhook ID

(grey lightbulb) Please note that all three keys are accessible from the same page, i.e., the app dashboard of your PayPal account.

First and foremost, we need to create a PayPal REST API app.

  • On your dashboard, please select Create App.

  • In the pop-up window shown below, type in your desired App name and click on Create App.

image-20231011-085527-20260121-132613.png

Before we can integrate PayPal with COMET/COMET PLAY, we need to add a Webhook to our PayPal App.

  • Open the App that you would like to integrate with COMET and scroll to the bottom. Select Add Webhook as shown in the following image.

  • In the following pop-up window, you’ll be required to enter the webhook URL and select the event type.

  • The webhook URL you can copy and paste from our COMET/COMET Play integration form.

Screenshot 2026-02-24 113224-20260224-103243.png
  • The event ‘Payment capture completed’ can be selected from the ‘Payments & Payouts’ dropdown menu as shown in the figure below.

Now that we’ve set up our PayPal App, we can integrate PayPal with COMET/COMET Play.

All the information required for integration can be obtained from the PayPal App dashboard.

Client ID and Client Secret can be found under the ‘API Credentials’ section, as shown below. Please copy and paste the required information (use the Copy to Clipboard button) into the COMET / COMET Play integration form, as shown below.

image-20231011-101427-20260121-133110.png

The next required information can be found under the ‘Accept payments’ and ‘Webhooks’ sections. Your contract determines advanced integration. Our integration will check if the ‘Advanced Credit and Debit Card Payments’ is enabled. Please make sure that the "Accept advanced credit and debit card payments" option is enabled if you have advanced payments. The Webhook ID is simply another copy-and-paste into the appropriate field in the integration form. Without the Webhook ID, we cannot verify that events were received. Please make sure the Webhook ID is copied correctly, as it cannot be tested beforehand.

image-20231011-102104-20260121-133323.png

After you’ve copied and pasted all the required information into their appropriate fields in the COMET / COMET Play integration form, the form should look like the left figure below.

Screenshot 2026-02-24 114110-20260224-104155.png

You can run a connection test to verify that the Client ID and Client Secret are correct. Please note that we cannot verify the Webhook ID this way, so make sure the value is entered correctly.

You will not be able to save the PayPal payment option unless the connection is successful.

After you’ve inspected all the entered information, hit the Save button.

Screenshot 2026-02-24 114446-20260224-104523.png

Upon completion, you will be greeted with a ‘Connection successful!’ message if the information entered was valid.

Screenshot 2026-02-24 114457-20260224-104458.png

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.