-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from cybersource-tpi/v24.2.0
V24.2.0
- Loading branch information
Showing
27 changed files
with
932 additions
and
370 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 10 additions & 3 deletions
13
...s/int_cybs_sfra/cartridge/templates/default/payerAuthentication/deviceDataCollection.isml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,19 @@ | ||
<link rel="stylesheet" href="${URLUtils.staticURL('/css/deviceDataCollection.css')}"> | ||
<div id="deviceDataCollection"> | ||
<h1 id="paymentprocessingmessage"> | ||
<h2 id="paymentprocessingmessage"> | ||
${Resource.msg('processing.payment', 'payments', null)} | ||
</h1> | ||
</h2> | ||
<form id="collectionForm" name="devicedata" target="paFrame" method="POST" action="${pdict.deviceDataUrl}"> | ||
<input type="hidden" id="bin" name="Bin" value="${pdict.cardNumber}" /> | ||
<input type="hidden" name="JWT" value="${pdict.jwtToken}" /> | ||
</form> | ||
<iframe scrolling="no" id="paFrame" name="paFrame" src=""></iframe> | ||
|
||
<form class="payerAuthRedirect" action="${pdict.action}" method="POST" name="payerAuthRedirect" | ||
target="_parent"> | ||
<input type="hidden" name="MD" value="${pdict.orderNo}" /> | ||
</form> | ||
|
||
<script src="${URLUtils.staticURL('/js/deviceDataCollection.js')}" type="text/javascript"></script> | ||
</div> | ||
|
||
</div> |
36 changes: 24 additions & 12 deletions
36
...ridges/int_cybs_sfra/cartridge/templates/default/payerAuthentication/postToStepUpUrl.isml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,33 @@ | ||
<iscomment> <isdecorate template="common/layout/checkout"> </iscomment> | ||
<iscomment> | ||
<isdecorate template="common/layout/checkout"> | ||
</iscomment> | ||
<iscontent type="text/html" charset="UTF-8" compact="true"> | ||
|
||
<iscomment> <style> | ||
.iframe-stepUp { | ||
display: flex; | ||
justify-content: center; | ||
} | ||
</style> </iscomment> | ||
|
||
<iscomment> target="myStepUpFrame" </iscomment> | ||
<form id="stepUpForm" name="stepup" method="POST" action="${pdict.stepUpUrl}"> | ||
|
||
<form id="stepUpForm" name="stepup" target="myStepUpFrame" method="POST" action="${pdict.stepUpUrl}"> | ||
<input type="hidden" name="JWT" value="${pdict.jwtToken}" /> | ||
</form> | ||
<iscomment> | ||
<div class="iframe-stepUp"> | ||
<iframe name="myStepUpFrame" height="600" width="400"></iframe> | ||
</div> | ||
</iscomment> | ||
|
||
<iframe width="100%" height="100%" scrolling="auto" name="myStepUpFrame"> </iframe> | ||
|
||
</form> | ||
<iscomment> <iFrame width="100%" height="100%" scrolling="auto" name="myStepUpFrame"> </iscomment> | ||
<iscomment> </iFrame> </iscomment> | ||
<script>window.onload = function() { | ||
// Auto submit form on page load | ||
|
||
document.getElementById('stepUpForm').submit(); | ||
} | ||
</script> | ||
document.getElementById('stepUpForm').submit(); | ||
} | ||
</script> | ||
|
||
</iscontent> | ||
<iscomment> </isdecorate> </iscomment> | ||
<iscomment> | ||
</isdecorate> | ||
</iscomment> |
17 changes: 17 additions & 0 deletions
17
cartridges/int_cybs_sfra/cartridge/templates/default/payerAuthentication/scaRedirect.isml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!--- TEMPLATENAME: Redirect.isml ---> | ||
<iscomment> | ||
This template the use to redirect | ||
</iscomment> | ||
<link rel="stylesheet" href="${URLUtils.staticURL('/css/deviceDataCollection.css')}"> | ||
<iscomment> <script src="${URLUtils.staticURL('/custom/lib/jquery/jquery-3.5.1.min.js')}" type="text/javascript"></script> </iscomment> | ||
<form id="ScaRedirect" action="${URLUtils.url('CheckoutServices-PlaceOrder')}" method="POST" name="ScaRedirect" target="_parent"> | ||
<input type="hidden" name="orderID" value="${pdict.orderID}"/> | ||
</form> | ||
|
||
<iscomment> <script src="${URLUtils.staticURL('/js/scaRedirect.js')}" type="text/javascript"></script> </iscomment> | ||
|
||
<script type="text/javascript"> | ||
window.onload = function () { | ||
// Auto submit form on page load | ||
document.getElementById('ScaRedirect').submit(); | ||
};</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.