Skip to content

Commit

Permalink
Create callback_url.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bnjunge authored Oct 5, 2018
1 parent ddba8d4 commit 52980e8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Tutorial 9/callback_url.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php
$stkCallbackResponse = file_get_contents('php://input');
$logFile = "stkPushCallbackResponse.json";
$log = fopen($logFile, "a");
fwrite($log, $stkCallbackResponse);
fclose($log);

0 comments on commit 52980e8

Please sign in to comment.