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".
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".