Scanpay module for Magento 2
Scanpay module for Magento 2. This module is developed and maintained by Scanpay ApS in Copenhagen. You can always e-mail us at firstname.lastname@example.org or chat with us on
#scanpay at Freenode (webchat).
The actual HTML form presented for the customer can be found at
/Controller/Payment/GetPaymentURL.php containing the order id.
/Controller folder defines the publically served PHP pages.
It's served at an URL defined by
/Controller/Payment/GetPaymentURL.php gathers order parameters from Magento and uses
/Model/ScanpayClient.php to send an request to the Scanpay API.
Upon success it will return a payment url which the webshop customer should be redirected to.
/Model folder defines utility classes used by other PHP files.
For instance it containts
ScanpayClient.php which does the actual http request to the Scanpay API using PHP-curl.
/etc folder defines module dependencies, module configuration, module naming and the layout of the admin panel module configuration.