Commit 2256184c authored by Ricardo Ambrogi's avatar Ricardo Ambrogi Committed by GitHub

Update threeds2.js

parent 9b5d48cf
...@@ -17,15 +17,11 @@ define( ...@@ -17,15 +17,11 @@ define(
* @param response * @param response
*/ */
processThreeDS2: function (data) { processThreeDS2: function (data) {
var payload = {
"payload": JSON.stringify(data)
};
var serviceUrl = urlBuilder.createUrl('/adyen/threeDS2Process', {}); var serviceUrl = urlBuilder.createUrl('/adyen/threeDS2Process', {});
return storage.post( return storage.post(
serviceUrl, serviceUrl,
JSON.stringify(payload), JSON.stringify({ payload: JSON.stringify(data) }),
true true
); );
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment