ulsdevteam / alma-payment-microservice

Microservice for fines & fees payment in Alma thru Authorize.net
MIT License
0 stars 0 forks source link

Move handling of transaction to an async process #9

Closed chryslovelace closed 1 year ago

chryslovelace commented 1 year ago

This pull request moves most of the code that processes a completed transaction out of receipt.php and into another script that is invoked by shell_exec, so the webhook can report that a notification was received while it is being processed asynchronously. It also checks that the transaction's invoice number begins with the string "ALMA".