Skip to content

Commit

Permalink
load paypal credentials from config.inc.php elplatt#253
Browse files Browse the repository at this point in the history
load paypal credentials from config.inc.php elplatt#253
  • Loading branch information
chris18890 committed May 8, 2014
1 parent 7c70feb commit f05e33a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions crm/modules/paypal_payment/paypalfunctions.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<?php
global $config_paypal_API_UserName;
global $config_paypal_API_Password;
global $config_paypal_API_Signature;
/********************************************
PayPal API Module
Expand All @@ -15,9 +18,9 @@
//' Replace <API_PASSWORD> with your API Password
//' Replace <API_SIGNATURE> with your Signature
//'------------------------------------
$API_UserName="<API_USERNAME>";
$API_Password="<API_PASSWORD>";
$API_Signature="<API_SIGNATURE>";
$API_UserName = $config_paypal_API_UserName;
$API_Password = $config_paypal_API_Password;
$API_Signature = $config_paypal_API_Signature;

// BN Code is only applicable for partners
$sBNCode = "PP-ECWizard";
Expand Down

0 comments on commit f05e33a

Please sign in to comment.