If you are on Magento 1.7 + our extension handles importing voucher codes automatically, all you will need to do is provide us with REST API access.

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:

1. 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.

2. The 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 here > Password protected Magento store

3. .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 support@loyaltylion.com and we'll be happy to help.

Common questions

I have set up minimum spend in LL but the customer are still able to use the vouchers at the checkout that doesn't meet this requirement
LL setting is only valid for vouchers created in LL - the voucher imported from Magento won't take into account the minimum spend set up for this reward. We strongly advise to set up the same minimum spend for vouchers created in Magento as the same min spend in LL.

Did this answer your question?