concretecms-community-store / community_store_paypal_standard

Paypal Standard payments for Community Store for Concrete CMS
MIT License
6 stars 7 forks source link

Fix warning with PHP7.2 which stops IPN working #10

Closed JeRoNZ closed 5 years ago

JeRoNZ commented 5 years ago

This results in incomplete orders with PHP7.2

e.g. from c5 log Exception Occurred: ...../packages/community_store_paypal_standard/src/CommunityStore/Payment/Methods/CommunityStorePaypalStandard/CommunityStorePaypalStandardPaymentMethod.php:148 Use of undefined constant DEBUG - assumed 'DEBUG' (this will throw an Error in a future version of PHP) (2)