Skip to content

Commit

Permalink
Merge pull request #2 from dangeroustry/master
Browse files Browse the repository at this point in the history
Import missing configs
  • Loading branch information
srmklive committed Dec 29, 2015
2 parents 468839c + a7d67a9 commit 499d714
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/PayPalRequestTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ private static function setConfig()
self::$config['gateway_url'] = 'https://www.paypal.com';
}

// Adding params outside sandbox / live array
self::$config['payment_action'] = $paypal['payment_action'];
self::$config['currency'] = $paypal['currency'];
self::$config['notify_url'] = $paypal['notify_url'];

unset($paypal);
}

Expand Down

0 comments on commit 499d714

Please sign in to comment.