osms-php icon indicating copy to clipboard operation
osms-php copied to clipboard

A PHP library to access Orange SMS API.

Results 5 osms-php issues
Sort by recently updated
recently updated
newest added

Update token endpoint and header following new token proxy deployed by orange

in **getAdminContracts.php** file which **displays everything**: Array ( [partnerContracts] => Array ( [partnerId] => [email protected] [contracts] => Array ( [0] => Array ( [service] => SMS_OCB [contractDescription] => SMS API:...

the instance class with correct credentials but sendSms() method returns an error : The requested service needs credentials, but none were provided.

As recommended by OD please upgrate Oauth to v3 public function getTokenFromConsumerKey() { $url = self::BASE_URL . '/oauth/v3/token'; $credentials = $this->getClientId() . ':' . $this->getClientSecret(); $headers = array('Authorization: Basic '...

An "Array to string conversion" error gets trigggered when sending a request: ![image](https://user-images.githubusercontent.com/24942854/71814155-e176ee80-307b-11ea-8ed9-13f39ccdc408.png) Here's the code used when error was triggered: ```php $config = [ 'clientId' => 'xxxxxxx', 'clientSecret' =>...