Skip to content

Commit 2486865

Browse files
committed
webhook and subscription
1 parent 962e1b6 commit 2486865

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

public_html/subscription.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
</tr>
8989
<tr>
9090
<td>Prochaine facturation</td>
91-
<td><?php echo($subscription->nextBillingPeriodAmount->format('Y-m-d H:i:s'))?></td>
91+
<td><?php echo($subscription->nextBillingPeriodDate->format('Y-m-d H:i:s'))?></td>
9292
</tr>
9393
</tbody>
9494
</table>

public_html/webhook.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,7 @@
1919

2020
header("HTTP/1.1 200 OK");
2121
}
22+
else {
23+
header("HTTP/1.1 500 KO");
24+
}
2225
?>

0 commit comments

Comments
 (0)