renderPayPalView example

'success' => true,
            'message' => 'domainRegistered',
        ]);
    }

    /** * The payPalStartViewAction renders the start screen of the PayPal integration in the * First-Run-Wizard. */
    public function payPalStartViewAction(): void
    {
        $this->renderPayPalView('start');
    }

    /** * renderPayPalView is a helper-method to render templates for the PayPal integration in * the First-Run-Wizard. */
    private function renderPayPalView(string $view): void
    {
        $this->get('plugins')->Controller()->ViewRenderer()->setNoRender(false);
        $this->Front()->Plugins()->Json()->setRenderer(false);

        
Home | Imprint | This part of the site doesn't use cookies.