I was able to get the token for the Accept Hosted Iframe, post it to https://test.authorize.net/payment/payment and get the correct HTML back, but I can't seem to figure out how I should load the acceptUI script within the angular project. Putting the script tag in index.html doesn't work. loading the script inside the component with a script loader after the button is initialized doesn't work. And even converting the script to a string and insterting it into the head of the iframe before injecting the html body to the iframe also doesn't work. I tried looking at the accept-sample-app, but I don't know php very well and translating it to a Nodejs Angular set up is confusing.
ANY ADVICE ON WHERE I SHOULD PUT THE ACCEPTUI.JS SCRIPT IS GREATLY APPRECIATED <3
05-22-2018 02:00 PM - edited 05-22-2018 02:01 PM