From a799e6806c47040b54f8b53b45a32a107e569489 Mon Sep 17 00:00:00 2001 From: Ildar Galeev Date: Tue, 25 Oct 2016 18:51:18 +0300 Subject: [PATCH] FE-61: redirect url fix --- src/payform/payform.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/payform/payform.js b/src/payform/payform.js index 3fd291ca..e4ea40a2 100644 --- a/src/payform/payform.js +++ b/src/payform/payform.js @@ -57,7 +57,8 @@ domReady(function () { } else if (result.type === 'interact') { console.info('polling result: interact, post message: interact, starts 3ds interaction...'); window.parent.postMessage('interact', '*'); - const redirectUrl = location.href; + // const redirectUrl = location.href; + const redirectUrl = 'http://testshop-drupal.rbkmoney.com:8080/cart/checkout/review'; // const decodedTermUrl = decodeURIComponent(result.data.form[0].template); // const template = new URITemplate(decodedTermUrl);