PayPal Zettle POS for WooCommerce
Search

How can I enable synchronization of product images to PayPal Zettle when while running on a local machine?

If you are running your installation on a local instance (the URL in your browser typically starts with “127.0.0.1” or “localhost”), synchronization of product images with PayPal Zettle will not work correctly as your local installation is not reachable for PayPal Zettle’s systems.

For testing, you can enable sending placeholder images to PayPal Zettle by adding the following lines to your wp-config.php:

putenv('ZETTLE_PLACEHOLDER_IMAGES_ENABLED=1');

$_ENV['ZETTLE_PLACEHOLDER_IMAGES_ENABLED'] = 1;

$_SERVER['ZETTLE_PLACEHOLDER_IMAGES_ENABLED'] = 1;