Browse Source

Merge branch 'dev'

master
Guillaume 3 years ago
parent
commit
f6655a9ec1
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