From ba2d6a3bd903daf29ce5b5a67dbba7f62a4b721d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charl=C3=A9lie=20Bouvier?= Date: Sat, 7 Sep 2019 09:24:56 +0200 Subject: [PATCH] V4.59 --- examples/arraySet/authentication3DSecure.php | 4 +- examples/arraySet/buyer.php | 9 ++++ examples/arraySet/order.php | 6 ++- examples/arraySet/payment.php | 1 + examples/arraySet/recurring.php | 4 +- examples/arraySet/threeDSInfo.php | 27 +++++++++++ examples/direct/verifyEnrollment.php | 7 +++ examples/direct/verifyEnrollmentForm.php | 6 +++ examples/fieldset/authentication3DSecure.php | 10 +++- examples/fieldset/browser.php | 41 ++++++++++++++++ examples/fieldset/buyer.php | 49 ++++++++++++++++++-- examples/fieldset/order.php | 49 +++++++++++++++++++- examples/fieldset/payment.php | 7 ++- examples/fieldset/recurring.php | 4 ++ examples/fieldset/sdk.php | 33 +++++++++++++ examples/fieldset/threeDSInfo.php | 32 +++++++++++++ examples/index/configuration.php | 8 +++- examples/index/updateConfig.php | 40 ++++++++++++---- examples/wallet/manageWebWallet.php | 2 +- examples/wallet/manageWebWalletForm.php | 3 +- examples/web/doWebPayment.php | 3 +- examples/web/doWebPaymentForm.php | 3 +- lib/CONFIG.php | 21 +++++++++ 23 files changed, 344 insertions(+), 25 deletions(-) create mode 100644 examples/arraySet/threeDSInfo.php create mode 100644 examples/fieldset/browser.php create mode 100644 examples/fieldset/sdk.php create mode 100644 examples/fieldset/threeDSInfo.php diff --git a/examples/arraySet/authentication3DSecure.php b/examples/arraySet/authentication3DSecure.php index 3e62764..7817f82 100644 --- a/examples/arraySet/authentication3DSecure.php +++ b/examples/arraySet/authentication3DSecure.php @@ -7,4 +7,6 @@ $array['3DSecure']['cavv'] = $_POST['cavv']; $array['3DSecure']['cavvAlgorithm'] = $_POST['cavvAlgorithm']; $array['3DSecure']['vadsResult'] = $_POST['vadsResult']; -$array['3DSecure']['typeSecurisation'] = $_POST['typeSecurisation']; +$array['3DSecure']['typeSecurisation'] = $_POST['typeSecurisation']; +$array['3DSecure']['resultContainer'] = $_POST['resultContainer']; +$array['3DSecure']['authenticationResult'] = $_POST['authenticationResult']; diff --git a/examples/arraySet/buyer.php b/examples/arraySet/buyer.php index 6efe63f..0472848 100644 --- a/examples/arraySet/buyer.php +++ b/examples/arraySet/buyer.php @@ -26,6 +26,9 @@ $array['buyer']['isEmulator'] = $_POST['isEmulator']; $array['buyer']['isRooted'] = $_POST['isRooted']; $array['buyer']['hasTimezoneMismatch'] = $_POST['hasTimezoneMismatch']; +$array['buyer']['buyerExtended'] = $_POST['buyerExtended']; +$array['buyer']['merchantAuthentication'] = $_POST['merchantAuthentication']; +$array['buyer']['loyaltyMemberType'] = $_POST['loyaltyMemberType']; // BILLING ADDRESS $array['billingAddress']['title'] = $_POST['billingAddressTitle']; @@ -41,6 +44,9 @@ $array['billingAddress']['state'] = $_POST['billingAddressState']; $array['billingAddress']['phoneType'] = $_POST['billingAddressPhoneType']; $array['billingAddress']['phone'] = $_POST['billingAddressPhone']; +$array['billingAddress']['streetNumber'] = $_POST['billingStreetNumber']; +$array['billingAddress']['addressCreateDate'] = $_POST['billingAddressCreateDate']; +$array['billingAddress']['email'] = $_POST['billingEmail']; // SHIPPING ADDRESS $array['shippingAddress']['title'] = $_POST['shippingAddressTitle']; @@ -56,3 +62,6 @@ $array['shippingAddress']['state'] = $_POST['shippingAddressState']; $array['shippingAddress']['phoneType'] = $_POST['shippingAddressPhoneType']; $array['shippingAddress']['phone'] = $_POST['shippingAddressPhone']; +$array['billingAddress']['streetNumber'] = $_POST['shippingStreetNumber']; +$array['billingAddress']['addressCreateDate'] = $_POST['shippingAddressCreateDate']; +$array['billingAddress']['email'] = $_POST['shippingEmail']; diff --git a/examples/arraySet/order.php b/examples/arraySet/order.php index 3014e01..ebe3668 100644 --- a/examples/arraySet/order.php +++ b/examples/arraySet/order.php @@ -24,6 +24,8 @@ $item1['subcategory1'] = $_POST['orderDetailSubcategory1_1']; $item1['subcategory2'] = $_POST['orderDetailSubcategory2_1']; $item1['additionalData'] = $_POST['orderDetailAdditionalData1']; + $item1['seller'] = $_POST['orderDetailSeller1']; + $item1['sellerType'] = $_POST['orderDetailSellerType1']; $item1['taxRate'] = $_POST['orderDetailTaxRate1']; $payline->addOrderDetail($item1); } @@ -40,5 +42,7 @@ $item2['subcategory2'] = $_POST['orderDetailSubcategory2_2']; $item2['additionalData'] = $_POST['orderDetailAdditionalData2']; $item2['taxRate'] = $_POST['orderDetailTaxRate2']; + $item2['seller'] = $_POST['orderDetailSeller2']; + $item2['sellerType'] = $_POST['orderDetailSellerType2']; $payline->addOrderDetail($item2); -} +} diff --git a/examples/arraySet/payment.php b/examples/arraySet/payment.php index 7d44086..3948848 100644 --- a/examples/arraySet/payment.php +++ b/examples/arraySet/payment.php @@ -8,3 +8,4 @@ $array['payment']['contractNumber'] = $_POST['paymentContractNumber']; $array['payment']['softDescriptor'] = $_POST['paymentSoftDescriptor']; $array['payment']['cardBrand'] = $_POST['cardBrand']; +$array['payment']['cumulatedAmount'] = $_POST['cumulatedAmount']; diff --git a/examples/arraySet/recurring.php b/examples/arraySet/recurring.php index e0c368b..3845485 100644 --- a/examples/arraySet/recurring.php +++ b/examples/arraySet/recurring.php @@ -17,4 +17,6 @@ if (isset($_POST['recurringNewAmount'])) $array['recurring']['newAmount'] = $_POST['recurringNewAmount']; if (isset($_POST['recurringAmountModificationDate'])) - $array['recurring']['amountModificationDate'] = $_POST['recurringAmountModificationDate']; + $array['recurring']['amountModificationDate'] = $_POST['recurringAmountModificationDate']; +if (isset($_POST['billingRank'])) + $array['recurring']['billingRank'] = $_POST['billingRank']; diff --git a/examples/arraySet/threeDSInfo.php b/examples/arraySet/threeDSInfo.php new file mode 100644 index 0000000..1e8e3fd --- /dev/null +++ b/examples/arraySet/threeDSInfo.php @@ -0,0 +1,27 @@ +
diff --git a/examples/fieldset/authentication3DSecure.php b/examples/fieldset/authentication3DSecure.php index 856a4d2..cc45792 100644 --- a/examples/fieldset/authentication3DSecure.php +++ b/examples/fieldset/authentication3DSecure.php @@ -32,4 +32,12 @@
-
\ No newline at end of file +
+ + +
+
+ + +
+ diff --git a/examples/fieldset/browser.php b/examples/fieldset/browser.php new file mode 100644 index 0000000..f9c4ebe --- /dev/null +++ b/examples/fieldset/browser.php @@ -0,0 +1,41 @@ +
+
+
Browser
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
diff --git a/examples/fieldset/buyer.php b/examples/fieldset/buyer.php index 24f896a..68be33f 100644 --- a/examples/fieldset/buyer.php +++ b/examples/fieldset/buyer.php @@ -50,8 +50,17 @@ function clearSampleBuyer(){ document.getElementById('isFromTor').value= ''; document.getElementById('isEmulator').value= ''; document.getElementById('isRooted').value= ''; - document.getElementById('hasTimezoneMismatch').value= ''; - } + document.getElementById('hasTimezoneMismatch').value= ''; + document.getElementById('shippingStreetNumber').value= ''; + document.getElementById('shippingAddressCreateDate').value= ''; + document.getElementById('shippingEmail').value= ''; + document.getElementById('billingEmail').value= ''; + document.getElementById('billingAddressCreateDate').value= ''; + document.getElementById('billingStreetNumber').value= ''; + document.getElementById('buyerExtended').value= ''; + document.getElementById('merchantAuthentication').value= ''; + document.getElementById('loyaltyMemberType').value= ''; + }
@@ -175,9 +184,17 @@ function clearSampleBuyer(){
- - + +
+
+ + +
+
+ + +
@@ -261,6 +278,18 @@ function clearSampleBuyer(){ +
+ + +
+
+ + +
+
+ + +
@@ -377,4 +406,16 @@ function clearSampleBuyer(){ (Y/N) +
> + + +
+
> + + +
+
> + + +
diff --git a/examples/fieldset/order.php b/examples/fieldset/order.php index f5cbcd4..e26d388 100644 --- a/examples/fieldset/order.php +++ b/examples/fieldset/order.php @@ -281,6 +281,35 @@ function clearSampleOrder(){ + +
> + + +
+
> + + +
+
> + + +
+
> + + +
+
> + + +
+
> + + +
+
> + + +
Order details
@@ -327,6 +356,14 @@ function clearSampleOrder(){ +
+ + +
+
+ + +
@@ -368,8 +405,16 @@ function clearSampleOrder(){
-
- +
+
+ + +
+
+ + +
+ diff --git a/examples/fieldset/payment.php b/examples/fieldset/payment.php index b8cfaa4..93ba9fb 100644 --- a/examples/fieldset/payment.php +++ b/examples/fieldset/payment.php @@ -76,4 +76,9 @@ - \ No newline at end of file +
> + + +
+ + diff --git a/examples/fieldset/recurring.php b/examples/fieldset/recurring.php index 3d035a0..a5e602a 100644 --- a/examples/fieldset/recurring.php +++ b/examples/fieldset/recurring.php @@ -61,4 +61,8 @@ ?> +
+ + +
diff --git a/examples/fieldset/sdk.php b/examples/fieldset/sdk.php new file mode 100644 index 0000000..abecb38 --- /dev/null +++ b/examples/fieldset/sdk.php @@ -0,0 +1,33 @@ +
+
+
SDK
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
diff --git a/examples/fieldset/threeDSInfo.php b/examples/fieldset/threeDSInfo.php new file mode 100644 index 0000000..a16abe2 --- /dev/null +++ b/examples/fieldset/threeDSInfo.php @@ -0,0 +1,32 @@ +
+

Three-ds info

+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + diff --git a/examples/index/configuration.php b/examples/index/configuration.php index 966460c..a0f9a15 100644 --- a/examples/index/configuration.php +++ b/examples/index/configuration.php @@ -69,7 +69,7 @@ function deleteCss(){ +
+ + +
@@ -411,4 +415,4 @@ function deleteCss(){ - \ No newline at end of file + diff --git a/examples/index/updateConfig.php b/examples/index/updateConfig.php index 9c063b2..711a481 100644 --- a/examples/index/updateConfig.php +++ b/examples/index/updateConfig.php @@ -47,7 +47,8 @@ fwrite($handle, '$_SESSION[\'PAYMENT_CURRENCY\'] = \''.$_POST['PAYMENT_CURRENCY'].'\';'.$nextLine); fwrite($handle, '$_SESSION[\'LANGUAGE_CODE\'] = \''.$_POST['LANGUAGE_CODE'].'\';'.$nextLine); fwrite($handle, '$_SESSION[\'PAYMENT_ACTION\'] = \''.$_POST['PAYMENT_ACTION'].'\';'.$nextLine); - fwrite($handle, '$_SESSION[\'PAYMENT_MODE\'] = \''.$_POST['PAYMENT_MODE'].'\';'.$nextLine); + fwrite($handle, '$_SESSION[\'PAYMENT_MODE\'] = \''.$_POST['PAYMENT_MODE'].'\';'.$nextLine); + fwrite($handle, '$_SESSION[\'cumulatedAmount\'] = \''.$_POST['cumulatedAmount'].'\';'.$nextLine); fwrite($handle, '$_SESSION[\'CUSTOM_PAYMENT_TEMPLATE_URL\'] = \''.$_POST['CUSTOM_PAYMENT_TEMPLATE_URL'].'\';'.$nextLine); fwrite($handle, '$_SESSION[\'CUSTOM_PAYMENT_PAGE_CODE\'] = \''.$_POST['CUSTOM_PAYMENT_PAGE_CODE'].'\';'.$nextLine); fwrite($handle, '$_SESSION[\'CONTRACT_NUMBER\'] = \''.$_POST['CONTRACT_NUMBER'].'\';'.$nextLine); @@ -184,7 +185,10 @@ fwrite($handle, '$_SESSION[\'billingAddressCounty\'] = "'.$_POST['billingAddressCounty'].'";'.$nextLine); fwrite($handle, '$_SESSION[\'billingAddressState\'] = "'.$_POST['billingAddressState'].'";'.$nextLine); fwrite($handle, '$_SESSION[\'billingAddressPhoneType\'] = \''.$_POST['billingAddressPhoneType'].'\';'.$nextLine); - fwrite($handle, '$_SESSION[\'billingAddressPhone\'] = \''.$_POST['billingAddressPhone'].'\';'.$nextLine); + fwrite($handle, '$_SESSION[\'billingAddressPhone\'] = \''.$_POST['billingAddressPhone'].'\';'.$nextLine); + fwrite($handle, '$_SESSION[\'billingStreetNumber\'] = \''.$_POST['billingStreetNumber'].'\';'.$nextLine); + fwrite($handle, '$_SESSION[\'billingEmail\'] = \''.$_POST['billingEmail'].'\';'.$nextLine); + fwrite($handle, '$_SESSION[\'billingAddressCreateDate\'] = \''.$_POST['billingAddressCreateDate'].'\';'.$nextLine); fwrite($handle, '$_SESSION[\'shippingAddressTitle\'] = \''.$_POST['shippingAddressTitle'].'\';'.$nextLine); fwrite($handle, '$_SESSION[\'shippingAddressFirstName\'] = "'.$_POST['shippingAddressFirstName'].'";'.$nextLine); fwrite($handle, '$_SESSION[\'shippingAddressLastName\'] = "'.$_POST['shippingAddressLastName'].'";'.$nextLine); @@ -197,7 +201,10 @@ fwrite($handle, '$_SESSION[\'shippingAddressCounty\'] = "'.$_POST['shippingAddressCounty'].'";'.$nextLine); fwrite($handle, '$_SESSION[\'shippingAddressState\'] = "'.$_POST['shippingAddressState'].'";'.$nextLine); fwrite($handle, '$_SESSION[\'shippingAddressPhoneType\'] = \''.$_POST['shippingAddressPhoneType'].'\';'.$nextLine); - fwrite($handle, '$_SESSION[\'shippingAddressPhone\'] = \''.$_POST['shippingAddressPhone'].'\';'.$nextLine); + fwrite($handle, '$_SESSION[\'shippingAddressPhone\'] = \''.$_POST['shippingAddressPhone'].'\';'.$nextLine); + fwrite($handle, '$_SESSION[\'shippingEmail\'] = \''.$_POST['shippingEmail'].'\';'.$nextLine); + fwrite($handle, '$_SESSION[\'shippingStreetNumber\'] = \''.$_POST['shippingStreetNumber'].'\';'.$nextLine); + fwrite($handle, '$_SESSION[\'shippingAddressCreateDate\'] = \''.$_POST['shippingAddressCreateDate'].'\';'.$nextLine); fwrite($handle, '$_SESSION[\'buyerAccountCreateDate\'] = \''.$_POST['buyerAccountCreateDate'].'\';'.$nextLine); fwrite($handle, '$_SESSION[\'buyerAverageAmount\'] = \''.$_POST['buyerAverageAmount'].'\';'.$nextLine); fwrite($handle, '$_SESSION[\'buyerOrderCount\'] = \''.$_POST['buyerOrderCount'].'\';'.$nextLine); @@ -218,7 +225,14 @@ fwrite($handle, '$_SESSION[\'isFromTor\'] = \''.$_POST['isFromTor'].'\';'.$nextLine); fwrite($handle, '$_SESSION[\'isEmulator\'] = \''.$_POST['isEmulator'].'\';'.$nextLine); fwrite($handle, '$_SESSION[\'isRooted\'] = \''.$_POST['isRooted'].'\';'.$nextLine); - fwrite($handle, '$_SESSION[\'hasTimezoneMismatch\'] = \''.$_POST['hasTimezoneMismatch'].'\';'.$nextLine); + fwrite($handle, '$_SESSION[\'hasTimezoneMismatch\'] = \''.$_POST['hasTimezoneMismatch'].'\';'.$nextLine); + fwrite($handle, '$_SESSION[\'merchantAuthentication\'] = \''.$_POST['merchantAuthentication'].'\';'.$nextLine); + fwrite($handle, '$_SESSION[\'loyaltyMemberType\'] = \''.$_POST['loyaltyMemberType'].'\';'.$nextLine); + fwrite($handle, '$_SESSION[\'buyerExtended\'] = \''.$_POST['buyerExtended'].'\';'.$nextLine); + $_SESSION['merchantAuthentication'] = ''; + $_SESSION['loyaltyMemberType'] = ''; + $_SESSION['buyerExtended'] = ''; + fwrite($handle, $nextLine.'// private data'.$nextLine); for ($i=1;$i<9;$i++) { fwrite($handle, '$_SESSION[\'pvdKey'.$i.'\'] = \''.$_POST['privateDataKey0'.$i].'\';'.$nextLine); @@ -232,7 +246,14 @@ fwrite($handle, '$_SESSION[\'orderCurrency\'] = \''.$_POST['orderCurrency'].'\';'.$nextLine); fwrite($handle, '$_SESSION[\'orderAmount\'] = \''.$_POST['orderAmount'].'\';'.$nextLine); fwrite($handle, '$_SESSION[\'deliveryTime\'] = \''.$_POST['deliveryTime'].'\';'.$nextLine); - fwrite($handle, '$_SESSION[\'deliveryMode\'] = \''.$_POST['deliveryMode'].'\';'.$nextLine); + fwrite($handle, '$_SESSION[\'deliveryMode\'] = \''.$_POST['deliveryMode'].'\';'.$nextLine); + fwrite($handle, '$_SESSION[\'discountAmount\'] = \''.$_POST['discountAmount'].'\';'.$nextLine); + fwrite($handle, '$_SESSION[\'otaPackageType\'] = \''.$_POST['otaPackageType'].'\';'.$nextLine); + fwrite($handle, '$_SESSION[\'otaDestinationCountry\'] = \''.$_POST['otaDestinationCountry'].'\';'.$nextLine); + fwrite($handle, '$_SESSION[\'bookingReference\'] = \''.$_POST['bookingReference'].'\';'.$nextLine); + fwrite($handle, '$_SESSION[\'orderDetail\'] = \''.$_POST['orderDetail'].'\';'.$nextLine); + fwrite($handle, '$_SESSION[\'orderExtended\'] = \''.$_POST['orderExtended'].'\';'.$nextLine); + fwrite($handle, '$_SESSION[\'orderOTA\'] = \''.$_POST['orderOTA'].'\';'.$nextLine); fwrite($handle, '$_SESSION[\'orderDetailRef1\'] = \''.$_POST['orderDetailRef1'].'\';'.$nextLine); fwrite($handle, '$_SESSION[\'orderDetailPrice1\'] = \''.$_POST['orderDetailPrice1'].'\';'.$nextLine); fwrite($handle, '$_SESSION[\'orderDetailQuantity1\'] = \''.$_POST['orderDetailQuantity1'].'\';'.$nextLine); @@ -243,6 +264,8 @@ fwrite($handle, '$_SESSION[\'orderDetailBrand1\'] = \''.$_POST['orderDetailBrand1'].'\';'.$nextLine); fwrite($handle, '$_SESSION[\'orderDetailAdditionalData1\'] = \''.$_POST['orderDetailAdditionalData1'].'\';'.$nextLine); fwrite($handle, '$_SESSION[\'orderDetailTaxRate1\'] = \''.$_POST['orderDetailTaxRate1'].'\';'.$nextLine); + fwrite($handle, '$_SESSION[\'orderDetailSellerType1\'] = \''.$_POST['orderDetailSellerType1'].'\';'.$nextLine); + fwrite($handle, '$_SESSION[\'orderDetailSeller1\'] = \''.$_POST['orderDetailSeller1'].'\';'.$nextLine); fwrite($handle, '$_SESSION[\'orderDetailRef2\'] = \''.$_POST['orderDetailRef2'].'\';'.$nextLine); fwrite($handle, '$_SESSION[\'orderDetailPrice2\'] = \''.$_POST['orderDetailPrice2'].'\';'.$nextLine); fwrite($handle, '$_SESSION[\'orderDetailQuantity2\'] = \''.$_POST['orderDetailQuantity2'].'\';'.$nextLine); @@ -252,8 +275,9 @@ fwrite($handle, '$_SESSION[\'orderDetailSubcategory2_2\'] = \''.$_POST['orderDetailSubcategory2_2'].'\';'.$nextLine); fwrite($handle, '$_SESSION[\'orderDetailBrand2\'] = \''.$_POST['orderDetailBrand2'].'\';'.$nextLine); fwrite($handle, '$_SESSION[\'orderDetailAdditionalData2\'] = \''.$_POST['orderDetailAdditionalData2'].'\';'.$nextLine); - fwrite($handle, '$_SESSION[\'orderDetailTaxRate2\'] = \''.$_POST['orderDetailTaxRate2'].'\';'.$nextLine); - + fwrite($handle, '$_SESSION[\'orderDetailTaxRate2\'] = \''.$_POST['orderDetailTaxRate2'].'\';'.$nextLine); + fwrite($handle, '$_SESSION[\'orderDetailSellerType2\'] = \''.$_POST['orderDetailSellerType2'].'\';'.$nextLine); + fwrite($handle, '$_SESSION[\'orderDetailSeller2\'] = \''.$_POST['orderDetailSeller2'].'\';'.$nextLine); fwrite($handle, "?> \n"); fclose($handle); }else{ @@ -261,4 +285,4 @@ } $_SESSION = array(); header("Location: ../demos/index.php?e=configuration&res_upd=$update_config_status"); -?> \ No newline at end of file +?> diff --git a/examples/wallet/manageWebWallet.php b/examples/wallet/manageWebWallet.php index 8c007ef..f6ba1ae 100644 --- a/examples/wallet/manageWebWallet.php +++ b/examples/wallet/manageWebWallet.php @@ -51,4 +51,4 @@ } } elseif(isset($response)) { echo 'ERROR : '.$response['result']['code']. ' '.$response['result']['longMessage'].' '; -} \ No newline at end of file +} diff --git a/examples/wallet/manageWebWalletForm.php b/examples/wallet/manageWebWalletForm.php index a135206..ecc0351 100644 --- a/examples/wallet/manageWebWalletForm.php +++ b/examples/wallet/manageWebWalletForm.php @@ -31,7 +31,8 @@ include '../fieldset/privateDataList.php'; include '../fieldset/walletUrls.php'; include '../fieldset/merchantName.php'; - ?> + include '../fieldset/threeDSInfo.php'; + ?>

User Experience : redirection / lightbox / inside the shop

diff --git a/examples/web/doWebPayment.php b/examples/web/doWebPayment.php index 6155994..a69b5de 100644 --- a/examples/web/doWebPayment.php +++ b/examples/web/doWebPayment.php @@ -14,6 +14,7 @@ include '../arraySet/urls.php'; include '../arraySet/webOptions.php'; include '../arraySet/subMerchant.php'; +include '../arraySet/threeDSInfo.php'; $array['asynchronousRetryTimeout'] = $_POST['asynchronousRetryTimeout']; @@ -59,4 +60,4 @@ } } elseif(isset($response)) { echo 'ERROR : '.$response['result']['code']. ' '.$response['result']['longMessage'].' '; -} \ No newline at end of file +} diff --git a/examples/web/doWebPaymentForm.php b/examples/web/doWebPaymentForm.php index 08c1338..3ecf45b 100644 --- a/examples/web/doWebPaymentForm.php +++ b/examples/web/doWebPaymentForm.php @@ -11,7 +11,8 @@ include '../fieldset/owner.php'; include '../fieldset/recurring.php'; include '../fieldset/merchantName.php'; - include '../fieldset/subMerchant.php'; + include '../fieldset/subMerchant.php'; + include '../fieldset/threeDSInfo.php'; ?>
diff --git a/lib/CONFIG.php b/lib/CONFIG.php index a4ebb14..593acd7 100644 --- a/lib/CONFIG.php +++ b/lib/CONFIG.php @@ -45,6 +45,7 @@ $_SESSION['WLT_CANCEL_URL'] = 'http://127.0.0.1/git/payline-php-samples/examples/demos/wallet.php?e=getWebWallet'; $_SESSION['CUSTOM_WIDGET_CSS'] = null; $_SESSION['CUSTOM_WIDGET_JS'] = null; +$_SESSION['cumulatedAmount'] = ''; // buyer info $_SESSION['buyerLegalStatus'] = '1'; @@ -99,6 +100,15 @@ $_SESSION['isEmulator'] = 'mm'; $_SESSION['isRooted'] = 'mm'; $_SESSION['hasTimezoneMismatch'] = 'mm'; +$_SESSION['merchantAuthentication'] = ''; +$_SESSION['loyaltyMemberType'] = ''; +$_SESSION['buyerExtended'] = ''; +$_SESSION['billingStreetNumber'] = ''; +$_SESSION['billingEmail'] = ''; +$_SESSION['billingAddressCreateDate'] = ''; +$_SESSION['shippingEmail'] = ''; +$_SESSION['shippingStreetNumber'] = ''; +$_SESSION['shippingAddressCreateDate'] = ''; // private data $_SESSION['pvdKey1'] = 'cartId'; @@ -126,6 +136,13 @@ $_SESSION['orderAmount'] = '990'; $_SESSION['deliveryTime'] = ''; $_SESSION['deliveryMode'] = ''; +$_SESSION['discountAmount'] = ''; +$_SESSION['otaPackageType'] = ''; +$_SESSION['otaDestinationCountry'] = ''; +$_SESSION['bookingReference'] = ''; +$_SESSION['orderDetail'] = ''; +$_SESSION['orderExtended'] = ''; +$_SESSION['orderOTA'] = ''; $_SESSION['orderDetailRef1'] = ''; $_SESSION['orderDetailPrice1'] = ''; $_SESSION['orderDetailQuantity1'] = ''; @@ -136,6 +153,8 @@ $_SESSION['orderDetailBrand1'] = ''; $_SESSION['orderDetailAdditionalData1'] = ''; $_SESSION['orderDetailTaxRate1'] = ''; +$_SESSION['orderDetailSellerType1'] = ''; +$_SESSION['orderDetailSeller1'] = ''; $_SESSION['orderDetailRef2'] = ''; $_SESSION['orderDetailPrice2'] = ''; $_SESSION['orderDetailQuantity2'] = ''; @@ -146,4 +165,6 @@ $_SESSION['orderDetailBrand2'] = ''; $_SESSION['orderDetailAdditionalData2'] = ''; $_SESSION['orderDetailTaxRate2'] = ''; +$_SESSION['orderDetailSellerType2'] = ''; +$_SESSION['orderDetailSeller2'] = ''; ?>