From 43645bf36f64069ab5692cab0b36eec3612a8690 Mon Sep 17 00:00:00 2001 From: Michael van Schaik Date: Fri, 21 Oct 2016 05:47:33 +0200 Subject: [PATCH] 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 --- src/psm/Txtmsg/Mollie.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/psm/Txtmsg/Mollie.php b/src/psm/Txtmsg/Mollie.php index 7c173777..1824c802 100644 --- a/src/psm/Txtmsg/Mollie.php +++ b/src/psm/Txtmsg/Mollie.php @@ -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; } -} \ No newline at end of file +}