Hps_Securesubmit - Version 1.0.5

Version Notes

Fix remaining casts to string

Download this release

Release Info

Developer Heartland Payment Systems
Extension Hps_Securesubmit
Version 1.0.5
Comparing to
See all releases


Code changes from version 1.0.4 to 1.0.5

lib/SecureSubmit/services/HpsChargeService.php CHANGED
@@ -108,40 +108,40 @@ class HpsChargeService extends HpsService{
108
 
109
  $header = $this->hydrateTransactionHeader($response->Header);
110
  $result = new HpsReportTransactionDetails($header);
111
- $result->transactionId = $detail->GatewayTxnId;
112
- $result->originalTransactionId = (isset($detail->OriginalGatewayTxnId) ? $detail->OriginalGatewayTxnId : null);
113
- $result->authorizedAmount = (isset($detail->Data->AuthAmt) ? $detail->Data->AuthAmt : null);
114
- $result->authorizationCode = (isset($detail->Data->AuthCode) ? $detail->Data->AuthCode : null);
115
- $result->avsResultCode = (isset($detail->Data->AVSRsltCode) ? $detail->Data->AVSRsltCode : null);
116
- $result->avsResultText = (isset($detail->Data->AVSRsltText) ? $detail->Data->AVSRsltText : null);
117
- $result->cardType = (isset($detail->Data->CardType) ? $detail->Data->CardType : null);
118
- $result->maskedCardNumber = (isset($detail->Data->MaskedCardNbr) ? $detail->Data->MaskedCardNbr : null);
119
- $result->transactionType = (isset($detail->ServiceName) ? HpsTransaction::serviceNameToTransactionType($detail->ServiceName) : null);
120
- $result->transactionDate = (isset($detail->RspUtcDT) ? $detail->RspUtcDT : null);
121
- $result->cpcIndicator = (isset($detail->Data->CPCInd) ? $detail->Data->CPCInd : null);
122
- $result->cvvResultCode = (isset($detail->Data->CVVRsltCode) ? $detail->Data->CVVRsltCode : null);
123
- $result->cvvResultText = (isset($detail->Data->CVVRsltText) ? $detail->Data->CVVRsltText : null);
124
- $result->referenceNumber = (isset($detail->Data->RefNbr) ? $detail->Data->RefNbr : null);
125
- $result->responseCode = (isset($detail->Data->RspCode) ? $detail->Data->RspCode : null);
126
- $result->responseText = (isset($detail->Data->RspText) ? $detail->Data->RspText : null);
127
-
128
- $tokenizationMessage = (isset($detail->Data->TokenizationMsg) ? $detail->Data->TokenizationMsg : null);
129
  if($tokenizationMessage != null){
130
  $result->tokenData = new HpsTokenData($tokenizationMessage);
131
  }
132
 
133
- $headerResponseCode = (isset($response->Header->GatewayRspCode) ? $response->Header->GatewayRspCode : null);
134
- $dataResponseCode = (isset($detail->Data->RspCode) ? $detail->Data->RspCode : null);
135
 
136
  if($headerResponseCode != "0" || $dataResponseCode != "00"){
137
  $exceptions = new HpsChargeExceptions();
138
 
139
  if($headerResponseCode != "0"){
140
- $message = $response->Header->GatewayRspMsg;
141
  $exceptions->hpsException = $this->exceptionMapper->map_gateway_exception($result->transactionId,$headerResponseCode,$message);
142
  }
143
  if($dataResponseCode != "00"){
144
- $message = $detail->Data->RspText;
145
  $exceptions->cardException = $this->exceptionMapper->map_issuer_exception($transactionId,$dataResponseCode,$message);
146
  }
147
  $result->exceptions = $exceptions;
@@ -172,44 +172,44 @@ class HpsChargeService extends HpsService{
172
  $response = $this->doTransaction($hpsTransaction);
173
 
174
  // Gateway Exception
175
- if($response->Header->GatewayRspCode !=0){
176
- $transactionId = $response->Header->GatewayTxnId;
177
- $responseCode = $response->Header->GatewayRspCode;
178
- $responseMessage = $response->Header->GatewayRspMessage;
179
  throw $this->exceptionMapper->map_gateway_exception($transactionId,$responseCode,$responseMessage);
180
  }
181
  $result = array();
182
- if($response->Transaction->ReportActivity->Header->TxnCnt == "0"){
183
  return $result;
184
  }
185
 
186
  foreach ($response->Transaction->ReportActivity->Details as $charge) {
187
- if($filterBy != null && $charge->ServiceName != HpsTransaction::transactionTypeToServiceName($filterBy)){
188
  continue;
189
  }else{
190
  $summary = new HpsReportTransactionSummary();
191
- $summary->transactionId = (isset($charge->GatewayTxnId) ? $charge->GatewayTxnId : null);
192
- $summary->originalTransactionId = (isset($charge->OriginalGatewayTxnId) ? $charge->OriginalGatewayTxnId : null);
193
- $summary->maskedCardNumber = (isset($charge->MaskedCardNbr) ? $charge->MaskedCardNbr : null);
194
- $summary->responseCode = (isset($charge->IssuerRspCode) ? $charge->IssuerRspCode : null);
195
- $summary->responseText = (isset($charge->IssuerRspText) ? $charge->IssuerRspText : null);
196
 
197
  if($filterBy != null ){
198
- $summary->transactionType = (isset($charge->ServiceName) ? HpsTransaction::transactionTypeToServiceName($charge->ServiceName) : null);
199
  }
200
 
201
- $gwResponseCode = (isset($charge->GatewayRspCode) ? $charge->GatewayRspCode : null);
202
- $issuerResponseCode = (isset($charge->IssuerRspCode) ? $charge->IssuerRspCode : null);
203
 
204
  if($gwResponseCode != "0" || $issuerResponseCode != "00"){
205
  $exceptions = new HpsChargeExceptions();
206
  if($gwResponseCode != "0"){
207
- $message = $charge->GatewayRspMsg;
208
- $exceptions->hpsException = $this->exceptionMapper->map_gateway_exception($charge->GatewayTxnId, $gwResponseCode, $message);
209
  }
210
  if($issuerResponseCode != "00"){
211
- $message = $charge->IssuerRspText;
212
- $exceptions->cardException = $this->exceptionMapper->map_issuer_exception($charge->GatewayTxnId, $issuerResponseCode, $message);
213
  }
214
  $summary->exceptions = $exceptions;
215
  }
@@ -351,18 +351,18 @@ class HpsChargeService extends HpsService{
351
 
352
  $accountVerify = $response->Transaction->CreditAccountVerify;
353
  $result = new HpsAccountVerify($this->hydrateTransactionHeader($header));
354
- $result->transactionId = (isset($accountVerify->GatewayTxnId) ? $accountVerify->GatewayTxnId : null);
355
- $result->avsResultCode = (isset($accountVerify->AVSRsltCode) ? $accountVerify->AVSRsltCode : null);
356
- $result->avsResultText = (isset($accountVerify->AVSRsltText) ? $accountVerify->AVSRsltText : null);
357
- $result->referenceNumber = (isset($accountVerify->RefNbr) ? $accountVerify->RefNbr : null);
358
- $result->responseCode = (isset($accountVerify->RspCode) ? $accountVerify->RspCode : null);
359
- $result->responseText = (isset($accountVerify->RspText) ? $accountVerify->RspText : null);
360
- $result->cardType = (isset($accountVerify->CardType) ? $accountVerify->CardType : null);
361
- $result->cpcIndicator = (isset($accountVerify->CPCInd) ? $accountVerify->CPCInd : null);
362
- $result->cvvResultCode = (isset($accountVerify->CVVRsltCode) ? $accountVerify->CVVRsltCode : null);
363
- $result->cvvResultText = (isset($accountVerify->CVVRsltText) ? $accountVerify->CVVRsltText : null);
364
- $result->authorizationCode = (isset($accountVerify->AuthCode) ? $accountVerify->AuthCode : null);
365
- $result->authorizedAmount = (isset($accountVerify->AuthAmt) ? $accountVerify->AuthAmt : null);
366
 
367
  if($result->responseCode != "00" && $result->responseCode != "85"){
368
  throw $this->exceptionMapper->map_issuer_exception($result->transactionId, $result->responseCode, $result->responseText);
@@ -370,9 +370,9 @@ class HpsChargeService extends HpsService{
370
 
371
  if(isset($header->TokenData) && is_object($header->TokenData)){
372
  $result->tokenData = new HpsTokenData();
373
- $result->tokenData->responseCode = $header->TokenData->TokenRspCode;
374
- $result->tokenData->responseMessage = $header->TokenData->TokenRspMsg;
375
- $result->tokenData->tokenValue = $header->TokenData->TokenValue;
376
  }
377
 
378
  return $result;
@@ -500,13 +500,13 @@ class HpsChargeService extends HpsService{
500
  $response = $this->doTransaction($transaction);
501
  $avsChecking = new AVSResponseCodeHandler($response,$this,$this->config);
502
  $header = $response->Header;
503
- $this->_processChargeGatewayResponse($header->GatewayRspCode,$header->GatewayRspMsg,$header->GatewayTxnId,$amount,$currency);
504
 
505
  $authResponse = $response->Transaction->CreditAuth;
506
- $this->_processChargeIssuerResponse($authResponse->RspCode,$authResponse->RspText,$authResponse->GatewayTxnId,$amount,$currency);
507
 
508
  $result = new HpsAuthorization($this->hydrateTransactionHeader($header));
509
- $result->transactionId = $header->GatewayTxnId;
510
  $result->authorizedAmount = (isset($authResponse->AuthAmt) ? (string)$authResponse->AuthAmt : null);
511
  $result->authorizationCode = (isset($authResponse->AuthCode) ? (string)$authResponse->AuthCode : null);
512
  $result->avsResultCode = (isset($authResponse->AVSRsltCode) ? (string)$authResponse->AVSRsltCode : null);
@@ -533,13 +533,13 @@ class HpsChargeService extends HpsService{
533
  $response = $this->doTransaction($transaction);
534
  $avsChecking = new AVSResponseCodeHandler($response,$this,$this->config);
535
  $header = $response->Header;
536
- $this->_processChargeGatewayResponse($header->GatewayRspCode,$header->GatewayRspMsg,$header->GatewayTxnId,$amount,$currency);
537
 
538
  $creditSaleRsp = $response->Transaction->CreditSale;
539
- $this->_processChargeIssuerResponse($creditSaleRsp->RspCode,$creditSaleRsp->RspText,$creditSaleRsp->GatewayTxnId,$amount,$currency);
540
 
541
  $result = new HpsCharge($this->hydrateTransactionHeader($header));
542
- $result->transactionId = $header->GatewayTxnId;
543
  $result->authorizedAmount = (isset($creditSaleRsp->AuthAmt) ? (string)$creditSaleRsp->AuthAmt : null);
544
  $result->authorizationCode = (isset($creditSaleRsp->AuthCode) ? (string)$creditSaleRsp->AuthCode : null);
545
  $result->avsResultCode = (isset($creditSaleRsp->AVSRsltCode) ? (string)$creditSaleRsp->AVSRsltCode : null);
@@ -566,8 +566,8 @@ class HpsChargeService extends HpsService{
566
  $response = $this->doTransaction($transaction);
567
  $header = $response->Header;
568
 
569
- if($header->GatewayRspCode != "0"){
570
- throw $this->exceptionMapper->map_gateway_exception($header->GatewayTxnId,$header->GatewayRspCode,$header->GatewayRspMsg);
571
  }
572
 
573
  $result = new HpsRefund($this->hydrateTransactionHeader($header));
@@ -582,8 +582,8 @@ class HpsChargeService extends HpsService{
582
  $response = $this->doTransaction($transaction);
583
  $header = $response->Header;
584
 
585
- if($header->GatewayRspCode != "0"){
586
- throw $this->exceptionMapper->map_gateway_exception($header->GatewayTxnId,$header->GatewayRspCOde,$header->GatewayRspMsg);
587
  }
588
 
589
  $reversal = (isset($response->Transaction->CreditReversal) ? $response->Transaction->CreditReversal : null);
@@ -599,4 +599,4 @@ class HpsChargeService extends HpsService{
599
  $result->responseText = (isset($reversal->RspText) ? (string)$reversal->RspText : null);
600
  return $result;
601
  }
602
- }
108
 
109
  $header = $this->hydrateTransactionHeader($response->Header);
110
  $result = new HpsReportTransactionDetails($header);
111
+ $result->transactionId = (string)$detail->GatewayTxnId;
112
+ $result->originalTransactionId = (isset($detail->OriginalGatewayTxnId) ? (string)$detail->OriginalGatewayTxnId : null);
113
+ $result->authorizedAmount = (isset($detail->Data->AuthAmt) ? (string)$detail->Data->AuthAmt : null);
114
+ $result->authorizationCode = (isset($detail->Data->AuthCode) ? (string)$detail->Data->AuthCode : null);
115
+ $result->avsResultCode = (isset($detail->Data->AVSRsltCode) ? (string)$detail->Data->AVSRsltCode : null);
116
+ $result->avsResultText = (isset($detail->Data->AVSRsltText) ? (string)$detail->Data->AVSRsltText : null);
117
+ $result->cardType = (isset($detail->Data->CardType) ? (string)$detail->Data->CardType : null);
118
+ $result->maskedCardNumber = (isset($detail->Data->MaskedCardNbr) ? (string)$detail->Data->MaskedCardNbr : null);
119
+ $result->transactionType = (isset($detail->ServiceName) ? HpsTransaction::serviceNameToTransactionType((string)$detail->ServiceName) : null);
120
+ $result->transactionDate = (isset($detail->RspUtcDT) ? (string)$detail->RspUtcDT : null);
121
+ $result->cpcIndicator = (isset($detail->Data->CPCInd) ? (string)$detail->Data->CPCInd : null);
122
+ $result->cvvResultCode = (isset($detail->Data->CVVRsltCode) ? (string)$detail->Data->CVVRsltCode : null);
123
+ $result->cvvResultText = (isset($detail->Data->CVVRsltText) ? (string)$detail->Data->CVVRsltText : null);
124
+ $result->referenceNumber = (isset($detail->Data->RefNbr) ? (string)$detail->Data->RefNbr : null);
125
+ $result->responseCode = (isset($detail->Data->RspCode) ? (string)$detail->Data->RspCode : null);
126
+ $result->responseText = (isset($detail->Data->RspText) ? (string)$detail->Data->RspText : null);
127
+
128
+ $tokenizationMessage = (isset($detail->Data->TokenizationMsg) ? (string)$detail->Data->TokenizationMsg : null);
129
  if($tokenizationMessage != null){
130
  $result->tokenData = new HpsTokenData($tokenizationMessage);
131
  }
132
 
133
+ $headerResponseCode = (isset($response->Header->GatewayRspCode) ? (string)$response->Header->GatewayRspCode : null);
134
+ $dataResponseCode = (isset($detail->Data->RspCode) ? (string)$detail->Data->RspCode : null);
135
 
136
  if($headerResponseCode != "0" || $dataResponseCode != "00"){
137
  $exceptions = new HpsChargeExceptions();
138
 
139
  if($headerResponseCode != "0"){
140
+ $message = (string)$response->Header->GatewayRspMsg;
141
  $exceptions->hpsException = $this->exceptionMapper->map_gateway_exception($result->transactionId,$headerResponseCode,$message);
142
  }
143
  if($dataResponseCode != "00"){
144
+ $message = (string)$detail->Data->RspText;
145
  $exceptions->cardException = $this->exceptionMapper->map_issuer_exception($transactionId,$dataResponseCode,$message);
146
  }
147
  $result->exceptions = $exceptions;
172
  $response = $this->doTransaction($hpsTransaction);
173
 
174
  // Gateway Exception
175
+ if((string)$response->Header->GatewayRspCode != '0'){
176
+ $transactionId = (string)$response->Header->GatewayTxnId;
177
+ $responseCode = (string)$response->Header->GatewayRspCode;
178
+ $responseMessage = (string)$response->Header->GatewayRspMessage;
179
  throw $this->exceptionMapper->map_gateway_exception($transactionId,$responseCode,$responseMessage);
180
  }
181
  $result = array();
182
+ if((string)$response->Transaction->ReportActivity->Header->TxnCnt == "0"){
183
  return $result;
184
  }
185
 
186
  foreach ($response->Transaction->ReportActivity->Details as $charge) {
187
+ if($filterBy != null && (string)$charge->ServiceName != HpsTransaction::transactionTypeToServiceName($filterBy)){
188
  continue;
189
  }else{
190
  $summary = new HpsReportTransactionSummary();
191
+ $summary->transactionId = (isset($charge->GatewayTxnId) ? (string)$charge->GatewayTxnId : null);
192
+ $summary->originalTransactionId = (isset($charge->OriginalGatewayTxnId) ? (string)$charge->OriginalGatewayTxnId : null);
193
+ $summary->maskedCardNumber = (isset($charge->MaskedCardNbr) ? (string)$charge->MaskedCardNbr : null);
194
+ $summary->responseCode = (isset($charge->IssuerRspCode) ? (string)$charge->IssuerRspCode : null);
195
+ $summary->responseText = (isset($charge->IssuerRspText) ? (string)$charge->IssuerRspText : null);
196
 
197
  if($filterBy != null ){
198
+ $summary->transactionType = (isset($charge->ServiceName) ? HpsTransaction::transactionTypeToServiceName((string)$charge->ServiceName) : null);
199
  }
200
 
201
+ $gwResponseCode = (isset($charge->GatewayRspCode) ? (string)$charge->GatewayRspCode : null);
202
+ $issuerResponseCode = (isset($charge->IssuerRspCode) ? (string)$charge->IssuerRspCode : null);
203
 
204
  if($gwResponseCode != "0" || $issuerResponseCode != "00"){
205
  $exceptions = new HpsChargeExceptions();
206
  if($gwResponseCode != "0"){
207
+ $message = (string)$charge->GatewayRspMsg;
208
+ $exceptions->hpsException = $this->exceptionMapper->map_gateway_exception((string)$charge->GatewayTxnId, $gwResponseCode, $message);
209
  }
210
  if($issuerResponseCode != "00"){
211
+ $message = (string)$charge->IssuerRspText;
212
+ $exceptions->cardException = $this->exceptionMapper->map_issuer_exception((string)$charge->GatewayTxnId, $issuerResponseCode, $message);
213
  }
214
  $summary->exceptions = $exceptions;
215
  }
351
 
352
  $accountVerify = $response->Transaction->CreditAccountVerify;
353
  $result = new HpsAccountVerify($this->hydrateTransactionHeader($header));
354
+ $result->transactionId = (isset($accountVerify->GatewayTxnId) ? (string)$accountVerify->GatewayTxnId : null);
355
+ $result->avsResultCode = (isset($accountVerify->AVSRsltCode) ? (string)$accountVerify->AVSRsltCode : null);
356
+ $result->avsResultText = (isset($accountVerify->AVSRsltText) ? (string)$accountVerify->AVSRsltText : null);
357
+ $result->referenceNumber = (isset($accountVerify->RefNbr) ? (string)$accountVerify->RefNbr : null);
358
+ $result->responseCode = (isset($accountVerify->RspCode) ? (string)$accountVerify->RspCode : null);
359
+ $result->responseText = (isset($accountVerify->RspText) ? (string)$accountVerify->RspText : null);
360
+ $result->cardType = (isset($accountVerify->CardType) ? (string)$accountVerify->CardType : null);
361
+ $result->cpcIndicator = (isset($accountVerify->CPCInd) ? (string)$accountVerify->CPCInd : null);
362
+ $result->cvvResultCode = (isset($accountVerify->CVVRsltCode) ? (string)$accountVerify->CVVRsltCode : null);
363
+ $result->cvvResultText = (isset($accountVerify->CVVRsltText) ? (string)$accountVerify->CVVRsltText : null);
364
+ $result->authorizationCode = (isset($accountVerify->AuthCode) ? (string)$accountVerify->AuthCode : null);
365
+ $result->authorizedAmount = (isset($accountVerify->AuthAmt) ? (string)$accountVerify->AuthAmt : null);
366
 
367
  if($result->responseCode != "00" && $result->responseCode != "85"){
368
  throw $this->exceptionMapper->map_issuer_exception($result->transactionId, $result->responseCode, $result->responseText);
370
 
371
  if(isset($header->TokenData) && is_object($header->TokenData)){
372
  $result->tokenData = new HpsTokenData();
373
+ $result->tokenData->responseCode = (string)$header->TokenData->TokenRspCode;
374
+ $result->tokenData->responseMessage = (string)$header->TokenData->TokenRspMsg;
375
+ $result->tokenData->tokenValue = (string)$header->TokenData->TokenValue;
376
  }
377
 
378
  return $result;
500
  $response = $this->doTransaction($transaction);
501
  $avsChecking = new AVSResponseCodeHandler($response,$this,$this->config);
502
  $header = $response->Header;
503
+ $this->_processChargeGatewayResponse((string)$header->GatewayRspCode,(string)$header->GatewayRspMsg,(string)$header->GatewayTxnId,$amount,$currency);
504
 
505
  $authResponse = $response->Transaction->CreditAuth;
506
+ $this->_processChargeIssuerResponse((string)$authResponse->RspCode,(string)$authResponse->RspText,(string)$authResponse->GatewayTxnId,$amount,$currency);
507
 
508
  $result = new HpsAuthorization($this->hydrateTransactionHeader($header));
509
+ $result->transactionId = (string)$header->GatewayTxnId;
510
  $result->authorizedAmount = (isset($authResponse->AuthAmt) ? (string)$authResponse->AuthAmt : null);
511
  $result->authorizationCode = (isset($authResponse->AuthCode) ? (string)$authResponse->AuthCode : null);
512
  $result->avsResultCode = (isset($authResponse->AVSRsltCode) ? (string)$authResponse->AVSRsltCode : null);
533
  $response = $this->doTransaction($transaction);
534
  $avsChecking = new AVSResponseCodeHandler($response,$this,$this->config);
535
  $header = $response->Header;
536
+ $this->_processChargeGatewayResponse((string)$header->GatewayRspCode,(string)$header->GatewayRspMsg,(string)$header->GatewayTxnId,$amount,$currency);
537
 
538
  $creditSaleRsp = $response->Transaction->CreditSale;
539
+ $this->_processChargeIssuerResponse((string)$creditSaleRsp->RspCode,(string)$creditSaleRsp->RspText,(string)$creditSaleRsp->GatewayTxnId,$amount,$currency);
540
 
541
  $result = new HpsCharge($this->hydrateTransactionHeader($header));
542
+ $result->transactionId = (string)$header->GatewayTxnId;
543
  $result->authorizedAmount = (isset($creditSaleRsp->AuthAmt) ? (string)$creditSaleRsp->AuthAmt : null);
544
  $result->authorizationCode = (isset($creditSaleRsp->AuthCode) ? (string)$creditSaleRsp->AuthCode : null);
545
  $result->avsResultCode = (isset($creditSaleRsp->AVSRsltCode) ? (string)$creditSaleRsp->AVSRsltCode : null);
566
  $response = $this->doTransaction($transaction);
567
  $header = $response->Header;
568
 
569
+ if((string)$header->GatewayRspCode != "0"){
570
+ throw $this->exceptionMapper->map_gateway_exception((string)$header->GatewayTxnId,(string)$header->GatewayRspCode,(string)$header->GatewayRspMsg);
571
  }
572
 
573
  $result = new HpsRefund($this->hydrateTransactionHeader($header));
582
  $response = $this->doTransaction($transaction);
583
  $header = $response->Header;
584
 
585
+ if((string)$header->GatewayRspCode != "0"){
586
+ throw $this->exceptionMapper->map_gateway_exception((string)$header->GatewayTxnId,(string)$header->GatewayRspCode,(string)$header->GatewayRspMsg);
587
  }
588
 
589
  $reversal = (isset($response->Transaction->CreditReversal) ? $response->Transaction->CreditReversal : null);
599
  $result->responseText = (isset($reversal->RspText) ? (string)$reversal->RspText : null);
600
  return $result;
601
  }
602
+ }
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Hps_Securesubmit</name>
4
- <version>1.0.4</version>
5
  <stability>stable</stability>
6
  <license uri="https://github.com/SecureSubmit/heartland-magento-extension/blob/master/LICENSE">Custom</license>
7
  <channel>community</channel>
@@ -10,11 +10,11 @@
10
  <description>Use Heartland Payment Systems SecureSubmit platform to charge, authorize, void, refund and partial refund credit cards.&#xD;
11
  &#xD;
12
  Allow customers to store their cards for reduced friction at next checkout using our multi-use card tokenization process which helps reduce PCI scope.</description>
13
- <notes>Removes debug information that causes issues on some systems</notes>
14
  <authors><author><name>Heartland Payment Systems</name><user>markhagan</user><email>EntApp_DevPortal@e-hps.com</email></author></authors>
15
- <date>2015-03-26</date>
16
- <time>20:07:01</time>
17
- <contents><target name="magecommunity"><dir name="Hps"><dir name="Securesubmit"><dir name="Block"><file name="Form.php" hash="a2e7bd1c2457cc7f12cb114b6957fefb"/><file name="Info.php" hash="3fa6b51d26f335e5ca52ee58a4399a3c"/></dir><dir name="Helper"><file name="Data.php" hash="04aeff6f94f56a49cf7527518c6212a1"/></dir><dir name="Model"><file name="Payment.php" hash="3c72d498069ead0f0898bc5f3525f847"/><dir name="Resource"><file name="Setup.php" hash="f568cb09a6a06fc3d52f145684997416"/><dir name="Storedcard"><file name="Collection.php" hash="021134d46837197e800f54a4b90b0048"/></dir><file name="Storedcard.php" hash="f2a993c8e4236bc03b1273a33a03b5d0"/></dir><dir name="Source"><file name="Cctype.php" hash="b5f75e4a3284f79b2cfab926b193c98b"/><file name="PaymentAction.php" hash="9fc55ebaaeaccba6c40597d25a1cf9d3"/></dir><file name="Storedcard.php" hash="82c7228d2182a0cba979dc4c66a2321c"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Proxy.php" hash="97028069630bddf2b94cb1b5b0886076"/></dir></dir></dir></dir><dir name="controllers"><file name="StoredcardController.php" hash="cb9e5f7de4f52fd7a764a87f0f4699a8"/></dir><dir name="etc"><file name="config.xml" hash="b3fde0de1a10e823ce680317738fd802"/><file name="system.xml" hash="be8a2c1d74b72b45bd14eed62cc5a5e7"/></dir><dir name="sql"><dir name="hps_securesubmit_setup"><file name="install-1.0.0.php" hash="57917d8b3b29830eb1a219466df4555b"/></dir></dir><file name=".DS_Store" hash="4a6d92e7f95a9f9208c420e97eb1d4ea"/></dir></dir></target><target name="mageweb"><dir name="js"><dir name="securesubmit"><file name="admin-checkout.js" hash="1493f7f32243bad6d4facd577a375198"/><file name="secure.submit-1.0.1.js" hash="a149dc8efcfa3b507d6b2b3c784d9db3"/></dir></dir></target><target name="magelib"><dir name="SecureSubmit"><file name="Hps.php" hash="8855d261c2df0de3fe7ad8e6e59668ad"/><dir name="entities"><file name="HpsAccountVerify.php" hash="a910342548320ba07ebc4c9cda2f7c96"/><file name="HpsAddress.php" hash="2e4554c509e1de8e8cb6b0d1f599d657"/><file name="HpsAuthorization.php" hash="c46f0ad9033d3197e641c1b63bd90c7e"/><file name="HpsBatch.php" hash="46ee0321f3c9f3824fdb930736c8df7e"/><file name="HpsCardHolder.php" hash="f74938b2f53d703c777def01adde5e91"/><file name="HpsCharge.php" hash="5e94b3094db8e4f231a456cedce40985"/><file name="HpsChargeExceptions.php" hash="927b346fdac882cf97fd46b5e740e363"/><file name="HpsCreditCard.php" hash="9394bb9cd123d572d2f3376f3ce52594"/><file name="HpsItemChoiceTypePosResponseVer10Transaction.php" hash="3516bf8acb77af8d4a36d02ed991d09e"/><file name="HpsRefund.php" hash="05a8dae7c7e0faf1e67ae628eca75ea2"/><file name="HpsReportTransactionDetails.php" hash="ad0221581bf4ee24410c1ed4aac4d305"/><file name="HpsReportTransactionSummary.php" hash="1d46cce9a3274f25c092171e034479bc"/><file name="HpsReversal.php" hash="1ffd02ea88816b9a7ef5579d6219d6b8"/><file name="HpsTokenData.php" hash="bfc42e3ed9ff078598d694565d7fd3be"/><file name="HpsTransaction.php" hash="fd2bb80e28f9143bb25a3df1508fb927"/><file name="HpsTransactionDetails.php" hash="ded777de86d2b93882b2779283247b64"/><file name="HpsTransactionHeader.php" hash="114de2d7b3648143d0ef16588dfbc1af"/><file name="HpsTransactionType.php" hash="58a73f5915ff2d3f9d89935232e90796"/><file name="HpsVoid.php" hash="09902616437fd001ec17cde2b6dd9780"/></dir><dir name="infrastructure"><file name="AVSResponseCodeHandler.php" hash="b376458f6bbf14907fd96b6b17566861"/><file name="ApiConnectionException.php" hash="8b6e2d5e4d7e3368adb34e1ab20412b0"/><file name="AuthenticationException.php" hash="4685a4fa0209ed56ef0ee38868f52840"/><file name="CardException.php" hash="09bf8965e0e101dcaf560c0927812306"/><file name="Exceptions.json" hash="8f7cbcb2b18963603ee3a62d6888c36d"/><file name="HpsConfiguration.php" hash="48ed3ba9eed035d5e57d245f5174b5bc"/><file name="HpsException.php" hash="ad9fbec07d00343bb53f71a835874ea4"/><file name="HpsExceptionMapper.php" hash="5f81eacdaea3ccb756a89b04ec4c20d6"/><file name="HpsSdkCodes.php" hash="b827c7268a5743a5fd45e992eeab2450"/><file name="InvalidRequestException.php" hash="a01ca17d036ce2e6410647aa1bd25491"/></dir><dir name="services"><file name="HpsBatchService.php" hash="b33260d307dd557d6fd287b32638c1aa"/><file name="HpsChargeService.php" hash="e6389ac7ada0e0bd63a87b4b0c81f710"/><file name="HpsService.php" hash="52aefe6d72b1e4118fdd8ec04b75e28c"/><file name="HpsTokenService.php" hash="bfdee5e18ebdc2133f3512040e0da766"/></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="securesubmit.xml" hash="cc04e952cc17ea3462931a9e7a655316"/></dir><dir name="template"><dir name="securesubmit"><file name="form.phtml" hash="b6329408b11e9e979494a923e639f6cf"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="securesubmit.xml" hash="8aca5736bbba6ec8341cf9510c0ea5ab"/></dir><dir name="template"><dir name="securesubmit"><file name="form.phtml" hash="ae6221e7f9961b673470c265cdbb6927"/><file name="storedcards.phtml" hash="3412f0560d4ba696dc9bc3ed996e0577"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Hps_Securesubmit.xml" hash="d5aed3f48a45f8e611b68d1e6f34c959"/></dir></target></contents>
18
  <compatible/>
19
  <dependencies><required><php><min>5.2.0</min><max>5.5.15</max></php></required></dependencies>
20
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Hps_Securesubmit</name>
4
+ <version>1.0.5</version>
5
  <stability>stable</stability>
6
  <license uri="https://github.com/SecureSubmit/heartland-magento-extension/blob/master/LICENSE">Custom</license>
7
  <channel>community</channel>
10
  <description>Use Heartland Payment Systems SecureSubmit platform to charge, authorize, void, refund and partial refund credit cards.&#xD;
11
  &#xD;
12
  Allow customers to store their cards for reduced friction at next checkout using our multi-use card tokenization process which helps reduce PCI scope.</description>
13
+ <notes>Fix remaining casts to string</notes>
14
  <authors><author><name>Heartland Payment Systems</name><user>markhagan</user><email>EntApp_DevPortal@e-hps.com</email></author></authors>
15
+ <date>2015-04-02</date>
16
+ <time>18:21:20</time>
17
+ <contents><target name="magecommunity"><dir name="Hps"><dir name="Securesubmit"><dir name="Block"><file name="Form.php" hash="a2e7bd1c2457cc7f12cb114b6957fefb"/><file name="Info.php" hash="3fa6b51d26f335e5ca52ee58a4399a3c"/></dir><dir name="Helper"><file name="Data.php" hash="04aeff6f94f56a49cf7527518c6212a1"/></dir><dir name="Model"><file name="Payment.php" hash="3c72d498069ead0f0898bc5f3525f847"/><dir name="Resource"><file name="Setup.php" hash="f568cb09a6a06fc3d52f145684997416"/><dir name="Storedcard"><file name="Collection.php" hash="021134d46837197e800f54a4b90b0048"/></dir><file name="Storedcard.php" hash="f2a993c8e4236bc03b1273a33a03b5d0"/></dir><dir name="Source"><file name="Cctype.php" hash="b5f75e4a3284f79b2cfab926b193c98b"/><file name="PaymentAction.php" hash="9fc55ebaaeaccba6c40597d25a1cf9d3"/></dir><file name="Storedcard.php" hash="82c7228d2182a0cba979dc4c66a2321c"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Proxy.php" hash="97028069630bddf2b94cb1b5b0886076"/></dir></dir></dir></dir><dir name="controllers"><file name="StoredcardController.php" hash="cb9e5f7de4f52fd7a764a87f0f4699a8"/></dir><dir name="etc"><file name="config.xml" hash="b3fde0de1a10e823ce680317738fd802"/><file name="system.xml" hash="be8a2c1d74b72b45bd14eed62cc5a5e7"/></dir><dir name="sql"><dir name="hps_securesubmit_setup"><file name="install-1.0.0.php" hash="57917d8b3b29830eb1a219466df4555b"/></dir></dir><file name=".DS_Store" hash="4a6d92e7f95a9f9208c420e97eb1d4ea"/></dir></dir></target><target name="mageweb"><dir name="js"><dir name="securesubmit"><file name="admin-checkout.js" hash="1493f7f32243bad6d4facd577a375198"/><file name="secure.submit-1.0.1.js" hash="a149dc8efcfa3b507d6b2b3c784d9db3"/></dir></dir></target><target name="magelib"><dir name="SecureSubmit"><file name="Hps.php" hash="8855d261c2df0de3fe7ad8e6e59668ad"/><dir name="entities"><file name="HpsAccountVerify.php" hash="a910342548320ba07ebc4c9cda2f7c96"/><file name="HpsAddress.php" hash="2e4554c509e1de8e8cb6b0d1f599d657"/><file name="HpsAuthorization.php" hash="c46f0ad9033d3197e641c1b63bd90c7e"/><file name="HpsBatch.php" hash="46ee0321f3c9f3824fdb930736c8df7e"/><file name="HpsCardHolder.php" hash="f74938b2f53d703c777def01adde5e91"/><file name="HpsCharge.php" hash="5e94b3094db8e4f231a456cedce40985"/><file name="HpsChargeExceptions.php" hash="927b346fdac882cf97fd46b5e740e363"/><file name="HpsCreditCard.php" hash="9394bb9cd123d572d2f3376f3ce52594"/><file name="HpsItemChoiceTypePosResponseVer10Transaction.php" hash="3516bf8acb77af8d4a36d02ed991d09e"/><file name="HpsRefund.php" hash="05a8dae7c7e0faf1e67ae628eca75ea2"/><file name="HpsReportTransactionDetails.php" hash="ad0221581bf4ee24410c1ed4aac4d305"/><file name="HpsReportTransactionSummary.php" hash="1d46cce9a3274f25c092171e034479bc"/><file name="HpsReversal.php" hash="1ffd02ea88816b9a7ef5579d6219d6b8"/><file name="HpsTokenData.php" hash="bfc42e3ed9ff078598d694565d7fd3be"/><file name="HpsTransaction.php" hash="fd2bb80e28f9143bb25a3df1508fb927"/><file name="HpsTransactionDetails.php" hash="ded777de86d2b93882b2779283247b64"/><file name="HpsTransactionHeader.php" hash="114de2d7b3648143d0ef16588dfbc1af"/><file name="HpsTransactionType.php" hash="58a73f5915ff2d3f9d89935232e90796"/><file name="HpsVoid.php" hash="09902616437fd001ec17cde2b6dd9780"/></dir><dir name="infrastructure"><file name="AVSResponseCodeHandler.php" hash="b376458f6bbf14907fd96b6b17566861"/><file name="ApiConnectionException.php" hash="8b6e2d5e4d7e3368adb34e1ab20412b0"/><file name="AuthenticationException.php" hash="4685a4fa0209ed56ef0ee38868f52840"/><file name="CardException.php" hash="09bf8965e0e101dcaf560c0927812306"/><file name="Exceptions.json" hash="8f7cbcb2b18963603ee3a62d6888c36d"/><file name="HpsConfiguration.php" hash="48ed3ba9eed035d5e57d245f5174b5bc"/><file name="HpsException.php" hash="ad9fbec07d00343bb53f71a835874ea4"/><file name="HpsExceptionMapper.php" hash="5f81eacdaea3ccb756a89b04ec4c20d6"/><file name="HpsSdkCodes.php" hash="b827c7268a5743a5fd45e992eeab2450"/><file name="InvalidRequestException.php" hash="a01ca17d036ce2e6410647aa1bd25491"/></dir><dir name="services"><file name="HpsBatchService.php" hash="b33260d307dd557d6fd287b32638c1aa"/><file name="HpsChargeService.php" hash="b3ae575ac87b364e4e847440792fa7c3"/><file name="HpsService.php" hash="52aefe6d72b1e4118fdd8ec04b75e28c"/><file name="HpsTokenService.php" hash="bfdee5e18ebdc2133f3512040e0da766"/></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="securesubmit.xml" hash="cc04e952cc17ea3462931a9e7a655316"/></dir><dir name="template"><dir name="securesubmit"><file name="form.phtml" hash="b6329408b11e9e979494a923e639f6cf"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="securesubmit.xml" hash="8aca5736bbba6ec8341cf9510c0ea5ab"/></dir><dir name="template"><dir name="securesubmit"><file name="form.phtml" hash="ae6221e7f9961b673470c265cdbb6927"/><file name="storedcards.phtml" hash="3412f0560d4ba696dc9bc3ed996e0577"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Hps_Securesubmit.xml" hash="d5aed3f48a45f8e611b68d1e6f34c959"/></dir></target></contents>
18
  <compatible/>
19
  <dependencies><required><php><min>5.2.0</min><max>5.5.15</max></php></required></dependencies>
20
  </package>