FE-61: redirect url fix

This commit is contained in:
Ildar Galeev 2016-10-25 18:51:18 +03:00
parent e0b04b1d3a
commit a799e6806c

View File

@ -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);