[SOLVED] Paypal Button Encryption on CI Problem

#11
[eluser]Ben Edmunds[/eluser]
Can you post the solution for future readers of this thread?


Thanks,

#12
[eluser]dale88[/eluser]
what i did was i created a cert folder outside system folder. In there i placed all the certificates then i configured .htaccess to redirect the cert folder to index.php. So the script should like the one below. Don't put base_url() otherwise it won't work


$paypal->setUserCertificate("cert/public-cert.pem", "cert/private-key.pem");


$paypal->setPaypalCertificate("cert/paypal_public_cert.pem");

$paypal->setPaypalCertificateID("7GU38MNDJEGM8");


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.