Permalink
Browse files

Fixing valid confi

  • Loading branch information...
sudiptpa committed May 20, 2018
1 parent dccf71e commit 75a958598babaa683204d1d90fa03a3ce718b25f
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/PayPal.php
@@ -79,7 +79,7 @@ public function getReturnUrl($order)
*/
public function getNotifyUrl($order)
{
$env = config('paypal.credentials.sandbox') ? "sandbox" : "live";
$env = config('services.paypal.sandbox') ? "sandbox" : "live";
return route('webhook.paypal.ipn', [$order->id, $env]);
}

0 comments on commit 75a9585

Please sign in to comment.