jeudi 28 février 2019

Laravel payment integration page goes blank

Code below

public function PayCCAvenue(Request $request)
        {
            $parameters = [

                'tid' => '1233221223322',
                'order_id' => '1232212',
                'amount' => '1200.00',
                'firstname'=>'test',
                'email'=>'email@fffm.com',
                'phone'=>'7736190194',
                'productinfo'=>'sfszgvfsg'

            ];



            // gateway = CCAvenue 

            $order = Payment::gateway('CCAvenue')->prepare($parameters);
           //dd(Payment::process($order));
            return Payment::process($order);

        }

After return Payment::process($order); page goes blank. dd(Payment::process($order)); giving result. tried different laravel packages. same issue



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire