You are here

public function PayPalController::ipn in Ubercart 8.4

Processes the IPN HTTP request.

Parameters

\Symfony\Component\HttpFoundation\Request $request: The request of the page.

Return value

\Symfony\Component\HttpFoundation\Response An empty Response with HTTP status code 200.

1 string reference to 'PayPalController::ipn'
uc_paypal.routing.yml in payment/uc_paypal/uc_paypal.routing.yml
payment/uc_paypal/uc_paypal.routing.yml

File

payment/uc_paypal/src/Controller/PayPalController.php, line 91

Class

PayPalController
Returns responses for PayPal routes.

Namespace

Drupal\uc_paypal\Controller

Code

public function ipn(Request $request) {
  $this
    ->processIpn($request->request
    ->all());
  return new Response();
}