stripe test

This commit is contained in:
Tokumeikoi 2020-06-04 18:12:53 +08:00
parent 15a3f16b9f
commit b001f54b84

View File

@ -76,7 +76,7 @@ class OrderController extends Controller
]);
die('success');
break;
case 'source.succeeded':
case 'charge.succeeded':
$source = $event->data->object;
if ($source->status === 'succeeded') {
$metaData = $source->metadata;