Apr 28, 2017
0
Level 1
'How to Accept Payments: Events and Webhooks' - cannot forceUpdate?
$ php artisan tinker
App\User::first();
=> App\User {#670
id: "1",
name: "Seb C",
email: "[email protected]",
stripe_id: "cus_AZB9R0PznbqlkN",
stripe_active: "1",
subscription_end_at: null,
created_at: "2017-04-29 01:47:28",
updated_at: "2017-04-29 21:07:37",
}
App\User::first()->forceUpdate(['stripe_id' => 'cus_00000000000000']);
BadMethodCallException with message 'Call to undefined method
Illuminate\Database\Query\Builder::forceUpdate()'
Please or to participate in this conversation.