Skip to content

Commit 784aa00

Browse files
author
rkesarwa
committed
Revert "Add sender_id to support meta key support"
This reverts commit d79f500.
1 parent eb0d422 commit 784aa00

2 files changed

Lines changed: 3 additions & 18 deletions

File tree

lib/CybsClient.php

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ class CybsClient extends SoapClient
1414

1515
private $merchantId;
1616
private $transactionKey;
17-
private $senderId;
1817

1918
function __construct($options=array(), $properties, $nvp=false)
2019
{
@@ -41,16 +40,11 @@ function __construct($options=array(), $properties, $nvp=false)
4140
parent::__construct($wsdl, $options);
4241
$this->merchantId = $properties['merchant_id'];
4342
$this->transactionKey = $properties['transaction_key'];
44-
$this->senderId = $properties['sender_id'];
45-
46-
if(!$this->senderId) {
47-
$this->senderId = $this->merchantId;
48-
}
4943

5044
$nameSpace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
5145

5246
$soapUsername = new SoapVar(
53-
$this->senderId,
47+
$this->merchantId,
5448
XSD_STRING,
5549
NULL,
5650
$nameSpace,
@@ -119,12 +113,4 @@ public function getTransactionKey()
119113
{
120114
return $this->transactionKey;
121115
}
122-
123-
/**
124-
* @return string The client's sender ID.
125-
*/
126-
public function getSenderId()
127-
{
128-
return $this->senderId;
129-
}
130116
}

lib/conf/cybs.ini

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
merchant_id = rkesarwa
2-
#sender_id = <portfolio-mid>
3-
transaction_key = "XmMOqP4SqI8GVaxtoKqQ1uEpNGTL5w6tU+Rz1GufHHbozZf5LbcBTQL0kMKwgAkhtWCttYdSk5UkG0BjHH3NsExdJR5Wjyauz8z6LfjP3ntYXejkhW6CTdB83OB/8qKyxdCKCHaYxfKsDSlvRoONuTg8Cgg11o2qebQrS+mapJODwwjlxesuDbqu7sKS0Ls2AwNkHdiH0N7T4ZOJnZ0z6lls7vuDQUfwOJoJWnhHQ/C1jTErw8jZRvh87tCGXD68m+u+satqdPlLSR1tZ4j0YldGsaRZ7ZNv4SjitiUqDs34xfBtL9TZqrH/VyT3OuBAjUI79JGDXTXgC1U4oinSFQ=="
1+
merchant_id = your_merchant_id
2+
transaction_key = "your_transaction_key"
43

54
; Modify the URL to point to either a live or test WSDL file with the desired API version.
65
wsdl = "https://ics2wstest.ic3.com/commerce/1.x/transactionProcessor/CyberSourceTransaction_1.120.wsdl"

0 commit comments

Comments
 (0)