paymenthighway / paymenthighway-php-lib Goto Github PK
View Code? Open in Web Editor NEWPayment Highway PHP API Library
License: MIT License
Payment Highway PHP API Library
License: MIT License
We're using library version 1.6.0. Our static code analysis tool picked up the following error
ERROR: InvalidArgument - PaymentHighway.php:144:75 -
Argument 6 of Solinor\PaymentHighway\Model\Request\Transaction::__construct
expects Solinor\PaymentHighway\Model\Request\Splitting|null,
null|Solinor\PaymentHighway\Model\Splitting provided
$transaction = new Transaction($token, $amount, $currency, true, null, $splitting);
Your Transaction
class is namespaced with Solinor\PaymentHighway\Model\Request
and the constructor expects to receive Model\Request\Splitting
, but there's no Splitting
in Request
. It's in Model
, i.e Model\Splitting
.
Transaction model has variable defined named orderId
public $orderId = null;
In constructor however $orderId
is assigned to class variable order
public function __construct( $request, $amount, $currency, $blocking = true, $orderId = null )
...
$this->order = $orderId;
I'm assuming it should be orderId
instead of order
in constructor?
Hi,
This package is using ramsey/uuid
version 2.8, while Laravel 5.4 requires version ^3.0 and thus it cannot be installed by Composer. Could you update the dependencies requirement please?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.