Instructions

Install by copying files

  1. Create an app/code/Paytomorrow/Paytomorrow directory in your Magento installation.

  2. Download the latest "Source code" from this page: https://bitbucket.org/paytomorrow/pt-plugin-magento-2/src/master/

    tip

    This is configured for Magento 2.4, for earlier versions of Magento Please go to https://bitbucket.org/paytomorrow/pt-plugin-magento-2/downloads/ and download appropriate tar

  3. Extract the file and copy the contents of the file into the app/code/Paytomorrow/Paytomorrow directory.

  4. Run following commands from your root Magento installation directory:

    bin/magento module:enable --clear-static-content Paytomorrow_Paytomorrow
    bin/magento setup:upgrade
    bin/magento cache:flush

Activating the module

  • Go to the admin backoffice
  • At the top, go to System > Configuration
  • On the left, go to Sales > Payment Methods
  • If PayTomorrow does not show up: execute the terminal commands.
  • On the left, go to Stores > Configuration > Sales > Payment Methods
  • Under PayTomorrow:
    • Set Enabled to YES
    • Fill in Merchant ID
    • Fill in username
    • Fill in password
    • Fill in signature

Switching to production

  • Go to the admin backoffice
  • At the top, go to Stores > Configuration > Sales > Payment Methods
  • Under Paytomorrow, fill in the production URL, and switch the Platform dropdown from staging to production.

Note that after this change, you should no longer use the test personae you used for testing, and all requests go to our production platform.

Module notes

  • Configure the postback url in the Paytomorrow portal as /paytomorrow/paytomorrow/notification prefixed with your domain

Compatibility

  • This module has been tested with magento2.4 and below