impress-org / give-iats

Accept donations through the leading nonprofit gateway iATS
https://givewp.com/addons/iats
2 stars 3 forks source link

iATS Credit Card Validator library generates fatal error in PHP 8.1+ #24

Closed canny[bot] closed 1 year ago

canny[bot] commented 1 year ago

Currently, the library used to validate credit cards in the iATS add-on generates a fatal error upon activation on sites running PHP 8.1

https://givewp.canny.io/admin/board/bug-reports/p/iats-credit-card-validator-library-generates-fatal-error-in-php-81

canny[bot] commented 1 year ago

This issue has been linked to a Canny post: iATS Credit Card Validator library generates fatal error in PHP 8.1+ :tada:

TheDavidJohnson commented 1 year ago

The fatal error occurs on sites running PHP 8.0 as well, and triggers a PHP warning on sites running PHP 7.4. Details & screenshots added to comment on Canny post: iATS Credit Card Validator library generates fatal error in PHP 8.1+