/ Support / Guides / Ecommerce / Setting up PayPal with Dazzly

This step-by-step guide will show you how to add PayPal to your Dazzly Ecommerce Website. You will need to have an account with PayPal to begin. If you don't have a PayPal account yet, please visit PayPal to create one.

time required 5-10 minutes

paypal account types and eligibility
Note: You must have a 'Business Account' in order to receive payments via PayPal.
  1. Sign-in to your PayPal Developer account

    Firstly, login to PayPal by clicking the blue 'Log into Dashboard' button at the top right of the page.

    paypal developer home page
    PayPal Login form.
  2. Apps & Credentials

    Once logged in it should take you to the PayPal Developer Dashboard. By default, 'Sandbox' mode is enabled. Toggle the 'Live' button as outlined in red to switch to 'Live' mode and then click 'Apps & Credentials'.

    paypal developer dashboard
    PayPal Developer Dashboard
  3. API Credentials

    This should bring up the 'Activation_App' section. You should see a Client ID and a Secret key. You can use the copy-to-clipboard buttons (outlined in red) to copy each of these into Dazzly as shown in the next step.

    paypal live api credentials section
    This shows your default PayPal app, Client ID and Secret key.
  4. Update PayPal settings within Dazzly

    Within Dazzly, Select the Ecommerce menu, then 'Receive Payments' and then 'PayPal'. Copy your 'Client ID' and 'Secret' from the previous step into the 'App Client ID' and 'App Secret' fields in Dazzly.

    paypal creds to dazzly
    Copy the Client ID and Secret from PayPal over to Dazzly.
  5. Create a Webhook

    Back in the PayPal Developer dashboard, scroll down to the Live Webhooks section and click the 'Add Webhook' button.

    Note: A Webhook is a way to help PayPal communicate with Dazzly.

    paypal live webhooks
    Press the blue 'Add Webhook' button.
  6. Select the Webhook event

    Enter https://api.prod.dazzly.co/integrations/paypal/webhooks into the input box at the top. Scroll down the list of 'Event types' to find 'Checkout order completed'. Select this checkbox and Save.

    paypal checkout order completed webhook
    Enter the URL and select the event: 'Checkout order completed'.
  7. Get the Webhook ID

    Once saved, it should show the 'Webhook' with a 'Webhook ID'.

    paypal webhook id
    After clicking Save, the new Webhook should show the 'Webhook ID'.
  8. Save PayPal settings in Dazzly

    Copy the 'Webhook ID' from the previous step into the last field in Dazzly. As shown outlined in red. Click 'Save'.

    paypal webhook into dazzly
    Copy the 'Webhook ID' into the Dazzly 'Webhook' field.
  9. Publish

    Don't forget to hit 'Publish' to update your website. After Publishing, PayPal should then be available as a checkout option.

    publish your dazzly website
    Remember to Publish after making changes.