You can install the package via composer:
composer require corals/payment
vendor/bin/phpunit vendor/corals/payment/tests
Please make sure to clear cache on currency configuration changes to take effect, this can be done from settings=> Cache management
Prices within products and plans setup will be using the system (admin) currency configuration, this can be configured under Settings
Laraship does support multiple currencies in your store, you can configure active currencies under Payments => Currencies
The default currency is the one that will be auto-selected when user access the site first time, it can be adjusted inside .env file
DEFAULT_CURRENCY=USD
Update exchange rates from OpenExchangeRates.org. An API key is needed to use OpenExchangeRates.org. Add yours to the config file.
php artisan currency:update
Used to clean the Laravel cached exchanged rates and refresh it from the database. Note that cached exchanged rates are cleared after they are updated using one of the commands above.
php artisan currency:cleanup
If you faced any issue you can check our questions center, and you can post your question from the following link Questions & Answers
follow the Online Docs to see more about this module
Looking for a professional team to build your success and start driving your business forward. Laraship team ready to start with you Hire Us