Re: Is encryptionKey for Visa Check Out different from Shared Secret

ezamarichard
Regular Contributor

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
jvenkata
Community Moderator

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

Vejaso
Helper

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>