'hidden', // 'hash' => $this->context['hash'], // 'action' => 'payment', // 'invoices' => [ // $this->context['form']['invoice_hashed_id'], // ], // 'payable_invoices' => [ // [ // 'amount' => $this->context['form']['payable_amount'], // 'invoice_id' => $this->context['form']['invoice_hashed_id'], // ], // ], // 'company_gateway_id' => $this->context['form']['company_gateway_id'], // 'payment_method_id' => $this->context['form']['payment_method_id'], // 'contact_first_name' => $this->context['contact']['first_name'], // 'contact_last_name' => $this->context['contact']['last_name'], // 'contact_email' => $this->context['contact']['email'], // ]); // return redirect((new InstantPayment($request))->run()); $this->dispatch('purchase.submit'); } public function render() { return <<<'HTML'
HTML; } }