Skip to content
This repository has been archived by the owner. It is now read-only.
[NOT MAINTAINED] Persistent Omnipay Request / Response Objects for Harp ORM
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tests
.editorconfig
.gitignore
.scrutinizer.yml
.travis.yml
CONTRIBUTING.md
LICENSE
README.md
composer.json
composer.lock
phpunit.xml

README.md

Transfer

Build Status Scrutinizer Code Quality Code Coverage Latest Stable Version

This is a general foundation to implement all sorts of monetary transactions and persist them in the database. Uses Omnipay for performing the transactions themselves.

Usage

There are 3 main traits to assign to your models:

Item Group Trait

This is just a group of multiple Item Trait. Adds freezable and soft delete trait. and allows freezing / unfreezing all the items, associated with it.

Item Trait

This is a single monetary "item". Adds freezable and soft delete.

Transfer Trait

This initiates request to payment processors and stores the responses in the database. Requires "getValue()" to return a Money Object.

License

Copyright (c) 2014, Clippings Ltd. Developed by Ivan Kerin

Under BSD-3-Clause license, read LICENSE file.

You can’t perform that action at this time.