The encryption parameter that handles encrypted and masked payment instrument data,
including credit card, bank account, and driver license numbers, in the dw.order.Order.getOrderExportXML API has been completely
revised.
How: These methods have been changed or removed.
dw.order.Order.getOrderExportXML(encryptionAlgorithm, encryptionKey, encryptUsingEKID)was removed entirely. This method was deprecated because theencryptUsingEKIDparameter was never used. To return encrypted payment instrument data with the given algorithm or key, usedw.order.Order.getOrderExportXML(encryptionAlgorithm, encryptionKey)instead. To return payment instrument data unmasked, usedw.order.Order.getOrderExportXML().dw.order.Order.getOrderExportXML(encryptionAlgorithm, encryptionKey)no longer accepts an invalid encryption argument, which includes null, blank, or otherwise empty algorithms or keys.dw.order.Order.getOrderExportXML(encryptionAlgorithm, encryptionKey)supports the current RSA/ECB/OAEPWithSHA-256AndMGF1Padding encryption algorithm. Previously, theencryptionAlgorithmargument was ignored and the (now deprecated) algorithm RSA/ECB/PKCS1Padding was always used when a non-blank key was provided.dw.order.Order.getOrderExportXML(encryptionAlgorithm, encryptionKey)no longer accepts a null key, which was used as a “magic” value for returning the payment instrument data as masked instead of encrypted. Only usedw.order.Order.getOrderExportXML()to return masked payment instrument data.