I'm facing an issue with regards to the Visa Checkout button on SPA environments.
I found that the VCO SDK only binds elements thas is already loaded on the page searching by the v-button class. I'm using SPA on my application, and because of that the button don't have the event to trigger.
Have you guys faced this issue? Have an idea how to solve it?
Solved! Go to Solution.
Thanks for your question.
One solution I have tried is runtime loading of the visa checkout sdk script.
After you load (display) the visa checkout button, you can then proceed with loading the following sdk.
Sample code to load a js file at runtime.
Please advise whether I have understood your question correctly and answered properly.