Visa Developer Community

Highlighted
Regular Visitor

Amount Not Displayed in Visa Checkout Payment popup - SDK.js

Hi Team,

 

I have integrated below JS in our site.

 

https://sandbox-assets.secure.checkout.visa.com/checkout-widget/resources/js/integration/v1/sdk.js

 

Able to view the checkout popup and view saved card and address details associted with the login. But the total amount (SGD 11.30) is not getting displayed below Card/Address details. Also instead of "Pay" button, I am seeing "Continue" button.

 

Below is the sample code used

 

var myapikey = "xxxxxxxxxxx";
V.init({
	apikey : myapikey,
	settings: {
		displayName: "My Site",
		dataLevel: "FULL"
	},
	paymentRequest: {
		currencyCode: "SGD",
		subtotal: "11.30"
	}
});

Could you please guide, if we miss something?

 

Thanks,

SK

2 REPLIES 2
Highlighted
Regular Visitor

Re: Amount Not Displayed in Visa Checkout Payment popup - SDK.js

This worked!!!

 

var myapikey = "xxxxxxxxxxx";
V.init({
	apikey : myapikey,
	settings: {
		displayName: "My Site",
		review: {
			buttonAction: "Pay"
		},
		dataLevel: "FULL"
	},
	paymentRequest: {
		currencyCode: "SGD",
		total: "11.30",
	}
});

Thanks Myself Smiley LOL

SK

Highlighted
Regular Visitor

Re: Amount Not Displayed in Visa Checkout Payment popup - SDK.js

Glad to hear that !