Q1: How to change currency in Stripe Digital Goods for Joomla
I want to sell my product with Euro, but the default currency is USD. How can I change it to Euro.
Answer: You can change the currency in Stripe Digital Goods. But the user interface is not ready yet. You have to follow these steps to change the currency as Euro:
- Go to your website host root folder, locate the file: /www/yourwebsite.com/components/com_stripedigitalgoods/views/checkout/view.html.php
- Edit the file and find the line: $currencyCodeType = "usd"
- Change it to: $currencyCodeType = "EUR"
- Save the file
- Then, go to your website host root folder, locate the file: /www/yourwebsite.com/plugins/content/stripedgbutton/stripedgbutton.php
- Edit the file and find the line: preg_quote("$")
- Change it to: preg_quote("€")
- Save the file