Might be worth while updating the README and example to show the workaround for the caching/production bug in paypal/makara issue 9
i.e., if you run with NODE_ENV=production the localisation will not work as expected, you must use something like:
//In production, this is wrong:
res.locals.context = {
locality: 'en_AU';
}; //Broken with NODE_ENV=production
res.locals.context = {
locality: {
country: 'AU',
language: 'en'
}
}; //Works with NODE_ENV=production
Might be worth while updating the README and example to show the workaround for the caching/production bug in paypal/makara issue 9
i.e., if you run with
NODE_ENV=productionthe localisation will not work as expected, you must use something like: