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
I am trying to get access token via Merchant Id and APP ID , is it possible
As I don't have client_id and client_secret
TypeError: Argument 1 passed to Sebdesign\VivaPayments\OAuth::token() must be of the type string, null given
The text was updated successfully, but these errors were encountered:
$oauth = app(OAuth::class);
// Using `client_id` and `client_secret` from `config/services.php`:
// The token will be automatically stored on the client and used as a Bearer token.
$token = $oauth->requestToken('**********', '**********', $guzzleOptions = []);
dd($token);
this is the error that return now I am using client id and client secret id instead if merchant Id and App Id
GuzzleHttp\Exception\ClientException: Client error: `POST https://demo-accounts.vivapayments.com/connect/token` resulted in a `400 Bad Request` response:
{"error":"invalid_client"}
in file C:\xamp_7.4\htdocs\mobileapi\vendor\guzzlehttp\guzzle\src\Exception\RequestException.php on line 113
I am trying to get access token via Merchant Id and APP ID , is it possible
As I don't have client_id and client_secret
TypeError: Argument 1 passed to Sebdesign\VivaPayments\OAuth::token() must be of the type string, null given
The text was updated successfully, but these errors were encountered: