Getting this message trying to process payments through Accept.js as admin:
Please include Accept.js library from cdn.
There are a few mentions of a possibly similar issue on the tail end of the closed Accept.js integration ticket for 8.x, but in certain scenarios, there is a console warning that the Accept.js "Library is not coming from Accept CDN" and a possibility for payments to not go through for seemingly the same reason. This error is presented when AcceptCore.js tries to validate the url of the Accept.js library src against its expected string of 'https://js.authorize.net/v1/Accept.js' (needs an exact match).
I'm seeing it on order admin edit pages, where the administrator can use the "Payments" tab to enter card data and submit to payment processor. Because the payment info display is loaded via AJAX, the script gets the default cache prevention mechanism of appending ?_=[timestamp] to the src, which then leads to a src of something like "https://js.authorize.net/v1/Accept.js?_=1536956938378", which fails validation.
Not sure what a solution might be- I could allow admins to use the old AIM server-side method for admin entered payments, but I think that would mean we don't get to keep our simple PCI-A status...
Any ideas?
Active
1.6
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Getting this message trying to process payments through Accept.js as admin:
Please include Accept.js library from cdn.