Must we put the javascript in <head> to access Visa Checkout?

joncomgree
Regular Visitor

Must we put the javascript in <head> to access Visa Checkout?

My company's site must modifiy our <head></head> space throughout our processes and so I cannot put the visa javascript code into the <head> area without it erroring out because javascript code is within it. Is it possible to still do visa checkout without using the <head> tags?

2 REPLIES 2
API_Products
Visa Developer Support Specialist

Re: Must we put the javascript in <head> to access Visa Checkout?

Hi @joncomgree,

 

I'm currently working on your inquiry and will get back to you soon. In order for us to further investigate the error you are receiving, please provide more information on the error you have received. Please send the response request of the error received, screenshot and the Correlation ID. 

Below are the steps to get the Correlation ID using a Google Chrome browser.
1>Open Chrome menu.
2>Click on More tools then Developer tools.
3>Check the box to Preserve Log for the Network Tab.
4>Then try to click on the add API link.
5>You can find the Correlation ID in the network log for add API call.

 




Thanks,

Diana



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

API_Products
Visa Developer Support Specialist

Re: Must we put the javascript in <head> to access Visa Checkout?

Hi @joncomgree,

 

To learn more about coding, please navigate to the documentation below.

 

http://apps.cybersource.com/library/documentation/dev_guides/VCO_SO_API/Visa_Checkout_SO_API.pdf
and

http://apps.cybersource.com/library/documentation/dev_guides/VCO_SCMP_API/Visa_Checkout_SCMP_API.pdf

 




Thanks,

Diana



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.