Skip to content

1.0.2

Compare
Choose a tag to compare
@ihorchepurnyi ihorchepurnyi released this 08 Jun 13:05
· 49 commits to master since this release

Date: Wednesday, June 08, 2016

  1. Add refund function to Billable
$invoice = $userModel->findInvoice('invoice_id');
$refund = $userModel->refund($invoice->charge);
var_dump($refund->amount); // show refund amount
  1. Invoice date now uses UTC for instantiation since Stripe's API uses UTC for all dates
  2. Fix handling data from the stripe webhooks