Seditio Source
Root |
./othercms/xenForo 2.2.8/src/XF/Pub/View/Purchase/TwoCheckoutInitiate.php
<?php

namespace XF\Pub\View\Purchase;

use
XF\Mvc\View;

/**
 * @property \XF\Mvc\Renderer\Json $renderer
 */
class TwoCheckoutInitiate extends View
{
    public function
renderJson()
    {
       
$params = $this->getParams();

        return [
           
'providerHtml' => $this->renderer->getHtmlOutputStructure(
               
$this->renderTemplate($this->getTemplateName(), $params)
            )
        ] +
$params;
    }
}