Upgrading CryptExchange - Paymoney Crypto Swap and Buy/Sell Addon from v1.0 to v2.0.0
Version Upgrade
Note: This upgrade procedure is intended for users who have already upgraded Paymoney from v3.9.1 to v4.0.0 and have not customized the application.
If your web application has been customized, be careful as applying these steps might break the application.
Ensure that you have a backup of your files and database before proceeding.
Important Note: CryptoExchange Addon - version 2.0.0 is supported with PHP 8.1.0.
-
STEP-1:
-
log in to your cPanel.
-
Navigate to File Manager and access the
public_html
folder or the subdomain where your script is located. -
Locate the “
Modules
” folder and find the existing “CryptoExchange
” folder. -
Delete the old
CryptoExchange
folder. -
Unzip the latest version of CryptExchange – Paymoney Crypto Swap and Buy/Sell Addon (v2.0.0) locally.
-
Upload the
CryptoExchange.zip
file to the same location and unzip the contents there.
-
-
STEP-2: Updating the Database:
-
Open the SQL file (
CryptoExchange/Database/schema/db_changelog.sql
) in a text editor. -
Go to phpMyAdmin from your browser and select the database associated with your project.
-
Copy the content of the SQL file and paste it into the SQL tab of phpMyAdmin.
-
Ensure that the “Enable foreign key checks” option is unchecked.
-
Click on the ‘Go’ button to execute the SQL queries and update the database.
-
-
STEP-3:
-
Go to your project directory.
-
Log in to your SSH account. Go to the directory where the Pay Money project exists.
-
Run the following command as shown in the screenshot below.
composer du & php artisan optimize:clear
-
-
STEP-4 (optional)
Go to your admin panel now and take a look around. To continue, you might be asked for your Envato username and purchase code.
Click to verify purchase code button to verify
Once the purchase code is verified, your CryptoExchange addon will be successfully upgraded to version 2.1.0.
If needed, perform a hard reload in your browser by pressing
Ctrl+F5
(windows)Command+Shift+R
(mac) to ensure all changes take effect.