Magento Platform Compatibility
Open Source (CE) 2.0, 2.1, 2.2, 2.3, 2.4
Install the Drip Extension
- Log into your Magento server via SSH
- Go to the Magento 2 directory
- From there, run the following command:
composer require drip/connect
- Finish by running the command:
php bin/magento setup:upgrade
Connect the Magento Extension to Drip
To connect with Drip, you’ll need your Drip Account ID and API Token. If API access is not enabled, reach out to support@drip.com for further assistance.
- Go to https://www.getdrip.com/integrations/magento
- Click version 2
- Follow the instructions to create a Magento API key and enter it into the page
Upon saving, a full sync should begin and Drip's Javascript snippet will be appended to every public-facing Magento page in your store. Whenever a new page is created, the Javascript snippet is automatically added.
Enable Debug Mode
If your Magento store is heavily customized, there may be conflicts that cause issues either with the Drip extension or others you have installed. To assist in troubleshooting, you can enable Debug Mode. Set this to “Yes” to write all API calls and responses to var/log/drip/apiclient/drip.log
.
Magento 2 Troubleshooting
Here are some common errors and solutions to resolve them when setting up Magento 2.
403 Error
Forbidden access errors indicate that something went wrong providing the information on setup.
Troubleshooting steps:
-
Confirm that your credentials (access token) are inputted correctly.
-
Disconnect the integration and re-do the setup (following the in-app instructions).
If these tips don't fix the issue, please contact our support team.
503 Error
Server error on the store side indicates that Drip’s server isn’t able to connect to the store’s API.
Troubleshooting steps:
-
Double-check that you added the correct store URL.
-
Double-check that the API is set up correctly.
-
Check if there is anything on your end blocking or intercepting access to the API.
-
If you use Cloudflare or similar, make sure to safelist Drip so our access doesn't get blocked. Here’s documentation on Cloudflare API support.
If these tips don't fix the issue, please contact our support team.