Skip to content

Commit 8ce8ff4

Browse files
author
Pavel Chugunov
committed
ADD: webhook example
1 parent cb63971 commit 8ce8ff4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

example_list.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@
202202
'docLink' => 'https://ypmn.ru/ru/documentation/#tag/widget-integration',
203203
'link' => '',
204204
],
205-
'createWebhook' => [
205+
'webhookProcessing' => [
206206
'name' => 'Обработка вебхука',
207207
'about' => 'В этом примере показана обработка вебхука IPN',
208208
'docLink' => 'https://ypmn.ru/ru/documentation/#tag/webhooks',
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/**
4-
* createWebhook.php
4+
* webhookProcessing.php
55
*
66
* На адрес этого файла будет приходить вебхук IPN
77
* Чтобы изменить адрес, отредактируйте параметр URL на странице
@@ -11,7 +11,6 @@
1111

1212
declare(strict_types=1);
1313

14-
use Ypmn\PaymentException;
1514
use Ypmn\Webhook;
1615

1716
// Создадим обработчик вебхука

0 commit comments

Comments
 (0)