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
pull/682/head
Michael van Schaik 2016-10-21 05:47:33 +02:00 committed by GitHub
parent 8e7339efbd
commit 4abe0bdf4c
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).