purchased-at / magento2-payment
Purchased.AT payment module for Magento 2.x
Installs: 20
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 2
Open Issues: 0
Type:magento2-module
Requires
- php: ~5.5.0|~5.6.0|~7.0.0
- magento/framework: 100.*
- magento/module-backend: 100.*
- magento/module-checkout: 100.*
- magento/module-config: 100.*
- magento/module-customer: 100.*
- magento/module-directory: 100.*
- magento/module-payment: 100.*
- magento/module-quote: 100.*
- magento/module-sales: 100.*
- magento/module-store: 100.*
- magento/module-theme: 100.*
- purchased-at/sdk-php: 1.3.*
This package is not auto-updated.
Last update: 2025-01-18 21:52:43 UTC
README
This Magento 2.x module provides a payment method for the Purchased.at service.
Installation
Pre-requisites
Make sure your Magento 2.x installation is completed via composer or the web based Setup Wizard.
Install using composer
-
Log into your Magento 2 server and switch to the Magento filesystem owner user.
-
Change your current directory to the root of your Magento 2 installation.
-
Add the following line to ./composer.json under "require"
"purchased-at/magento2-payment": "~1.0",
-
Run
composer update
&&composer install
and the Magento setup procedures:./vendor/composer/composer/bin/composer update && \ ./vendor/composer/composer/bin/composer install && \ ./bin/magento setup:upgrade && \ ./bin/magento setup:di:compile && \ ./bin/magento cache:flush config && \ ./bin/magento setup:static-content:deploy
Make sure you use the Magento bundled
composer
. If you would like to run it withoutphp -f
like above, make sure the binary hasu+x
privileges. Same applies to themagento
binary, make itu+x
if needed.
Install manually
- Download the latest release from Github: https://github.com/purchased-at/magento2-payment/releases
- Log into your Magento 2 server and switch to the Magento filesystem owner user.
- Change to your Magento 2 installation's root directory and create a sub-directory under
app/code/PurchasedAt_Magento2Payment
. - Extract the downloaded package to this directory having the
registration.php
file atapp/code/PurchasedAt_Magento2Payment/registration.php
. - Edit
app/etc/config.php
and add a new item in the modules array for the new module:... 'PurchasedAt_Magento2Payment' => 1,
- Add a new database record in the
setup_module
table with these fields:INSERT INTO `setup_module` (`module`, `schema_version`, `data_version`) VALUES ('PurchasedAt_Magento2Payment', '2.0.0', '2.0.0')
Install from Magento Connect
Our module submission is being reviewed. You will be able to install it via Magento Connect as soon as it gets approved.
Configuration
To get the payment module up and running you need to do some configuration that involves setting your Purchased.at API key. So if you do not already have an API key, head first to your Vendor Dashboard and create a project with an API key. Having your API key prepared:
- Go to your Magento Admin
- Navigate to Stores > Configuration > Sales > Payment methods
- Scroll down to the Purchased.at section
- Here you can set the title, the allowed countries, instructions text, sort order etc. but make sure you enter you API key, it is comoulsory even for testing.
If you want to test the module, set the Test mode to "Test" otherwise set it to "Live".
If you don't see the Purchased.at among payment option at the store's checkout, please clear the Magento cache via the Magento Admin under System > Cache Management > Flush Magento Cache.