Browse Source

Show description instead of display

Anon Dev 4 years ago
parent
commit
cdd75b4841
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/Admin/PaymentController.php

+ 1 - 1
app/Http/Controllers/Admin/PaymentController.php

@@ -60,7 +60,7 @@ class PaymentController extends Controller
             "purchase_units"      => [
                 [
                     "reference_id" => uniqid(),
-                    "description" => $paypalProduct->display,
+                    "description" => $paypalProduct->description,
                     "amount"       => [
                         "value"         => $paypalProduct->price,
                         "currency_code" => strtoupper($paypalProduct->currency_code)