Browse Source

Stripe

refactoring
Guillaume 3 years ago
parent
commit
69ad3ae14b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      backend/controllers/StripeController.php

+ 1
- 1
backend/controllers/StripeController.php View File



// Handle the event // Handle the event
switch ($event->type) { switch ($event->type) {
case 'payment_intent.succeeded':
case 'charge.succeeded':
$paymentIntent = $event->data->object; $paymentIntent = $event->data->object;


$creditHistory = new CreditHistory; $creditHistory = new CreditHistory;

Loading…
Cancel
Save