https://github.com/aligent/magento2-pinpayments
Pin Payments gateway integration for Magento2
https://github.com/aligent/magento2-pinpayments
magento magento2 payment
Last synced: about 1 year ago
JSON representation
Pin Payments gateway integration for Magento2
- Host: GitHub
- URL: https://github.com/aligent/magento2-pinpayments
- Owner: aligent
- License: osl-3.0
- Created: 2016-11-30T08:56:49.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-11-26T03:28:52.000Z (over 1 year ago)
- Last Synced: 2025-04-02T23:46:08.752Z (about 1 year ago)
- Topics: magento, magento2, payment
- Language: PHP
- Size: 68.4 KB
- Stars: 1
- Watchers: 36
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# PinPayments for Magento 2
## Overview
This module adds a payment method to Magento 2 checkout using the PinPayments hosted fields service.
## Installation
Installation via Composer:
```
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/aligent/magento2-pinpayments"
}
],
"require": {
"aligent/pinpay": "dev-master"
}
}
```
## Payment Flow
The hosted-field solution embeds an iframe within the M2 checkout and avoids the need to have credit card details ever pass through the application server.
* User hits `Place Order`
* The iframe billing address is configured using the selected billing address
* The hosted iframe window is messaged with a set-token request to generate a card token
* The card token is messaged back to the parent window (Magento checkout)
* The card token is attached to the order payload
* The server sends a request using the generated card token to authorize and/or capture funds.
## Issues
Payment reviews are not currently supported, a suspected_fraud response will be treated the same as any other error, and the order will not be created.
## Legal
(c) 2016-2019 Aligent Consulting
Licensed under Open Source License (OSL) v3.0