From 5c8aa978bd53af2e409ec8c7a3e9c99de730c6d5 Mon Sep 17 00:00:00 2001 From: Julien Deniau Date: Fri, 22 Feb 2019 16:14:10 +0100 Subject: [PATCH 1/7] Fix phpdoc for logger --- src/Payline/PaylineSDK.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Payline/PaylineSDK.php b/src/Payline/PaylineSDK.php index 9ef9c0e..693f15c 100644 --- a/src/Payline/PaylineSDK.php +++ b/src/Payline/PaylineSDK.php @@ -280,7 +280,7 @@ class PaylineSDK const ERR_SHORT_MESSAGE = 'ERROR'; /** - * Monolog\Logger instance + * @var Logger */ private $logger; @@ -341,9 +341,9 @@ class PaylineSDK * @param string $pathLog * path to your custom log folder, must end by directory separator. If null, default logs folder is used. Default : null * @param int $logLevel - * Monolog\Logger log level. Default : Logger::INFO - * @param Monolog\Logger $externalLogger - * Monolog\Logger instance, used by PaylineSDK but external to it + * \Monolog\Logger log level. Default : Logger::INFO + * @param Logger $externalLogger + * \Monolog\Logger instance, used by PaylineSDK but external to it */ public function __construct($merchant_id, $access_key, $proxy_host, $proxy_port, $proxy_login, $proxy_password, $environment, $pathLog = null, $logLevel = Logger::INFO, $externalLogger = null, $defaultTimezone = "Europe/Paris") { @@ -1337,7 +1337,7 @@ public function usedBy($toolName) } /** - * returns Monolog\Logger instance + * @return Logger \Monolog\Logger instance */ public function getLogger() { From 6d16e620a631ed19cc6db9e3cc027bfac9017567 Mon Sep 17 00:00:00 2001 From: Nicolas Rosset Date: Wed, 17 Jun 2020 15:44:10 +0200 Subject: [PATCH 2/7] Allow to customize waiting time when connecting to Payline servers --- src/Payline/PaylineSDK.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Payline/PaylineSDK.php b/src/Payline/PaylineSDK.php index 7ad1844..715e5b8 100644 --- a/src/Payline/PaylineSDK.php +++ b/src/Payline/PaylineSDK.php @@ -431,7 +431,7 @@ public function __construct($merchant_id, $access_key, $proxy_host, $proxy_port, } $this->soapclient_options['style'] = defined('SOAP_DOCUMENT') ? SOAP_DOCUMENT : 2; $this->soapclient_options['use'] = defined('SOAP_LITERAL') ? SOAP_LITERAL : 2; - $this->soapclient_options['connection_timeout'] = 5; + $this->soapclient_options['connection_timeout'] = defined('SOAP_CONNECTION_TIMEOUT') ? SOAP_CONNECTION_TIMEOUT : 5; $this->soapclient_options['trace'] = false; $this->soapclient_options['soap_client'] = false; if($plnInternal){ From af14a7e053d36b7e1c00f76a064fc754999aff29 Mon Sep 17 00:00:00 2001 From: Vincent Pietri Date: Tue, 24 Nov 2020 15:32:05 +0100 Subject: [PATCH 3/7] #22406: Update README --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7b57ba0..e2d9dd3 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Usage use Payline\PaylineSDK; // create an instance - $paylineSDK = new PaylineSDK($merchant_id, $access_key, $proxy_host, $proxy_port, $proxy_login, $proxy_password, $environment[, $pathLog= null[, $logLevel = Logger::INFO[, $externalLogger = null[, $defaultTimezone = "Europe/Paris"]]]]); + $paylineSDK = new PaylineSDK($merchant_id,$access_key, $proxy_host, $proxy_port, $proxy_login, $proxy_password, $environment[, $pathLog= null[, $logLevel = Logger::INFO[, $externalLogger = null[, $defaultTimezone = "Europe/Paris"]]]]); /* $merchant_id, the merchant identifier, has to be a string. $environment determines in which Payline environment your request are targeted. @@ -21,6 +21,11 @@ Usage // call a web service, for example doWebPayment $doWebPaymentRequest = array(); + + $doWebPaymentRequest['cancelURL'] = 'https://Demo_Shop.com/cancelURL.php'; + $doWebPaymentRequest['returnURL'] = 'https://Demo_Shop.com/returnURL.php'; + $doWebPaymentRequest['notificationURL'] = 'https://Demo_Shop.com/notificationURL.php'; + // PAYMENT $doWebPaymentRequest['payment']['amount'] = 1000; // this value has to be an integer amount is sent in cents From 8c90d97e3da8aa593491969cebf29e5b5d27ca4d Mon Sep 17 00:00:00 2001 From: neopheus Date: Mon, 30 Nov 2020 10:57:34 +0100 Subject: [PATCH 4/7] Support Php 7.4 - Fix PaylineByMonext/payline-php-sdk#62 array_key_exists() on objects is deprecated --- src/Payline/PaylineSDK.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Payline/PaylineSDK.php b/src/Payline/PaylineSDK.php index 7ad1844..5671a0b 100644 --- a/src/Payline/PaylineSDK.php +++ b/src/Payline/PaylineSDK.php @@ -504,7 +504,7 @@ protected function order(array $array) $order = new Order(); if ($array) { foreach ($array as $k => $v) { - if (array_key_exists($k, $order) && (strlen($v))) { + if (property_exists($order, $k) && (strlen($v))) { $order->$k = $v; } } @@ -526,7 +526,7 @@ protected function card(array $array) $card = new Card(); if ($array) { foreach ($array as $k => $v) { - if (array_key_exists($k, $card) && (strlen($v))) { + if (property_exists($card, $k) && (strlen($v))) { $card->$k = $v; } } @@ -556,7 +556,7 @@ protected function buyer(array $array, array $shippingAdress, array $billingAddr $buyer = new Buyer(); if ($array) { foreach ($array as $k => $v) { - if (array_key_exists($k, $buyer) && (strlen($v))) { + if (property_exists($buyer, $k) && (strlen($v))) { $buyer->$k = $v; } } @@ -607,7 +607,7 @@ protected function owner(array $array, array $addressOwner) $owner = new Owner(); if ($array) { foreach ($array as $k => $v) { - if (array_key_exists($k, $owner) && (strlen($v))) { + if (property_exists($owner, $k) && (strlen($v))) { $owner->$k = $v; } } @@ -671,7 +671,7 @@ protected function wallet(array $inWallet, array $address, array $card) $wallet = new Wallet(); if ($inWallet) { foreach ($inWallet as $k => $v) { - if (array_key_exists($k, $wallet) && (strlen($v))) { + if (property_exists($wallet, $k) && (strlen($v))) { $wallet->$k = $v; } } @@ -1374,7 +1374,7 @@ public function addOrderDetail(array $newOrderDetail) $orderDetail = new OrderDetail(); if ($newOrderDetail) { foreach ($newOrderDetail as $k => $v) { - if (array_key_exists($k, $orderDetail) && (strlen($v))) { + if (property_exists($orderDetail, $k) && (strlen($v))) { $orderDetail->$k = $v; } } @@ -1394,7 +1394,7 @@ public function addPrivateData(array $array) $private = new PrivateData(); if ($array) { foreach ($array as $k => $v) { - if (array_key_exists($k, $private) && (strlen($v))) { + if (property_exists($private, $k) && (strlen($v))) { $private->$k = $v; } } @@ -2470,7 +2470,7 @@ protected function buildSoapObject(array $array, $object, $typeName) { if ($array) { foreach ($array as $k => $v) { - if (array_key_exists($k, $object) && (strlen($v))) { + if (property_exists($object, $k) && (strlen($v))) { $object->$k = $v; } } From 821f904678cb16cba6726a88226e0da1a8af9115 Mon Sep 17 00:00:00 2001 From: Vincent Pietri Date: Wed, 6 Jan 2021 15:25:48 +0100 Subject: [PATCH 5/7] upgrade 4.64.1 --- CHANGELOG.md | 5 + src/Payline/Authorization.php | 5 +- src/Payline/PaylineSDK.php | 15 +- src/Payline/ThreeDSInfo.php | 2 + src/Payline/v4.52.wsdl | 3408 -------------- src/Payline/v4.59.wsdl | 4036 ----------------- .../DirectPaymentAPI.wsdl} | 583 ++- .../{v4.55.wsdl => wsdl/ExtendedAPI.wsdl} | 579 ++- .../{v4.54.wsdl => wsdl/WebPaymentAPI.wsdl} | 582 ++- 9 files changed, 1562 insertions(+), 7653 deletions(-) delete mode 100644 src/Payline/v4.52.wsdl delete mode 100644 src/Payline/v4.59.wsdl rename src/Payline/{v4.53.wsdl => wsdl/DirectPaymentAPI.wsdl} (85%) rename src/Payline/{v4.55.wsdl => wsdl/ExtendedAPI.wsdl} (85%) rename src/Payline/{v4.54.wsdl => wsdl/WebPaymentAPI.wsdl} (85%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c310a0..ee1b9ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +* 4.64.1 (2020-01-06) + * wsdl upgrade and split wsdl in three files + * new properties authorizedCurrency, authorizedAmount in Authorization + * new property challengeWindowSize in threeDSInfo + * 4.59 (2019-07-28) * wsdl upgrade * new threeDSInfo parameter for manageWebWallet and doWebPayment diff --git a/src/Payline/Authorization.php b/src/Payline/Authorization.php index 913bcf7..8515ca7 100644 --- a/src/Payline/Authorization.php +++ b/src/Payline/Authorization.php @@ -11,8 +11,11 @@ class Authorization { - public $number; public $date; + + public $authorizedAmount; + + public $authorizedCurrency; } \ No newline at end of file diff --git a/src/Payline/PaylineSDK.php b/src/Payline/PaylineSDK.php index 433f0a1..4c4dd00 100644 --- a/src/Payline/PaylineSDK.php +++ b/src/Payline/PaylineSDK.php @@ -39,13 +39,9 @@ class PaylineSDK /** * Payline release corresponding to this version of the package + * @see https://docs.payline.com/display/DT/API+version+history */ - const SDK_RELEASE = 'PHP SDK 4.59'; - - /** - * WSDL file name - */ - const WSDL = 'v4.59.wsdl'; + const SDK_RELEASE = 'PHP SDK 4.64.1'; /** * development environment flag @@ -966,6 +962,11 @@ private static function formatRequest(&$array) if (!isset($array['threeDSInfo'])) { $array['threeDSInfo'] = array(); } + if (!isset($array['updatePersonalDetails'])) { + $array['updatePersonalDetails'] = null; + } + + } /** @@ -993,7 +994,7 @@ protected function webServiceRequest(array $array, array $WSRequest, $PaylineAPI if ($this->soapclient_options['soap_client'] instanceof \SoapClient) { $client = $this->soapclient_options['soap_client']; } else { - $client = new SoapClient(__DIR__ . '/' . self::WSDL, $this->soapclient_options); + $client = new SoapClient(__DIR__ . '/wsdl/' . $PaylineAPI . '.wsdl', $this->soapclient_options); } $client->__setLocation($this->webServicesEndpoint . $PaylineAPI); diff --git a/src/Payline/ThreeDSInfo.php b/src/Payline/ThreeDSInfo.php index 2fe9518..7b473d8 100644 --- a/src/Payline/ThreeDSInfo.php +++ b/src/Payline/ThreeDSInfo.php @@ -25,5 +25,7 @@ class ThreeDSInfo { public $threeDSMethodNotificationURL; public $threeDSMethodResult; + + public $challengeWindowSize; } diff --git a/src/Payline/v4.52.wsdl b/src/Payline/v4.52.wsdl deleted file mode 100644 index 7c8a69f..0000000 --- a/src/Payline/v4.52.wsdl +++ /dev/null @@ -1,3408 +0,0 @@ - - - - - - - - - - This element is the request for the - doWebPayment - method - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This element is the reponse from the - doWebPayment - method - - - - - - - - - - - - - - - - - This element is the reponse from the - getWebPayment - method - - - - - - - - - - - - - This element is the reponse from the - doWebPayment - method - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This element is the request for the - doAuthorization - method - - - - - - - - - - - - - - - - - - - - - This element is the reponse from the - doAuthorization method - - - - - - - - - - - - - - - - - - This element is the request for the - doCapture method - - - - - - - - - - - - - - - - - This element is the reponse from the - doCapture - method - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This element is the request for the doRefund - method - - - - - - - - - - - - - - - - - - - This element is the reponse from the - doRefund method - - - - - - - - - - - - - This element is the request for the doReset - method - - - - - - - - - - - - - - - This element is the reponse from the doReset - method - - - - - - - - - - - - - This element is the request for the doCredit - method - - - - - - - - - - - - - - - - - - - - This element is the reponse from the - doCredit method - - - - - - - - - - - - - - - This element is the request for the - createWallet - method - - - - - - - - - - - - - - - - - - - - This element is the reponse from the - createWallet - method - - - - - - - - - - - - - - - - This element is the request for the - updateWallet - method - - - - - - - - - - - - - - - - - - - - - This element is the reponse from the - updateWallet - method - - - - - - - - - - - - - - - This element is the request for the - getWallet method - - - - - - - - - - - - - - - - This element is the reponse from the - getWallet - method - - - - - - - - - - - - - - - - - - - - This element is the request for the - getCards method - - - - - - - - - - - - - - - This element is the reponse from the - getCards method - - - - - - - - - - - - - - - This element is the request for the - disableWallet - method - - - - - - - - - - - - - - This element is the reponse from the - disableWallet - method - - - - - - - - - - - - - This element is the request for the - enableWallet - method - - - - - - - - - - - - - - This element is the reponse from the - enableWallet - method - - - - - - - - - - - - This element is the request for the - doImmediateWalletPayment method - - - - - - - - - - - - - - - - - - - - - This element is the reponse from the - doImmediateWalletPayment method - - - - - - - - - - - - - - This element is the request for the - doScheduledWalletPayment method - - - - - - - - - - - - - - - - - - - - - This element is the reponse from the - doScheduledWalletPayment method - - - - - - - - - - - - - This element is the request for the - doRecurrentWalletPayment method - - - - - - - - - - - - - - - - - - - - - - This element is the reponse from the - doRecurrentWalletPayment method - - - - - - - - - - - - - - This element is the request for the - getPaymentRecord method - - - - - - - - - - - - - - This element is the reponse from the - getPaymentRecord method - - - - - - - - - - - - - - - - - - - This element is the request for the - disablePaymentRecord method - - - - - - - - - - - - - This element is the reponse from the - disablePaymentRecord method - - - - - - - - - - - - This element is the request for the - manageWebWallet - method - - - - - - - - - - - - - - - - - - - - - - - - - - - This element is the reponse from the - manageWebWallet method - - - - - - - - - - - - - - This element is the request for the - createWebWallet - method - - - - - - - - - - - - - - - - - - - - - - - - - - This element is the reponse from the - createWebWallet method - - - - - - - - - - - - - - This element is the request for the - updateWebWallet - method - - - - - - - - - - - - - - - - - - - - - - - - - - - - This element is the reponse from the - updateWebWallet method - - - - - - - - - - - - - - This element is the request for the - getWebWallet - method - - - - - - - - - - - - - This element is the reponse from the - getWebWallet - method - - - - - - - - - - - - - - - - - - - This element is the request for the - getTransactionDetails method - - - - - - - - - - - - - - - - - - This element is the response for the - getTransactionDetails method - - - - - - - - - - - - - - - - - - - - - - - - - - This element is the request for the - transactionsSearch method - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This element is the response for the - transactionsSearch method - - - - - - - - - - - - - This element is the request for the - verifyEnrollment method - - - - - - - - - - - - - - - - - - - - - This element is the reponse from the - verifyEnrollment method - - - - - - - - - - - - - - - - - - - - - - - - This element is the request for the - doAuthentication method - - - - - - - - - - - - - - - - This element is the reponse from the - doAuthentication method - - - - - - - - - - - - - - This element is the request for the - doScoringCheque - method - - - - - - - - - - - - - - - - - This element is the reponse from the - doScoringCheque method - - - - - - - - - - - - - - This element is the request for the - getEncryptionKeyRequest method - - - - - - - - - This element is the reponse from the - getEncryptionKeyResponse method - - - - - - - - - - - - - This element is the request for the - doReAuthorization method - - - - - - - - - - - - - - - - - This element is the reponse from the - doReAuthorization method - - - - - - - - - - - - - - - This element is the request for the - getMerchantSettings method - - - - - - - - - - - - This element is the response from the - getMerchantSettings method - - - - - - - - - - - - - - - - - - - This element is the request for the - getBalance - method - - - - - - - - - - - - - - This element is the reponse from the - getBalance - method - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This element is the request for the doBankTransfer - method - - - - - - - - - - - - - - - - - This element is the reponse from the - doBankTransfer method - - - - - - - - - - - - - - - - This element contains information about the - process - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This element contains information about the - order - - - - - - - - - - - - - - - - - - - - - This element contains information about the - encryptionKey - - - - - - - - - - - - - This element contains an array of orderDetail - - - - - - - - - - - This element contains information about the - order - product - - - - - - - - - - - - - - - - - - - This element contains information about the - merchant - private data - - - - - - - - - - - This element contains information about the - transaction - - - - - - - - - - - - - - - - - - - - - - - This element contains information about the - fraud - result details - - - - - - - - - - - - This element contains information about the - payment - - - - - - - - - - - - - - - - - - This element contains information about the - authorization - - - - - - - - - - - This element contains information about the paymentData - - - - - - - - - - - - This element contains information about the card - - - - - - - - - - - - - - - - - - - - - This element contains information about the - buyer - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This element contains information about the - owner - - - - - - - - - - - - - This element contains information about the - address - - - - - - - - - - - - - - - - - - - - - - This element contains information about the - address - - - - - - - - - - - - - - This element contains information about the - capture - - - - - - - - - - - This element contains information about the - refund - - - - - - - - - - - This element contains the list of selected card - - - - - - - - - - An array of private data - - - - - - - - - - This element contains the result of the address verification service - - - - - - - - - - - An array of contract number of a wallet - - - - - - - - - - An array of cards - - - - - - - - - - This element contains element for recurring - operation - - - - - - - - - - - - - - - - - - This element contains element for update a recurring - operation - - - - - - - - - - - - - - This element contains element for a billing - record - - - - - - - - - - - - - - - - - An array of billing record - - - - - - - - - - - This element contains element for update a recurring - operation - - - - - - - - - - - - - - This element contains element for a wallet - - - - - - - - - - - - - - - - - - - This element contains element for a wallet - - - - - - - - - - - - - - - - - - - - - This element contains the list of selected card - - - - - - - - - - This element contains the list of selected card - - - - - - - - - - This element contains element for a 3DSecure - transaction - - - - - - - - - - - - - - - - - - - This element contains the merchant connection - parameters - - - - - - - - - - - - - - This element contains the scoring cheque parameters - - - - - - - - - - - - - This element contains information about Interlocutor - address - - - - - - - - - - - - - - - This element contains information about Interlocutor - - - - - - - - - - - - - - - - This element contains IBAN information - - - - - - - - - - - - - This element contains RIB information - - - - - - - - - - - - This element contains bankAccount information - - - - - - - - - - - - - This element contains bank Account information - - - - - - - - - - - - - This element contains technical data used to define - acquirer service - - - - - - - - - - - - This element contains all information about contract - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This element contains all information about - customPaymentPageCode - - - - - - - - - - - - This element contains information e-ticket - - - - - - - - - - - This element contains all information about point of - sell - - - - - - - Merchant Category Code - - - - - - - - - - - - - - - - - - - - list of contract - - - - - - - - - - - list of custom payment page code - - - - - - - - - - - - virtualTerminal - - - - - - http session timeout delay - - - - - path to logo - - - - - list of functions - - - - - - - - - - - - functions availbe in virtual terminal - - - - - - Please refer to Payline documentation - - - - - - - - - - - - - - - Value of parameter - - - - - Parameter ID. Refer to payline documentation - - - - - - - - - - - - This element contains information about the - cheque - - - - - - - - - - This element contains all information about - contrinution - - - - - - - - - - - - - - - This element contains information about the - associated transactions - - - - - - - - - - - - - - - - An array of associatedTransactions - - - - - - - - - - - This element contains information about the - status - History - - - - - - - - - - - - - - - - An array of statusHistory - - - - - - - - - - This element contains information about the - paymentAdditional - - - - - - - - - - - - - - - - An array of paymentAdditionalList - - - - - - - - - - - An array of CustomerTrans - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - An array of PaymentMeansTrans - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - An array of AlertsTrans - - - - - - - - - - - - - - - - - - - - - - - - - - - - This element contains information about the - creditor - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Payline/v4.59.wsdl b/src/Payline/v4.59.wsdl deleted file mode 100644 index 8a6c1f2..0000000 --- a/src/Payline/v4.59.wsdl +++ /dev/null @@ -1,4036 +0,0 @@ - - - - - - - - - - This element is the request for the - doWebPayment - method - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This element is the reponse from the - doWebPayment - method - - - - - - - - - - - - - - - - - This element is the reponse from the - getWebPayment - method - - - - - - - - - - - - - This element is the reponse from the - doWebPayment - method - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This element is the request for the - doAuthorization - method - - - - - - - - - - - - - - - - - - - - - - - - - - This element is the reponse from the - doAuthorization method - - - - - - - - - - - - - - - - - - - - - This element is the request for the - doCapture method - - - - - - - - - - - - - - - - - This element is the reponse from the - doCapture - method - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This element is the request for the doRefund - method - - - - - - - - - - - - - - - - - - - This element is the reponse from the - doRefund method - - - - - - - - - - - - - This element is the request for the doReset - method - - - - - - - - - - - - - - - This element is the reponse from the doReset - method - - - - - - - - - - - - - This element is the request for the doCredit - method - - - - - - - - - - - - - - - - - - - - - This element is the reponse from the - doCredit method - - - - - - - - - - - - - - - - This element is the request for the - createWallet - method - - - - - - - - - - - - - - - - - - - - This element is the reponse from the - createWallet - method - - - - - - - - - - - - - - - - This element is the request for the - updateWallet - method - - - - - - - - - - - - - - - - - - - - - This element is the reponse from the - updateWallet - method - - - - - - - - - - - - - - - This element is the request for the - getWallet method - - - - - - - - - - - - - - - - This element is the reponse from the - getWallet - method - - - - - - - - - - - - - - - - - - - - This element is the request for the - getCards method - - - - - - - - - - - - - - - This element is the reponse from the - getCards method - - - - - - - - - - - - - - - This element is the request for the - disableWallet - method - - - - - - - - - - - - - - This element is the reponse from the - disableWallet - method - - - - - - - - - - - - - This element is the request for the - enableWallet - method - - - - - - - - - - - - - - This element is the reponse from the - enableWallet - method - - - - - - - - - - - - This element is the request for the - doImmediateWalletPayment method - - - - - - - - - - - - - - - - - - - - - - This element is the reponse from the - doImmediateWalletPayment method - - - - - - - - - - - - - - This element is the request for the - doScheduledWalletPayment method - - - - - - - - - - - - - - - - - - - - - - This element is the reponse from the - doScheduledWalletPayment method - - - - - - - - - - - - - This element is the request for the - doRecurrentWalletPayment method - - - - - - - - - - - - - - - - - - - - - - This element is the reponse from the - doRecurrentWalletPayment method - - - - - - - - - - - - - - This element is the request for the - getPaymentRecord method - - - - - - - - - - - - - - This element is the reponse from the - getPaymentRecord method - - - - - - - - - - - - - - - - - - - This element is the request for the - disablePaymentRecord method - - - - - - - - - - - - - This element is the reponse from the - disablePaymentRecord method - - - - - - - - - - - - This element is the request for the - manageWebWallet - method - - - - - - - - - - - - - - - - - - - - - - - - - - - - This element is the reponse from the - manageWebWallet method - - - - - - - - - - - - - - This element is the request for the - createWebWallet - method - - - - - - - - - - - - - - - - - - - - - - - - - - This element is the reponse from the - createWebWallet method - - - - - - - - - - - - - - This element is the request for the - updateWebWallet - method - - - - - - - - - - - - - - - - - - - - - - - - - - - - This element is the reponse from the - updateWebWallet method - - - - - - - - - - - - - - This element is the request for the - getWebWallet - method - - - - - - - - - - - - - This element is the reponse from the - getWebWallet - method - - - - - - - - - - - - - - - - - - - This element is the request for the - doAuthorizationRedirect - method - - - - - - - - - - - - - - - - - - - - - - - - - - - - This element is the reponse from the - doAuthorizationRedirect - method - - - - - - - - - - - - - This element is the request for the - getTransactionDetails method - - - - - - - - - - - - - - - - - - This element is the response for the - getTransactionDetails method - - - - - - - - - - - - - - - - - - - - - - - - - - - This element is the request for the - transactionsSearch method - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This element is the response for the - transactionsSearch method - - - - - - - - - - - - - This element is the request for the - verifyEnrollment method - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This element is the reponse from the - verifyEnrollment method - - - - - - - - - - - - - - - - - - - - - - - - - - This element is the request for the - doAuthentication method - - - - - - - - - - - - - - - - - - This element is the reponse from the - doAuthentication method - - - - - - - - - - - - - - - - This element is the request for the - createMerchant - method - - - - - - - - currency in ISO 4217 numeric format - - - - - - - - - - - unique national merchant ID - - - - - - Systeme d identification du Repertoire des - ENtreprises - - - - - - - - - - - to use if country is not France - - - - - - - - - Payline Distributor ID - - - - - - - - - list of point of sell - - - - - - - - - - Billing partner. 1:monext, 2:cetib, 3:payline.com - - - - - - - - - - - This element is the reponse from the - createMerchant - method - - - - - - - - - - - - - This element is the request for the - doScoringCheque - method - - - - - - - - - - - - - - - - - This element is the reponse from the - doScoringCheque method - - - - - - - - - - - - - - This element is the request for the - getEncryptionKeyRequest method - - - - - - - - - - - - This element is the reponse from the - getEncryptionKeyResponse method - - - - - - - - - - - - - This element is the request for the - doReAuthorization method - - - - - - - - - - - - - - - - - This element is the reponse from the - doReAuthorization method - - - - - - - - - - - - - - - This element is the request for the - getMerchantSettings method - - - - - - - - - - - - This element is the response from the - getMerchantSettings method - - - - - - - - - - - - - - - - - - - This element is the request for the - getBalance - method - - - - - - - - - - - - - - This element is the reponse from the - getBalance - method - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This element is the request for the doBankTransfer - method - - - - - - - - - - - - - - - - - This element is the reponse from the - doBankTransfer method - - - - - - - - - - - - - - This element is the request for the - isRegistered method - - - - - - - - - - - - - - - - - This element is the reponse from the - isRegistered method - - - - - - - - - - - - - - - - This element contains information about the - process - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This element contains information about the - order - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This element contains information about the - encryptionKey - - - - - - - - - - - - - - - - - This element contains an array of orderDetail - - - - - - - - - - - This element contains information about the - order - product - - - - - - - - - - - - - - - - - - - - - This element contains information about the - merchant - private data - - - - - - - - - - - This element contains information about the - transaction - - - - - - - - - - - - - - - - - - - - - - - - This element contains information about the - scoring - - - - - - - - - - - - - - This element contains information about the - fraud - result details - - - - - - - - - - - - This element contains information about the - payment - - - - - - - - - - - - - - - - - - - - This element contains information about the - authorization - - - - - - - - - - - This element contains information about the paymentData - - - - - - - - - - - - This element contains information about the card - - - - - - - - - - - - - - - - - - - - - This element contains information about the - buyer - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This element contains information about the - owner - - - - - - - - - - - - - This element contains information about the - address - - - - - - - - - - - - - - - - - - - - - - - - - This element contains information about the - address - - - - - - - - - - - - - - This element contains information about the - capture - - - - - - - - - - - This element contains information about the - refund - - - - - - - - - - - This element contains the list of selected card - - - - - - - - - - An array of private data - - - - - - - - - - - This element contains the result of the address verification service - - - - - - - - - - - - An array of contract number of a wallet - - - - - - - - - - An array of cards - - - - - - - - - - An array of authorization to capture - - - - - - - - - - An array of authorization to refund - - - - - - - - - - An array of authorization to reset - - - - - - - - - - An array of mass element failed - - - - - - - - - - This element contains failedObject - - - - - - - - - - - This element contains element for recurring - operation - - - - - - - - - - - - - - - - - - - This element contains element for update a recurring - operation - - - - - - - - - - - - - - This element contains element for a billing - record - - - - - - - - - - - - - - - - - An array of billing record - - - - - - - - - - - This element contains element for update a recurring - operation - - - - - - - - - - - - - - This element contains element for a wallet - - - - - - - - - - - - - - - - - - - This element contains element for a wallet - - - - - - - - - - - - - - - - - - - - - This element contains the list of selected card - - - - - - - - - - This element contains the list of selected card - - - - - - - - - - This element contains element for a 3DSecure - transaction - - - - - - - - - - - - - - - - - - - - - This element contains the merchant connection - parameters - - - - - - - - - - - - - - This element contains the scoring cheque parameters - - - - - - - - - - - - - This element contains information about Interlocutor - address - - - - - - - - - - - - - - - This element contains information about Interlocutor - - - - - - - - - - - - - - - - An array of subscribed options - - - - - - - - - - - - This element contains information about the payline - package subscribed by the merchant - - - - - - - - - - - This element contains IBAN information - - - - - - - - - - - - - This element contains RIB information - - - - - - - - - - - - This element contains bankAccount information - - - - - - - - - - - - - This element contains bank Account information - - - - - - - - - - - - - This element contains technical data used to define - acquirer service - - - - - - - - - - - - This element contains all information about contract - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This element contains all information about - customPaymentPageCode - - - - - - - - - - - - This element contains information e-ticket - - - - - - - - - - - This element contains all information about point of - sell - - - - - - - Merchant Category Code - - - - - - - - - - - - - - - - - - - - list of contract - - - - - - - - - - - list of custom payment page code - - - - - - - - - - - - virtualTerminal - - - - - - http session timeout delay - - - - - path to logo - - - - - list of functions - - - - - - - - - - - - functions availbe in virtual terminal - - - - - - Please refer to Payline documentation - - - - - - - - - - - - - - - Value of parameter - - - - - Parameter ID. Refer to payline documentation - - - - - - - - - - - - This element contains information about the - cheque - - - - - - - - - - This element contains all information about - contrinution - - - - - - - - - - - - - - - This element contains information about the - associated transactions - - - - - - - - - - - - - - - - An array of associatedTransactions - - - - - - - - - - - This element contains information about the - status - History - - - - - - - - - - - - - - - - An array of statusHistory - - - - - - - - - - This element contains information about the - paymentAdditional - - - - - - - - - - - - - - - - An array of paymentAdditionalList - - - - - - - - - - - An array of CustomerTrans - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - An array of PaymentMeansTrans - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - An array of AlertsTrans - - - - - - - - - - - - - - - - - - - - - - - - - - - - This element contains information about the - creditor - - - - - - - - - - - - - This element contains information about a subMerchant associated with a Payment Facilitator - - - - - - - - - - - - - - - - - - - - - This element contains information about 3DS. - - - - - - - - - - - - - - - - - This element contains information about Browser. - - - - - - - - - - - - - - - - - - This element contains information about SDK. - - - - - - - - - - - - - - - - This element contains information about SDK. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/Payline/v4.53.wsdl b/src/Payline/wsdl/DirectPaymentAPI.wsdl similarity index 85% rename from src/Payline/v4.53.wsdl rename to src/Payline/wsdl/DirectPaymentAPI.wsdl index 19261c7..ea656c7 100644 --- a/src/Payline/v4.53.wsdl +++ b/src/Payline/wsdl/DirectPaymentAPI.wsdl @@ -24,7 +24,7 @@ - + @@ -33,6 +33,9 @@ + + + @@ -47,8 +50,8 @@ - - + + @@ -99,6 +102,8 @@ + + @@ -112,6 +117,7 @@ + @@ -123,6 +129,9 @@ + + + @@ -135,6 +144,7 @@ + @@ -142,7 +152,9 @@ - + + + @@ -253,6 +265,10 @@ + + + + @@ -308,6 +324,7 @@ + @@ -327,6 +344,7 @@ + @@ -368,6 +386,7 @@ + @@ -536,10 +555,12 @@ + + @@ -555,6 +576,8 @@ + + @@ -575,9 +598,12 @@ + + + @@ -721,6 +747,7 @@ + @@ -863,6 +890,51 @@ + + + + + This element is the request for the + doAuthorizationRedirect + method + + + + + + + + + + + + + + + + + + + + + + + + + + + + This element is the reponse from the + doAuthorizationRedirect + method + + + + + + + + @@ -903,10 +975,15 @@ + + + + + @@ -922,8 +999,8 @@ - - + + @@ -939,6 +1016,10 @@ + + + + @@ -965,6 +1046,7 @@ + @@ -976,6 +1058,13 @@ + + + + + + + @@ -988,6 +1077,7 @@ + @@ -1001,6 +1091,7 @@ + @@ -1013,11 +1104,13 @@ + - + + @@ -1030,9 +1123,104 @@ + + + + + + + + + + This element is the request for the + createMerchant + method + + + + + + + + currency in ISO 4217 numeric format + + + + + + + + + + + unique national merchant ID + + + + + + Systeme d identification du Repertoire des + ENtreprises + + + + + + + + + + + to use if country is not France + + + + + + + + + Payline Distributor ID + + + + + + + + + list of point of sell + + + + + + + + + + Billing partner. 1:monext, 2:cetib, 3:payline.com + + + + + + + + + + + This element is the reponse from the + createMerchant + method + + + + + @@ -1078,6 +1266,9 @@ getEncryptionKeyRequest method + + + @@ -1204,9 +1395,9 @@ - + - + @@ -1301,11 +1492,11 @@ - + - + @@ -1329,7 +1520,7 @@ - + @@ -1353,7 +1544,7 @@ - + @@ -1364,7 +1555,7 @@ - + @@ -1379,7 +1570,7 @@ - + @@ -1395,6 +1586,7 @@ + @@ -1409,6 +1601,7 @@ + @@ -1427,6 +1620,7 @@ + @@ -1445,7 +1639,7 @@ - + @@ -1470,6 +1664,7 @@ + @@ -1484,7 +1679,7 @@ - + This element contains information about the @@ -1505,6 +1700,13 @@ + + + + + + + @@ -1519,7 +1721,11 @@ - + + + + + @@ -1551,6 +1757,8 @@ + + @@ -1584,10 +1792,33 @@ + - + + + + + + + + + + + + + + This element contains information about the + scoring + + + + + + + + @@ -1616,12 +1847,13 @@ - + - + + @@ -1634,6 +1866,8 @@ + + @@ -1666,7 +1900,7 @@ - + @@ -1705,7 +1939,9 @@ - + + + @@ -1736,6 +1972,7 @@ + @@ -1743,6 +1980,8 @@ + + @@ -1806,18 +2045,18 @@ - - - This element contains the result of the address verification service - - - - - - - + + + This element contains the result of the address verification service + + + + + + + - + An array of contract number of a wallet @@ -1837,6 +2076,57 @@ + + + + An array of authorization to capture + + + + + + + + + + An array of authorization to refund + + + + + + + + + + An array of authorization to reset + + + + + + + + + + An array of mass element failed + + + + + + + + + + This element contains failedObject + + + + + + + @@ -1854,6 +2144,7 @@ + @@ -1899,7 +2190,7 @@ - + @@ -1914,7 +2205,7 @@ - + @@ -1993,6 +2284,8 @@ + + @@ -2055,6 +2348,30 @@ + + + + An array of subscribed options + + + + + + + + + + + + This element contains information about the payline + package subscribed by the merchant + + + + + + + @@ -2197,6 +2514,7 @@ + @@ -2239,6 +2557,7 @@ + @@ -2347,6 +2666,7 @@ + @@ -2376,6 +2696,10 @@ + + + + @@ -2389,22 +2713,22 @@ - - - - This element contains information about the - paymentAdditional - - - - - - - - - - - + + + + This element contains information about the + paymentAdditional + + + + + + + + + + + @@ -2544,6 +2868,95 @@ + + + + This element contains information about the customer media + + + + + + + + + + + + + + This element contains information about a routingRule associated with a Payment Facilitator + + + + + + + + + + + + This element contains information about 3DS. + + + + + + + + + + + + + + + + + + This element contains information about Browser. + + + + + + + + + + + + + + + + + + This element contains information about SDK. + + + + + + + + + + + + + + + + This element contains information about SDK. + + + + + + + @@ -2558,6 +2971,10 @@ + + + + @@ -2630,6 +3047,10 @@ + + + + @@ -2702,10 +3123,18 @@ + + + + + + + + @@ -2903,6 +3332,12 @@ + + + + + + @@ -3025,6 +3460,12 @@ + + + + + + @@ -3294,6 +3735,15 @@ + + + + + + + + + @@ -3450,6 +3900,15 @@ + + + + + + + + + @@ -3481,19 +3940,9 @@ - - - - - - - - - - - - - - - + + + + + diff --git a/src/Payline/v4.55.wsdl b/src/Payline/wsdl/ExtendedAPI.wsdl similarity index 85% rename from src/Payline/v4.55.wsdl rename to src/Payline/wsdl/ExtendedAPI.wsdl index c6613b5..ae16dc0 100644 --- a/src/Payline/v4.55.wsdl +++ b/src/Payline/wsdl/ExtendedAPI.wsdl @@ -24,7 +24,7 @@ - + @@ -34,6 +34,8 @@ + + @@ -48,8 +50,8 @@ - - + + @@ -101,6 +103,7 @@ + @@ -114,6 +117,7 @@ + @@ -126,6 +130,8 @@ + + @@ -138,6 +144,7 @@ + @@ -145,7 +152,9 @@ - + + + @@ -256,6 +265,10 @@ + + + + @@ -311,6 +324,7 @@ + @@ -330,6 +344,7 @@ + @@ -371,6 +386,7 @@ + @@ -539,10 +555,12 @@ + + @@ -558,6 +576,8 @@ + + @@ -578,9 +598,12 @@ + + + @@ -724,6 +747,7 @@ + @@ -866,6 +890,51 @@ + + + + + This element is the request for the + doAuthorizationRedirect + method + + + + + + + + + + + + + + + + + + + + + + + + + + + + This element is the reponse from the + doAuthorizationRedirect + method + + + + + + + + @@ -906,10 +975,15 @@ + + + + + @@ -925,8 +999,8 @@ - - + + @@ -942,6 +1016,10 @@ + + + + @@ -968,6 +1046,7 @@ + @@ -979,6 +1058,13 @@ + + + + + + + @@ -991,6 +1077,7 @@ + @@ -1004,6 +1091,7 @@ + @@ -1016,11 +1104,13 @@ + - + + @@ -1033,9 +1123,104 @@ + + + + + + + + + + This element is the request for the + createMerchant + method + + + + + + + + currency in ISO 4217 numeric format + + + + + + + + + + + unique national merchant ID + + + + + + Systeme d identification du Repertoire des + ENtreprises + + + + + + + + + + + to use if country is not France + + + + + + + + + Payline Distributor ID + + + + + + + + + list of point of sell + + + + + + + + + + Billing partner. 1:monext, 2:cetib, 3:payline.com + + + + + + + + + + + This element is the reponse from the + createMerchant + method + + + + + @@ -1081,6 +1266,9 @@ getEncryptionKeyRequest method + + + @@ -1207,9 +1395,9 @@ - + - + @@ -1304,11 +1492,11 @@ - + - + @@ -1332,7 +1520,7 @@ - + @@ -1356,7 +1544,7 @@ - + @@ -1367,7 +1555,7 @@ - + @@ -1382,7 +1570,7 @@ - + @@ -1398,6 +1586,7 @@ + @@ -1412,6 +1601,7 @@ + @@ -1449,7 +1639,7 @@ - + @@ -1474,6 +1664,7 @@ + @@ -1488,7 +1679,7 @@ - + This element contains information about the @@ -1509,6 +1700,13 @@ + + + + + + + @@ -1523,7 +1721,11 @@ - + + + + + @@ -1555,6 +1757,8 @@ + + @@ -1588,10 +1792,33 @@ + - + + + + + + + + + + + + + + This element contains information about the + scoring + + + + + + + + @@ -1620,12 +1847,13 @@ - + - + + @@ -1638,6 +1866,8 @@ + + @@ -1670,7 +1900,7 @@ - + @@ -1709,7 +1939,9 @@ - + + + @@ -1740,6 +1972,7 @@ + @@ -1747,6 +1980,8 @@ + + @@ -1810,18 +2045,18 @@ - - - This element contains the result of the address verification service - - - - - - - + + + This element contains the result of the address verification service + + + + + + + - + An array of contract number of a wallet @@ -1841,6 +2076,57 @@ + + + + An array of authorization to capture + + + + + + + + + + An array of authorization to refund + + + + + + + + + + An array of authorization to reset + + + + + + + + + + An array of mass element failed + + + + + + + + + + This element contains failedObject + + + + + + + @@ -1858,6 +2144,7 @@ + @@ -1903,7 +2190,7 @@ - + @@ -1918,7 +2205,7 @@ - + @@ -1997,6 +2284,8 @@ + + @@ -2059,6 +2348,30 @@ + + + + An array of subscribed options + + + + + + + + + + + + This element contains information about the payline + package subscribed by the merchant + + + + + + + @@ -2201,6 +2514,7 @@ + @@ -2243,6 +2557,7 @@ + @@ -2351,6 +2666,7 @@ + @@ -2380,6 +2696,10 @@ + + + + @@ -2393,22 +2713,22 @@ - - - - This element contains information about the - paymentAdditional - - - - - - - - - - - + + + + This element contains information about the + paymentAdditional + + + + + + + + + + + @@ -2548,6 +2868,95 @@ + + + + This element contains information about the customer media + + + + + + + + + + + + + + This element contains information about a routingRule associated with a Payment Facilitator + + + + + + + + + + + + This element contains information about 3DS. + + + + + + + + + + + + + + + + + + This element contains information about Browser. + + + + + + + + + + + + + + + + + + This element contains information about SDK. + + + + + + + + + + + + + + + + This element contains information about SDK. + + + + + + + @@ -2562,6 +2971,10 @@ + + + + @@ -2634,6 +3047,10 @@ + + + + @@ -2706,10 +3123,18 @@ + + + + + + + + @@ -2907,6 +3332,12 @@ + + + + + + @@ -3029,6 +3460,12 @@ + + + + + + @@ -3298,6 +3735,15 @@ + + + + + + + + + @@ -3454,6 +3900,15 @@ + + + + + + + + + @@ -3485,19 +3940,9 @@ - - - - - - - - - - - - - - - + + + + + diff --git a/src/Payline/v4.54.wsdl b/src/Payline/wsdl/WebPaymentAPI.wsdl similarity index 85% rename from src/Payline/v4.54.wsdl rename to src/Payline/wsdl/WebPaymentAPI.wsdl index b241192..9482493 100644 --- a/src/Payline/v4.54.wsdl +++ b/src/Payline/wsdl/WebPaymentAPI.wsdl @@ -24,7 +24,7 @@ - + @@ -33,6 +33,9 @@ + + + @@ -47,8 +50,8 @@ - - + + @@ -99,6 +102,8 @@ + + @@ -112,6 +117,7 @@ + @@ -123,6 +129,9 @@ + + + @@ -135,6 +144,7 @@ + @@ -142,7 +152,9 @@ - + + + @@ -253,6 +265,10 @@ + + + + @@ -308,6 +324,7 @@ + @@ -327,6 +344,7 @@ + @@ -368,6 +386,7 @@ + @@ -536,10 +555,12 @@ + + @@ -555,6 +576,8 @@ + + @@ -575,9 +598,12 @@ + + + @@ -721,6 +747,7 @@ + @@ -863,6 +890,51 @@ + + + + + This element is the request for the + doAuthorizationRedirect + method + + + + + + + + + + + + + + + + + + + + + + + + + + + + This element is the reponse from the + doAuthorizationRedirect + method + + + + + + + + @@ -903,10 +975,15 @@ + + + + + @@ -922,8 +999,8 @@ - - + + @@ -939,6 +1016,10 @@ + + + + @@ -965,6 +1046,7 @@ + @@ -976,6 +1058,13 @@ + + + + + + + @@ -988,6 +1077,7 @@ + @@ -1001,6 +1091,7 @@ + @@ -1013,11 +1104,13 @@ + - + + @@ -1030,9 +1123,104 @@ + + + + + + + + + + This element is the request for the + createMerchant + method + + + + + + + + currency in ISO 4217 numeric format + + + + + + + + + + + unique national merchant ID + + + + + + Systeme d identification du Repertoire des + ENtreprises + + + + + + + + + + + to use if country is not France + + + + + + + + + Payline Distributor ID + + + + + + + + + list of point of sell + + + + + + + + + + Billing partner. 1:monext, 2:cetib, 3:payline.com + + + + + + + + + + + This element is the reponse from the + createMerchant + method + + + + + @@ -1078,6 +1266,9 @@ getEncryptionKeyRequest method + + + @@ -1204,9 +1395,9 @@ - + - + @@ -1301,11 +1492,11 @@ - + - + @@ -1329,7 +1520,7 @@ - + @@ -1353,7 +1544,7 @@ - + @@ -1364,7 +1555,7 @@ - + @@ -1379,7 +1570,7 @@ - + @@ -1395,6 +1586,7 @@ + @@ -1409,6 +1601,7 @@ + @@ -1446,7 +1639,7 @@ - + @@ -1471,6 +1664,7 @@ + @@ -1485,7 +1679,7 @@ - + This element contains information about the @@ -1506,6 +1700,13 @@ + + + + + + + @@ -1520,7 +1721,11 @@ - + + + + + @@ -1552,6 +1757,8 @@ + + @@ -1585,10 +1792,33 @@ + - + + + + + + + + + + + + + + This element contains information about the + scoring + + + + + + + + @@ -1617,12 +1847,13 @@ - + - + + @@ -1635,6 +1866,8 @@ + + @@ -1667,7 +1900,7 @@ - + @@ -1706,7 +1939,9 @@ - + + + @@ -1737,6 +1972,7 @@ + @@ -1744,6 +1980,8 @@ + + @@ -1807,18 +2045,18 @@ - - - This element contains the result of the address verification service - - - - - - - + + + This element contains the result of the address verification service + + + + + + + - + An array of contract number of a wallet @@ -1838,6 +2076,57 @@ + + + + An array of authorization to capture + + + + + + + + + + An array of authorization to refund + + + + + + + + + + An array of authorization to reset + + + + + + + + + + An array of mass element failed + + + + + + + + + + This element contains failedObject + + + + + + + @@ -1855,6 +2144,7 @@ + @@ -1900,7 +2190,7 @@ - + @@ -1915,7 +2205,7 @@ - + @@ -1994,6 +2284,8 @@ + + @@ -2056,6 +2348,30 @@ + + + + An array of subscribed options + + + + + + + + + + + + This element contains information about the payline + package subscribed by the merchant + + + + + + + @@ -2198,6 +2514,7 @@ + @@ -2240,6 +2557,7 @@ + @@ -2348,6 +2666,7 @@ + @@ -2377,6 +2696,10 @@ + + + + @@ -2390,22 +2713,22 @@ - - - - This element contains information about the - paymentAdditional - - - - - - - - - - - + + + + This element contains information about the + paymentAdditional + + + + + + + + + + + @@ -2545,6 +2868,95 @@ + + + + This element contains information about the customer media + + + + + + + + + + + + + + This element contains information about a routingRule associated with a Payment Facilitator + + + + + + + + + + + + This element contains information about 3DS. + + + + + + + + + + + + + + + + + + This element contains information about Browser. + + + + + + + + + + + + + + + + + + This element contains information about SDK. + + + + + + + + + + + + + + + + This element contains information about SDK. + + + + + + + @@ -2559,6 +2971,10 @@ + + + + @@ -2631,6 +3047,10 @@ + + + + @@ -2703,10 +3123,18 @@ + + + + + + + + @@ -2904,6 +3332,12 @@ + + + + + + @@ -3026,6 +3460,12 @@ + + + + + + @@ -3295,6 +3735,15 @@ + + + + + + + + + @@ -3451,6 +3900,15 @@ + + + + + + + + + @@ -3482,19 +3940,9 @@ - - - - - - - - - - - - - - - + + + + + From ddbf9af524f53caefd6a0884a3490918b05a7e13 Mon Sep 17 00:00:00 2001 From: Vincent Pietri Date: Wed, 6 Jan 2021 16:11:17 +0100 Subject: [PATCH 6/7] Fix property_exists on ThreeDSInfo --- src/Payline/PaylineSDK.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Payline/PaylineSDK.php b/src/Payline/PaylineSDK.php index 4c4dd00..2ca642a 100644 --- a/src/Payline/PaylineSDK.php +++ b/src/Payline/PaylineSDK.php @@ -751,11 +751,12 @@ protected function subMerchant(array $array) * the array keys liste in Sdk CLASS. * @return SoapVar representation of ThreeDSInfo instance */ - protected function threeDSInfo(array $array, array $arrayBrowser, array $arraySdk) { + protected function threeDSInfo(array $array, array $arrayBrowser, array $arraySdk) + { $threeDSInfo = new ThreeDSInfo(); if ($array) { foreach ($array as $k => $v) { - if (array_key_exists($k, $array) && (strlen($v))) { + if (property_exists($threeDSInfo, $k) && (strlen($v))) { $threeDSInfo->$k = $v; } } From d9cb854f683df8b7f49da1ede71ec7dc1fa8c281 Mon Sep 17 00:00:00 2001 From: Vincent Pietri Date: Wed, 6 Jan 2021 16:21:58 +0100 Subject: [PATCH 7/7] Update CHANGELOG.md --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ee1b9ce..4242031 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ * wsdl upgrade and split wsdl in three files * new properties authorizedCurrency, authorizedAmount in Authorization * new property challengeWindowSize in threeDSInfo + * new property challengeWindowSize in threeDSInfo + * support php 7.4 replace array_key_exists by property_exists on object + * allow to customize waiting time when connecting to Payline servers + * format request for UpdateWallet call + * fix phpdoc for logger * 4.59 (2019-07-28) * wsdl upgrade