Help, LoyaltyLion can't import vouchers to my Magento store?

If you're not seeing the option to import vouchers automatically, this means that we can't reach your store API.

The most common causes for this are:

Store is not available over the internet

If you're working on a development store and visiting it with a URL that looks like one of these:

Then there's a good chance your store is not reachable over the internet. You won't be able to import vouchers until you install LoyaltyLion on a store which is internet-accessible.

Store has extra authentication turned on

If your store is password protected, we also won't be able to import voucher codes.

For more information on removing password protection on your API, see this article:

.htaccess rewrites disabling API

The third common reason we can't reach your API is because you have a .htaccess configuration that is rewriting requests to your API to the wrong place.

These are the first few lines of a working configuration:

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# IMPORTANT: the following RewriteRule MUST come after the previous line
# but before any other RewriteRules.
RewriteRule ^api/rest api.php?type=rest [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

Still having trouble? Not sure what any of this means?

Talk to us! Send us an email at and we'll be happy to help.

Still need help? Contact Us Contact Us