正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -187,7 +187,7 @@ class PayStripeApi | @@ -187,7 +187,7 @@ class PayStripeApi | ||
| 187 | default: | 187 | default: |
| 188 | throw new \Exception('Unhandled event type: ' . $eventType); | 188 | throw new \Exception('Unhandled event type: ' . $eventType); |
| 189 | } | 189 | } |
| 190 | - return 1; | 190 | + return $event; |
| 191 | } catch (Exception $e) { | 191 | } catch (Exception $e) { |
| 192 | throw new \Exception('Webhook Error: ' . $e->getMessage()); | 192 | throw new \Exception('Webhook Error: ' . $e->getMessage()); |
| 193 | } | 193 | } |
-
请 注册 或 登录 后发表评论