The reign of web components continues with a <ppp-price> to show Parity Purchasing Power prices as a demo of @cloudcannon’s Geolocation feature:
@zachleat how would you implement the payment processing for a system like that? I love this idea and have wanted to do this in the past.
@joe If you wanted to implement similar logic on the backend, you could use the `ppp-data.json` file for country code ratios: https://github.com/zachleat/parity-purchasing-power-price/blob/49c27c59039839a295b63ae8834c101c4615025b/ppp-data.json
and the logic for price conversion here: https://github.com/zachleat/parity-purchasing-power-price/blob/49c27c59039839a295b63ae8834c101c4615025b/ppp.js#L76