spacejewel-ipn-communication/public/index.php

27 lines
579 B
PHP
Raw Normal View History

2018-06-07 10:56:13 +00:00
<?php
require $_SERVER['DOCUMENT_ROOT'] . '/vendor/autoload.php';
2018-06-07 10:56:13 +00:00
$App = new \Slim\App([
"settings" =>
[
"displayErrorDetails" => true
]
]);
2018-06-07 10:56:13 +00:00
$App->post
(
"/api/paddle/{authkey}/detectIntent",
Hookmanager::class, ':detectPayloadIntent'
);
$App->post
(
"/api/paddle/{authkey}/hook",
Hookmanager::class, ':EventSubscriptionCreatead'
2018-06-08 14:48:18 +00:00
);
$App->run();