src/Frontend/Modules/Commerce/Actions/Cart.php
/**
     * Handle the webhook which is called by the payment provider.
     *
     * @throws \Exception
     */
Handle the webhook which is called by the payment provider.
@throws \Exception
Handle the webhook which is called by the payment provider . @throws \ Exception
private function runWebhook(): string
    {
        $paymentMethod = $this->getPaymentMethod($this->getRequest()->get('payment_method'));
        $paymentMethod->setRequest($this->getRequest());
        return $paymentMethod->runWebhook();
    }
private function runWebhook ( ) : string { $ paymentMethod = $ this -> getPaymentMethod ( $ this -> getRequest ( ) -> get ( 'payment_method' ) ) ; $ paymentMethod -> setRequest ( $ this -> getRequest ( ) ) ; return $ paymentMethod -> runWebhook ( ) ; }
Handle the webhook which is called by the payment provider.
Handle the webhook which is called by the payment provider .
// Start the payment