Sep 5, 2018 · 1 min read
You also say in the beginning…..
For the sake of simplicity I have created an
App\Billmodel with asourceandchargestring field.
Yet you later use:
App\Bill::create(['source_id' => $source->id]);and
$bill->update(['charge_id' => $charge->id]);Should these not be just source and charge instead of source_id and charge_id?