PATH:
home
/
letacommog
/
letaweb
/
admin
/
classes
/
payments
/
paypal-merchant-sdk
/
samples
<?php class Configuration { // For a full list of configuration parameters refer in wiki page (https://github.com/paypal/sdk-core-php/wiki/Configuring-the-SDK) public static function getConfig() { $config = array( // values: 'sandbox' for testing // 'live' for production 'mode' => 'sandbox', 'log.LogEnabled' => true, 'log.FileName' => '../PayPal.log', 'log.LogLevel' => 'FINE', // These values are defaulted in SDK. If you want to override default values, uncomment it and add your value. // "http.ConnectionTimeOut" => "5000", // "http.Retry" => "2", ); return $config; } // Creates a configuration array containing credentials and other required configuration parameters. public static function getAcctAndConfig() { $config = array( // Signature Credential 'acct1.UserName' => 'jb-us-seller_api1.paypal.com', 'acct1.Password' => 'WX4WTU3S8MY44S7F', 'acct1.Signature' => 'AFcWxV21C7fd0v3bYYYRCpSSRl31A7yDhhsPUU2XhtMoZXsWHFxu-RWy', // Subject is optional and is required only in case of third party authorization //"acct1.Subject" => "", // Sample Certificate Credential // "acct1.UserName" => "certuser_biz_api1.paypal.com", // "acct1.Password" => "D6JNKKULHN3G5B8A", // Certificate path relative to config folder or absolute path in file system // "acct1.CertPath" => "cert_key.pem", // "acct1.AppId" => "APP-80W284485P519543T" ); return array_merge($config, self::getConfig()); } }
[+]
..
[-] Response.php
[edit]
[+]
SimpleSamples
[+]
AdminCalls
[+]
MassPay
[+]
PaymentSettlements
[+]
ExpressCheckout
[-] cert_key.pem
[edit]
[-] Error.php
[edit]
[+]
AccountAuthentication
[+]
RecurringPayments
[+]
BillingAgreements
[-] PPAutoloader.php
[edit]
[+]
Common
[-] index.php
[edit]
[-] install.php
[edit]
[+]
Onboarding
[-] composer.json
[edit]
[+]
IPN
[-] PPBootStrap.php
[edit]
[-] Configuration.php
[edit]
[+]
DirectPayment
[-] .gitignore
[edit]
[+]
Permissions