skip to Main Content

Php versions – Laravel Cashier paymentMethods() return always empty object result

Cashier Version: ^10.5 Laravel Version: ^6.0 PHP Version: 7.3.5 Database Driver & Version: Description: paymentMethods() retrieve always array with empty object. public function userAllPaymentMethods(Request $request) { $user = User::find(5); $paymentMethod = $user->paymentMethods(); return response($paymentMethod); } Result : https://www.screencast.com/t/aqenaud77A Also using…

VIEW QUESTION
Back To Top
Search