webhook for handling delivery endpoint

This commit is contained in:
JP Foster 2019-11-04 17:50:42 +00:00
parent 34ae132930
commit ae95665ab9
No known key found for this signature in database
GPG key ID: B8DEAF488542ADE9
3 changed files with 130 additions and 0 deletions

7
process_webhook.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/sh
tmpfile=`mktemp order.XXXXXXXX`
echo $1 > $tmpfile
echo "{\"posOrderId\":\""`uuidgen`\""}"