Is encryptionKey for Visa Check Out different from Shared Secret
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
January 2019
January 2019
Is encryptionKey for Visa Check Out different from Shared Secret
Is encryptionKey for Visa Check Out different from Shared Secret
and how do i get it
Thanks
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
January 2019
January 2019
Re: Is encryptionKey for Visa Check Out different from Shared Secret
Hello,
I have seen a need for separate encryptionkey for Visa Check out apart from Shared Secret. Can you please let me know where (which API Documentation) you saw the need for encryption key in the documentation so I can assist further ?
Thanks,
Jai
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
April 2023
April 2023
Re: Is encryptionKey for Visa Check Out different from Shared Secret
I'm facing the same problem, see the encryptionkey is required in the JavaScript SDK's HTML code, I also want to know How to get this encryptionkey. this Key is required in the JavaScript SDK header. see the code below:
<script type="text/javascript">
function onVisaCheckoutReady(){
V.init({
apikey: "......",
encryptionKey: "........",
paymentRequest: {
currencyCode: "MZN",
subtotal: "50.00"
}
});
V.on("payment.success", function(payment) {
alert(JSON.stringify(payment));
});
V.on("payment.cancel", function(payment) {
alert(JSON.stringify(payment));
});
V.on("payment.error", function(payment, error) {
alert(JSON.stringify(error));
});
}
</script>
<script type="text/javascript">
function onVisaCheckoutReady(){
V.init({
apikey: "......",
encryptionKey: "........",
paymentRequest: {
currencyCode: "MZN",
subtotal: "50.00"
}
});
V.on("payment.success", function(payment) {
alert(JSON.stringify(payment));
});
V.on("payment.cancel", function(payment) {
alert(JSON.stringify(payment));
});
V.on("payment.error", function(payment, error) {
alert(JSON.stringify(error));
});
}
</script>