Paypal Certificate Integration with PHP / CakePHP
I saw this link for Paypal Certificate Generator. Is there any free tool to create certificates for PayPal encrypted website payments?
how can i apply my certificates, private key and OpenSSL to this code? can anyone have a tutorial, links or sample code for this?
var $test = array(
'business' => 'asdfghjk@gmail.com', // 'live_email@paypal.com', //Your Paypal email account
'server' => 'https://www.paypal.com', // Main paypal server.
// 'notify_url' => 'http://www.qwertyuiop.com/paypal/paypals/add',
'notify_url' => 'http://localhost/cakephp/paypals/add',
// 'http://test.yoursite.com/paypal_ipn/process',
// Notify_url... set this to the process path of your
// paypal_ipn::instant_payment_notification::process action
'currency_code' => 'USD', // Currency
'lc' => 'US', // Locality
'item_name' => 'Paypal_IPN', // Def_ault item name.
'amount' => '15.00', // Default item amount.
'encrypt' => true // Set to true to enable encryption
);
var $encryption_default = array(
'cert_id' => 'V2B7XWQF963HA', // Certificate ID (gotten after certificate uploaded to paypal)
'key_file' => 'C:\xampp\htdocs\cakephp\app\webroot\files\cert_key.pem', // Absolute path to Private Key File
'cert_file' => 'C:\xampp\htdocs\cakephp\app\webroot\files\paypal_cert.pem', // Absolute path to Public Certificate file
'paypal_cert_file' => 'C:\xampp\htdocs\cakephp\app\webroot\files\paypal_cert.pem', // Absolute path to Paypal certificate file
'openssl' => 'C:\OpenSSL\bin\openssl', // OpenSSL location
'bn' => 'PaypalIpn.Paypal', // Build Notation
);
By the way, I am using the Paypal.IPN plugin in CakePHP. Thank!
+3
source to share
No one has answered this question yet
See similar questions:
or similar: