The SEQR payment module for Prestashop ecommerce platform.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 34 commits ahead of ikamman:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build
docs
seqr
.gitignore
README.md
docker-compose.yml

README.md

SEQR Prestashop plugin

SEQR

SEQR is Sweden’s and Europe’s most used mobile wallet in stores and online. SEQR enables anybody with a smartphone to pay in stores online and in-app. Users can also transfer money at no charge, store receipts digitally and receive offers and promotions directly through one mobile app.

SEQR offer the merchant 50% in reduction to payment card interchange and no capital investment requirements. SEQR as method of payment is also completely independent of PCI and traditional card networks.

SEQR is based on Seamless’ technology, a mobile phone payment and transaction service using QR codes & NFC on the front-end and Seamless’ proven transaction server on the back-end. SEQR is the only fully-integrated mobile phone payment solution handling the entire transaction chain, from customer through to settlement. Through our state of the art technology, we have created the easiest, secure, and most cost effective payment system.

Learn more about SEQR on www.seqr.com

Supported Prestashop versions:

  • = 1.5.x

Dowloads

Plugin

Plugin provide possibility for shop clients to select SEQR as payment method, and after order placement pay it via scanning QR code (or directly from your mobile device).

  • SEQR as payment method on checkout page.

alt tag

  • SEQR payment summary.

alt tag

  • Payment via scanning of QR code.

alt tag

  • Payment confirmation

alt tag

Installation & Configuration

Plugin can be installed via installation in administration or by copping all plugin files to the "modules" directory.

Installation using administration page

  1. Please download a build package from: builds
  2. Open Prestashop administration page, go to "Modules" and on the top right corner choose "Add a new module".
  3. Select the downloaded package and confirm by clicking "Upload this module".
  4. Find the module on the module list and install it.
  5. Provide valid configuration values.

Configuration

alt tag

Plugin configuration properties are available on the module configuration page.

Contact Seamless on integrations@seamless.se to get the right settings for the SOAP url, Terminal ID and Terminal Password.

Default timeout is set to 120 seconds.

All properties are required and should be configured before enabling this payment method in production.

Additional optional settings Hide left column and Hide right column are used to override default template settings and hide particular columns during the SEQR payment process.

Development & File structure

Plugin based on javascript plugin for SEQR integration.

Please check it for understanding how work web component http://github.com/SeamlessDistribution/seqr-webshop-plugin. For more information about SEQR API please check http://developer.seqr.com/merchant/webshop/

Plugin directories and files:

  • controllers - front controllers used in the payment process
  • css - styles definition for the plugin
  • img - images
  • js - scripts required by the plugin
  • lib - the SEQR e-commerce library and its Prestashop implementation
  • views - view definitions for the payment process
  • seqr.php - module entry point

Major php classes

  • seqr/seqr.php - an entry point of the module, provides information about module, administration form, the installation and remove module procedures.
  • seqr/prestashop/PsConfig.php - defines configuration for the Prestashop platform, installation, uninstall definitions.
  • seqr/prestashop/PsFactory.php - defines conversion from Prestashop order to the unified invoice representation.
  • seqr/prestashop/PsSeqrService.php - defines logic, sends requests to the SEQR system via provided API (seqr/lib/api/SeqrApi.php)
  • seqr/seqr_package.php - includes all necessary classes to work with SEQR code.

Plugin development using docker-compose

Please make sure you have installed docker and docker-compose correctly.

First grant full access for all users to the seqr plugin directory.

chmod -Rf o+rwx ./seqr

then run the docker-compose command:

docker-compose up -d

You can access the Prestashop site by hiting localhost:8080 in the web browser.

Happy coding!