Update Mollie.php with new URL (Fixes #370)

Mollie has changed their SMS api to api.messagebird.com
They have been redirecting calls to www.mollie.com but will stop doing so from oct 24 2016
The API hasn't changed, this configuration is tested & working
This commit is contained in:
Michael van Schaik 2016-10-21 05:47:33 +02:00 committed by GitHub
parent c4551ab59e
commit 43645bf36f
1 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ class Mollie extends Core {
public function sendSMS($message) {
$recipients = implode(',', $this->recipients);
$result = $this->_auth_https_post('www.mollie.nl', '/xml/sms/',
$result = $this->_auth_https_post('api.messagebird.com', '/xml/sms/',
'gateway='.urlencode($this->gateway).
'&username='.urlencode($this->username).
'&password='.urlencode($this->password).
@ -97,4 +97,4 @@ class Mollie extends Core {
}
return $buf;
}
}
}