Closed mailnike closed 7 years ago
I am using Laravel 5.3 with Php 7.*.
Hi,
I am getting below error for the braintree payment gateway integrated in my laravel code. Am I missing some step or anything?
Laravel controller code
$gateway = Omnipay::create('Braintree'); $gateway->merchantId('merchant_id'); $gateway->publicKey('public_key'); $gateway->privateKey('private_key'); $gateway->testMode('true'); $clientToken = $gateway->clientToken()->send()->getToken(); return $clientToken;
I am using Laravel 5.3 with Php 7.*.
Hi,
I am getting below error for the braintree payment gateway integrated in my laravel code. Am I missing some step or anything?
Laravel controller code