From db7c6b67b3379eac0f92fff7c0c3c3e9ea0e0e28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cihan=20=C5=9Eent=C3=BCrk?= Date: Wed, 20 Jan 2021 16:29:19 +0300 Subject: [PATCH] paypal-standard portal payment not working --- modules/PaypalStandard/Http/Controllers/Payment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/PaypalStandard/Http/Controllers/Payment.php b/modules/PaypalStandard/Http/Controllers/Payment.php index 9e85bcd1b..2cf353ffb 100644 --- a/modules/PaypalStandard/Http/Controllers/Payment.php +++ b/modules/PaypalStandard/Http/Controllers/Payment.php @@ -27,7 +27,7 @@ class Payment extends PaymentController $invoice_url = $this->getInvoiceUrl($invoice); - $html = view('paypal-standard::show', compact('setting', 'document', 'document_url'))->render(); + $html = view('paypal-standard::show', compact('setting', 'invoice', 'invoice_url'))->render(); return response()->json([ 'code' => $setting['code'],