Gateway Parameters for ExpertTexting Incorrect
-
In version 5.4, the last version that works with experttexting, the call to the gateway looks like this:
foreach ( $this->to as $to ) {
$response = wp_remote_get( $this->wsdl_link . “json/Message/Send?username=” . $this->username . “&password=” . $this->password . “&api_key=” . $this->has_key . “&from=” . $this->from . “&to=” . $to . “&text=” . $text . “&type=” . $type, array( ‘timeout’ => 30 ) );
}Issue: In your versions following 5.4, the call to ExpertTexting is a messed up… in the file class-wpsms-gateway-experttexting.php, line 74 looks like:
foreach ($this->to as $to) {
$response = wp_remote_get($this->wsdl_link . “json/Message/Send?username=” . $this->username . “&api_key=” . $this->has_key . “&from=” . “&api_secret=” . $this->password . $this->from . “&to=” . $to . “&text=” . $text . “&type=” . $type, array(‘timeout’ => 30));
}Remediation: I replace the code (lines 74-76) with version 5.4 over 5.5, afterwards, my authentication issue (invalid credentials) with ExperTexting.com resolved itself.
- The topic ‘Gateway Parameters for ExpertTexting Incorrect’ is closed to new replies.