charge id

This commit is contained in:
Chris Smith
2019-06-02 12:01:55 -05:00
parent ea7b1a0feb
commit 5515b2a717

View File

@@ -262,7 +262,7 @@ $router->post('/admin/guest/checkout/{id}', function ($id) {
'currency' => 'usd',
'customer' => $guest->stripe_id,
]);
$guest->checkout_stripe_id = $charge;
$guest->checkout_stripe_id = $charge->id;
}
$client = new Postmark\PostmarkClient($_SERVER['POSTMARK_API_KEY']);