cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Error: accept.js not filled out correctly

My checkout system is live and my php was recently upgraded to v. 8.0.3.0.  I have one and possible 2 users who have reported a problem with credit card checkout.  One of them said the error  was: accept.js not filled out correctly.  The other one sent a screen shot saying "Accept.js is not loaded correctly."   Any ideas?

jwilliamsen
Member
1 REPLY 1

It sounds like the error with `accept.js` could be related to compatibility issues following the PHP upgrade to version 8.0.3.0. Here are a few things to check:

1. **Confirm Accept.js Integration**: Ensure that `accept.js` is properly loaded on your checkout page. If the JavaScript file is missing or incorrectly referenced, it may result in loading errors.

2. **API Key and Authentication**: Verify that all API keys and authentication parameters for `accept.js` are correctly set. Missing or incorrect keys can prevent `accept.js` from working properly.

3. **PHP Code Compatibility**: Since PHP 8 introduced some syntax and function changes, review your code that interacts with `accept.js` for compatibility issues, particularly any code handling form data or API requests.

4. **JavaScript Console Errors**: Check for any errors in the browser's JavaScript console. This can provide specific details on what may be causing `accept.js` to fail.

5. **Caching Issues**: If recent changes were made, clearing the browser and server cache might help ensure users receive the latest version of the code.

If the problem persists, you may need to consult the documentation for `accept.js` and PHP 8 compatibility or reach out to your payment gateway's support team to verify that there are no changes required due to the PHP upgrade.

waqaskh12
Member