Skip to content

Upgrading Pay Money Web App from v2.7 to version v2.9

Version Upgrade


Note: The following upgrade procedure is for Pay Money mobile and web applications(which have not been customized)

Applying the following steps to your customized web and mobile applications might break both applications. So, handle with care

Make sure that you do have a back up of your files and and database before upgrade

STEP-1

To upgrade to the latest version of Pay Money, first, log in to your cPanel.

  • 1) Then, go to File Manager->public_html. or the Subdomain where your script located at.

  • 2) Select all the files and folders except .env file .htaccess & public folder and then delete the selected files.

  • 3) Now select all the files and folders from the upgraded version folder except .env .htaccess & public folder and paste it in the cPanel Project root.

STEP-2

As each upgrade has its installer enabled by default, to disable the installer, go to the ‘config’ folder and replace ‘app.php’ with the attached ‘app.php’ file below.

App file: app.php

STEP-3

You need to update your database. To update, follow the steps below:-

  • 1) Download the SQL file from the location – (storage/schema/db_changelog.sql)

  • 2) Now, login to PHPMyAdmin from your browser & select the project database name.

  • 3) After downloading the SQL file, open it with any editor(notepad++, sublime text, etc) & copy the SQL file text and paste it like the following screenshot.

  • 4) Click on the ‘Go’ button to continue.

STEP-4 (OPTIONAL)

Note: If you don’t see changes in your project, you must clear your project cache. The steps are mentioned below:-

  • 1) Go to your project directory.

  • 2) Login to your SSH account. Go to the directory where the Pay Money project exists.

  • 3) Run the following commands as shown in the screenshot below.