Skip to content

Commit bc0ef60

Browse files
committed
Redirect ZRF Authorization URL vs opening in a modal
1 parent 6807a9d commit bc0ef60

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/view/frontend/web/js/view/payment/method-renderer/rvvup-method.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,10 @@ define([
674674
window.location.replace(orderPaymentAction.getRedirectUrl());
675675
return;
676676
}
677+
if (code === 'rvvup_ZOPA_RETAIL_FINANCE' && orderPaymentAction.getRedirectUrl() !== null) {
678+
window.location.replace(orderPaymentAction.getRedirectUrl());
679+
return;
680+
}
677681

678682
new Promise((resolve, reject) => {
679683
// Authorize express PayPal payment if manual capture is enabled. The authorize call is made

0 commit comments

Comments
 (0)