Skip to content

Commit

Permalink
Merge pull request #4 from EventConnect/main
Browse files Browse the repository at this point in the history
fix leading space + override set description
  • Loading branch information
christopheaic authored Mar 2, 2023
2 parents 447aa15 + e06a87d commit c921a44
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/Message/ConvergeAbstractRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
abstract class ConvergeAbstractRequest extends \Omnipay\Common\Message\AbstractRequest
{
protected $testEndpoint = 'https://api.demo.convergepay.com/VirtualMerchantDemo/processxml.do';
protected $liveEndpoint = ' https://api.convergepay.com/VirtualMerchant/processxml.do';
protected $liveEndpoint = 'https://api.convergepay.com/VirtualMerchant/processxml.do';

public function getEndpoint()
{
Expand Down Expand Up @@ -180,6 +180,14 @@ public function setPassword($value)
return $this->setParameter('password', $value);
}

/**
* @inheritDoc
*/
public function setDescription($value)
{
return $this->setParameter('description', substr($value, 0, 17));
}

/**
* Get the SSL show form parameter
*
Expand Down

0 comments on commit c921a44

Please sign in to comment.