Modules/Payment/Http/Controllers/PaymentController.php
/**
       * Responds with a welcome message with instructions
       *
       * @return \Illuminate\Http\Response
       */
Responds with a welcome message with instructions
@return \Illuminate\Http\Response
Responds with a welcome message with instructions @return \ Illuminate \ Http \ Response
public function success(Request $request)
      {
          $response = $provider->getExpressCheckoutDetails($request->token);
          if (in_array(strtoupper($response['ACK']), ['SUCCESS', 'SUCCESSWITHWARNING'])) {
              dd('Your payment was successfully. You can create success page here.');
          }
          dd('Something is wrong.');
      }
public function success ( Request $ request ) { $ response = $ provider -> getExpressCheckoutDetails ( $ request -> token ) ; if ( in_array ( strtoupper ( $ response [ 'ACK' ] ) , [ 'SUCCESS' , 'SUCCESSWITHWARNING' ] ) ) { dd ( 'Your payment was successfully. You can create success page here.' ) ; } dd ( 'Something is wrong.' ) ; }
Responds with a welcome message with instructions
 @return \Illuminate\Http\Response
Responds with a welcome message with instructions @return \ Illuminate \ Http \ Response