cancel
Showing results for 
Search instead for 
Did you mean: 

Using Accept Hosted With Angular 2+ Project

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

lukasat1union
Member
0 REPLIES 0