Skip to content

Commit

Permalink
1.6.5
Browse files Browse the repository at this point in the history
fix on validateOrder trace log
  • Loading branch information
PaylineGitHub committed Dec 8, 2017
1 parent 276e59d commit 2d6c298
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<module>
<name>payline</name>
<displayName><![CDATA[Payline]]></displayName>
<version><![CDATA[1.6.4]]></version>
<version><![CDATA[1.6.5]]></version>
<description><![CDATA[Avec la solution de paiement en ligne s&eacute;curis&eacute;e Payline, recrutez et fid&eacute;lisez vos cyber-consommateurs : plus de ventes, moins de fraudes, sur tous les canaux, partout !!!!]]></description>
<author><![CDATA[Monext]]></author>
<tab><![CDATA[payments_gateways]]></tab>
Expand Down
2 changes: 1 addition & 1 deletion config_fr.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<module>
<name>payline</name>
<displayName><![CDATA[Payline]]></displayName>
<version><![CDATA[PS-1.6.4]]></version>
<version><![CDATA[PS-1.6.5]]></version>
<description><![CDATA[Avec la solution de paiement en ligne s&eacute;curis&eacute;e Payline, recrutez et fid&eacute;lisez vos cyber-consommateurs : plus de ventes, moins de fraudes, sur tous les canaux, partout !!!!]]></description>
<author><![CDATA[Monext]]></author>
<tab><![CDATA[payments_gateways]]></tab>
Expand Down
2 changes: 1 addition & 1 deletion lib/paylineSDK.php
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ public function write($message) {
class paylineSDK{

// kit version
const KIT_VERSION = 'PS-1.6.4';
const KIT_VERSION = 'PS-1.6.5';

// trace log
var $logger;
Expand Down
6 changes: 3 additions & 3 deletions payline.php
Original file line number Diff line number Diff line change
Expand Up @@ -2183,7 +2183,7 @@ protected function validateSubscriptionViaToken($sToken){
$fAmount,
$this->displayName,
$sResultShortMessage . ' - ' . $sResultLongMessage .'<br />',
'',
array(),
'','',$oCustomer->secure_key);


Expand Down Expand Up @@ -3977,7 +3977,7 @@ private function doWebPaymentRequest($paylineVars){
$doWebPaymentRequest['buyer']['firstName'] = $cust->firstname;
$doWebPaymentRequest['buyer']['email'] = $cust->email;
$doWebPaymentRequest['buyer']['customerId'] = $cust->email;
$doWebPaymentRequest['buyer']['walletId'] = $bActivateWalletPayment ? $this->getOrGenWalletId($cust->id) : '';
$doWebPaymentRequest['buyer']['walletId'] = $bActivateWalletPayment ? $this->getOrGenWalletId($cust->id) : '';

// ADDRESSES
$AddressBill = $this->getAddress($invoiceAddress);
Expand Down Expand Up @@ -6132,7 +6132,7 @@ public function validateWebPayment($aData){

}else if ($sResponseCode !== '02304' && $sResponseCode !== '02324' && $sResponseCode !== '02534') {

$this->validateOrder($nCartId, _PS_OS_ERROR_, $fAmount, $this->displayName, $sResponseShortMessage . ' - ' . $sResponseLongMessage . '<br />', '', '', '', $oCustomer->secure_key);
$this->validateOrder($nCartId, _PS_OS_ERROR_, $fAmount, $this->displayName, $sResponseShortMessage . ' - ' . $sResponseLongMessage . '<br />', array(), '', '', $oCustomer->secure_key);

} else {
$this->log('Unknown response code to handle => ' . $sResponseCode);
Expand Down

0 comments on commit 2d6c298

Please sign in to comment.