Skip to content

Instantly share code, notes, and snippets.

@cursosdesarrolloweb
Last active Jul 7, 2020
Embed
What would you like to do?
<?php
$invoice_id = $payload['data']['object']["invoice"];
$order->update([
'invoice_id' => $invoice_id,
'status' => Order::SUCCESS
]);
Mail::to($user->email)->send(
new StudentNewOrder($user, $order)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment