You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i run my code i see this typeerror message:
Symfony\Component\HttpFoundation\Request::createRequestFromFactory(): Argument #2 ($request) must be of type array, null given, called in /var/www/html/vendor/symfony/http-foundation/Request.php on line 306
Heres how i run code:
$gateway = Omnipay::create('PayPal_Rest');
$gateway->setClientId( $this->config['paypal_client_id'] );
$gateway->setSecret( $this->config['paypal_secret'] );
$gateway->setTestMode( (!empty( $this->config['paypal_testmode']) ? true : false) );
Errors show on Omnipay::create
the same code works ok on server with php 7.2 so i was wondering if i made some mistake here - and i need to include httpclient or something. Please help me.
The text was updated successfully, but these errors were encountered:
Hi,
May someone help ? I'm using php 8.0 on docker alpine version. Composer includes:
"league/omnipay": "^3.2",
"omnipay/paypal": "^3.0"
When i run my code i see this typeerror message:
Symfony\Component\HttpFoundation\Request::createRequestFromFactory(): Argument #2 ($request) must be of type array, null given, called in /var/www/html/vendor/symfony/http-foundation/Request.php on line 306
Heres how i run code:
$gateway = Omnipay::create('PayPal_Rest');
$gateway->setClientId( $this->config['paypal_client_id'] );
$gateway->setSecret( $this->config['paypal_secret'] );
$gateway->setTestMode( (!empty( $this->config['paypal_testmode']) ? true : false) );
Errors show on Omnipay::create
the same code works ok on server with php 7.2 so i was wondering if i made some mistake here - and i need to include httpclient or something. Please help me.
The text was updated successfully, but these errors were encountered: