mirror of
https://gitee.com/yansongda/pay.git
synced 2024-12-02 20:27:45 +08:00
update
This commit is contained in:
parent
62d9b5be2b
commit
74204cc006
@ -11,6 +11,7 @@ SDK 使用 [symfony/event-dispatcher](https://github.com/symfony/event-dispatche
|
||||
- yansongda.pay.starting (Yansongda\Pay\Events\PayStarting)
|
||||
|
||||
- 事件类:Yansongda\Pay\Events\PayStarting::class
|
||||
- 别名: Yansongda\Pay\Events::PAY_STARTING
|
||||
- 说明:此事件将在最开始进行支付时进行抛出。此时 SDK 只进行了相关初始化操作,其它所有操作均未开始。
|
||||
- 额外数据:
|
||||
- $driver (支付机构)
|
||||
@ -20,6 +21,7 @@ SDK 使用 [symfony/event-dispatcher](https://github.com/symfony/event-dispatche
|
||||
- yansongda.pay.started (Yansongda\Pay\Events\PayStarted)
|
||||
|
||||
- 事件类:Yansongda\Pay\Events\PayStarted
|
||||
- 别名: Yansongda\Pay\Events::PAY_STARTED
|
||||
- 说明:此事件将在所有参数处理完毕时抛出。
|
||||
- 额外数据:
|
||||
- $driver (支付机构)
|
||||
@ -30,6 +32,7 @@ SDK 使用 [symfony/event-dispatcher](https://github.com/symfony/event-dispatche
|
||||
- yansongda.pay.api.requesting (Yansongda\Pay\Events\ApiRequesting)
|
||||
|
||||
- 事件类:Yansongda\Pay\Events\ApiRequesting
|
||||
- 别名: Yansongda\Pay\Events::API_REQUESTING
|
||||
- 说明:此事件将在请求支付方的 API 前抛出。
|
||||
- 额外数据:
|
||||
- $driver (支付机构)
|
||||
@ -40,6 +43,7 @@ SDK 使用 [symfony/event-dispatcher](https://github.com/symfony/event-dispatche
|
||||
- yansongda.pay.api.requested (Yansongda\Pay\Events\ApiRequested)
|
||||
|
||||
- 事件类:Yansongda\Pay\Events\ApiRequested
|
||||
- 别名: Yansongda\Pay\Events::API_REQUESTED
|
||||
- 说明:此事件将在请求支付方的 API 完成之后抛出。
|
||||
- 额外数据:
|
||||
- $driver (支付机构)
|
||||
@ -47,9 +51,10 @@ SDK 使用 [symfony/event-dispatcher](https://github.com/symfony/event-dispatche
|
||||
- $endpoint (支付的 url endpoint)
|
||||
- $result (请求后的返回数据)
|
||||
|
||||
- yansongda.pay.sign.failed (Yansongda\Pay\Events\WrongSign)
|
||||
- yansongda.pay.sign.failed (Yansongda\Pay\Events\SignFailed)
|
||||
|
||||
- 事件类:Yansongda\Pay\Events\WrongSign
|
||||
- 事件类:Yansongda\Pay\Events\SignFailed
|
||||
- 别名: Yansongda\Pay\Events::SIGN_FAILED
|
||||
- 说明:此事件将在签名验证失败时抛出。
|
||||
- 额外数据:
|
||||
- $driver (支付机构)
|
||||
@ -59,6 +64,7 @@ SDK 使用 [symfony/event-dispatcher](https://github.com/symfony/event-dispatche
|
||||
- yansongda.pay.request.received (Yansongda\Pay\Events\RequestReceived)
|
||||
|
||||
- 事件类:Yansongda\Pay\Events\RequestReceived
|
||||
- 别名: Yansongda\Pay\Events::REQUEST_RECEIVED
|
||||
- 说明:此事件将在收到支付方的请求(通常在异步通知或同步通知)时抛出
|
||||
- 额外数据:
|
||||
- $driver (支付机构)
|
||||
@ -68,6 +74,7 @@ SDK 使用 [symfony/event-dispatcher](https://github.com/symfony/event-dispatche
|
||||
- yansongda.pay.method.called (Yansongda\Pay\Events\MethodCalled)
|
||||
|
||||
- 事件类:Yansongda\Pay\Events\MethodCalled
|
||||
- 别名: Yansongda\Pay\Events::METHOD_CALLED
|
||||
- 说明:此事件将在调用除 PAYMETHOD 方法(例如,查询订单,退款,取消订单)时抛出
|
||||
- 额外数据:
|
||||
- $driver (支付机构)
|
||||
|
Loading…
Reference in New Issue
Block a user