diff --git a/lib/Ogone/AbstractRequest.php b/lib/Ogone/AbstractRequest.php index 51b0e84..a2298d8 100644 --- a/lib/Ogone/AbstractRequest.php +++ b/lib/Ogone/AbstractRequest.php @@ -46,6 +46,11 @@ abstract class AbstractRequest implements Request // DirectLink with 3-D Secure: Extra request parameters. // https://payment-services.ingenico.com/int/en/ogone/support/guides/integration%20guides/directlink-3-d/3-d-transaction-flow-via-directlink#extrarequestparameters 'flag3d', 'http_accept', 'http_user_agent', 'win3ds', + + // DirectLink with 3-D Secure, v2.1: Extra request parameters. + // https://payment-services.ingenico.com/fr/fr/ogone/support/guides/integration%20guides/directlink-3-d/3-d%20secure%20v2 + 'browseracceptheader', 'browsercolordepth', 'browserjavaenabled', 'browserlanguage', 'browserscreenheight', + 'browserscreenwidth', 'browsertimezone', 'browseruseragent', // Optional integration data: Delivery and Invoicing data. // https://payment-services.ingenico.com/int/en/ogone/support/guides/integration%20guides/additional-data/delivery-and-invoicing-data 'civility', 'cuid', 'ecom_billto_postal_city', 'ecom_billto_postal_countrycode', diff --git a/lib/Ogone/ParameterFilter/ShaInParameterFilter.php b/lib/Ogone/ParameterFilter/ShaInParameterFilter.php index d9ed489..81ba0e8 100644 --- a/lib/Ogone/ParameterFilter/ShaInParameterFilter.php +++ b/lib/Ogone/ParameterFilter/ShaInParameterFilter.php @@ -48,7 +48,9 @@ class ShaInParameterFilter implements ParameterFilter 'TXTBADDR2', 'TXTCOLOR', 'TXTOKEN', 'TXTOKENTXTOKENPAYPAL', 'TYPE_COUNTRY', 'UCAF_AUTHENTICATION_DATA', 'UCAF_PAYMENT_CARD_CVC2', 'UCAF_PAYMENT_CARD_EXPDATE_MONTH', 'UCAF_PAYMENT_CARD_EXPDATE_YEAR', 'UCAF_PAYMENT_CARD_NUMBER', 'USERID', 'USERTYPE', - 'VERSION', 'WBTU_MSISDN', 'WBTU_ORDERID', 'WEIGHTUNIT', 'WIN3DS', 'WITHROOT' + 'VERSION', 'WBTU_MSISDN', 'WBTU_ORDERID', 'WEIGHTUNIT', 'WIN3DS', 'WITHROOT', + 'BROWSERACCEPTHEADER', 'BROWSERCOLORDEPTH', 'BROWSERJAVAENABLED', 'BROWSERLANGUAGE', 'BROWSERSCREENHEIGHT', + 'BROWSERSCREENWIDTH', 'BROWSERTIMEZONE', 'BROWSERUSERAGENT', ); public function filter(array $parameters)