1.0.2
Date: Wednesday, June 08, 2016
- Add
refund
function to Billable
$invoice = $userModel->findInvoice('invoice_id');
$refund = $userModel->refund($invoice->charge);
var_dump($refund->amount); // show refund amount
- Invoice date now uses UTC for instantiation since Stripe's API uses UTC for all dates
- Fix handling data from the stripe webhooks