Hi,
We have single page app. where page is loaded through ajax call using javascript and php.
when running the php page directly as https://abc.com/squareTest.php, then credit card form generated.
But when called through ajax, the credit card form does not shows up.
Thanks for reaching. There was issue in loading of square file. Though it was showing already loaded. So the source code modified to ensure that external https://sandbox.web.squarecdn.com/v1/square.js is loaded in the dom. Now, card is attached with specified div.
Thanks