Discount !! E-commerce App With Backend Source Code Video and Voice Chatting App Firebase Chatting App Source Code Complete Gym App BLoC State Management Source Code Complete Study App Buy Ticket Booking App Source Code Payment App Buy Travel App With Backend Source Code Complete Chat App Udemy Course Special Offer Discount !! Online Learning Course App (BLoC) Discount !! Online Learning Course App (Riverpod) Discount !! Online Learning Course App (Getx)
Laravel E-commerce Config for Payment Status
Put the below code in the helpers.php class.
public static function get_business_settings($name) { $config = null; $paymentmethod = BusinessSetting::where('key', $name)->first(); if ($paymentmethod) { $config = json_decode(json_encode($paymentmethod->value), true); $config = json_decode($config, true); } return $config; }