소스 검색

Show description instead of display

Anon Dev 4 년 전
부모
커밋
cdd75b4841
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)