Magento Setup
Direct GitHub Link - https://github.com/Card-Saver/CS-Magento
Installation Instructions
1) If you are upgrading this module, please make sure to disable to module first with bin/magento module:disableP3_PaymentGateway. Afterwards, make sure to delete the app/code/Pixel or app/code/P3 directories that may interfere with the new version. Make sure to delete the P3_PaymentGateway row from the setup_module table in the database so that any database tables required can be created.
2) Copy the contents of httpdocs to your Magento root directory. If you are asked if you want to replace any existing files, click Yes.
3) Enable the new module using the command bin/magento module:enable P3_PaymentGateway
4) Upgrade and re-compile Magento so that the system will install the module and create all necessary arrangements for the module. The below command can be helpful with this:
bin/magento setup:upgrade && bin/magento setup:db-schema:upgrade && bin/magento setup:di:compile && chmod 775 -R ./var
5) Login to the Admin area of Magento. Click on System -> Cache Management. Click on the button labelled 'Flush Magento Cache', located at the top right of the page.
6) Click on Stores -> Configuration, then click on Payment Methods under the Sales heading on the left-hand side of the page. All installed payment methods will be displayed.
7) Click on Payment Network Gateway to expand the configuration options that you will need to fill out before you can use the module. Here you can also select the hosted or direct integration type. Debugging should be turned off during production.
8) Head over to the stores settings, select advanced followed by system. Once on this page, change the caching type to 'Varnished'.
Setup Instructions
Setting up the module requires at a minimum the merchant ID, a signature key, and a gateway URL to be entered into the plugin settings.
The signature key can be obtained by logging into the preferences tab on the Virtual Terminal. To request access for your web developer to see this please e-mail online.support@card-saver.co.uk including the name of your business, the name of the developer that needs access and state that they require developer only permissions. This means that when they login they will be able to see the relevant preferences window.
Gateway URL = https://payment.card-saver.co.uk/
Merchant ID = Your account number for your ECOM account with your acquiring bank. You will be able to find this on a recent statement and also your "Keep Me" e-mail received when you first joined us.
You will then need to select an integration type to use.
For a direct integration you must add /direct on the end of the Gateway URL.
The module will also need to be enabled so it appears as a payment option on the checkout.
FAQ
The processing page /paymentgateway/order/process shows an error page (Page Not Found)
Did you upgrade and compile Magento? Otherwise have you changed either the order controller filename, the directory that the order controller was in, or the name of the directory? Do you have the route setup in the /etc/frontend/routes.xml under the route attributes; id of p3 and frontName as p3. Does that same route contain the module element with a name attribute of P3_PaymentGateway ? If the answer to any of these questions is no, please set up the appropriate arrangements based on the questions asked and try again after an upgrade & recompile command.
"Router requires an ID but one isn't set" error
Go to etc/frontend/routes.xml and make sure that the router element uses an id attribute with the value standard .
"Module version difference schema version higher/lower than in a database" error
Make sure to delete the P3_PaymentGateway row from the setup_module database so that any database tables required can get created during the upgrade/db-schema process upon installation.
"Incorrect Signature" error during checkout
Is a signature set up in your configuration both in Magento and the MMS? Make sure this only contains alphabetical and numeric characters without any spaces, full-stops, etc.
I cannot see the Payment Network Gateway in the backend (admin area)
Please try running the following commands:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
The amount, address and name appear to cache upon a checkout
Ensure that you are using the latest version of the module