This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Package with shared functionality for some Omnipay payment processing library drivers

v0.3.8 2016-06-21 19:53 UTC


is extending functionality of Omnipay Common and providing shared functionality for some Omnipay drivers.

Build Status

  • PSR-7 Message sending using Guzzle client currently (June 2015) used by Omnipay Common
  • SimpleRestfulRequestTrait to help sending http requests
  • RestfulResponseInterface, AbstractRestfulResponse and SimpleRestfulResponse to help making Omnipay responses out of http responses
  • Widget interface and basic functionality
  • Support for widget-based workflow (for APIs providing at some point displayable widget or parameter(s) to create it)
  • Extended CreditCard class (additional attributes)
  • Extended Item (additional attributes) and ItemBag classes
  • Address parser helper

Important note:

  • This is a beta version.


Add dependency on this package to your Omnipay driver composer.json.

You might need to add also dependencies to packages psr/http-message and egeloen/http-adapter, if you are using protected method HttpMessageSendingTrait::sendHttpMessage()

    "require": {
        "subscribo/omnipay-subscribo-shared": "~0.3.8",
        "egeloen/http-adapter": "~1.0.1",
        "psr/http-message": "~1.0"


You can extend abstract classes provided by this package, use CreditCard and/or Item and ItemBag classes provided by this package, use Widget base functionality provided by this package, use trait SimpleRestfulRequestTrait for creating and sending http requests or use just trait HttpMessageSendingTrait (for PSR-7 http message sending) use helper GuzzleClientHelper (for httpClient logging using PSR-3 logger) or use helper AddressParser (for parsing of first line of address)


For contribution guidelines see


Package Subscribo OmnipaySubscriboShared is published under MIT License