|
@@ -102,13 +102,16 @@ class PaymentController extends Controller
|
|
|
]
|
|
|
]
|
|
|
]
|
|
|
- ],
|
|
|
+ ]
|
|
|
+ ],
|
|
|
"application_context" => [
|
|
|
"cancel_url" => route('payment.cancel'),
|
|
|
"return_url" => route('payment.success', ['product' => $paypalProduct->id]),
|
|
|
'brand_name' => config('app.name', 'Laravel'),
|
|
|
'shipping_preference' => 'NO_SHIPPING'
|
|
|
]
|
|
|
+
|
|
|
+
|
|
|
];
|
|
|
|
|
|
|