Hi,
I'm setting up a website with a custom built shopping basket which I want to link in with Paypal.
I have it all done except I'm having trouble getting the button encryption working using OpenSSL.
I have all the certificates done and uploaded to Paypal but when I use this function;
$myPublicKey = openssl_pkey_get_public("requires/paypal/my-pubcert.pem");
openssl_public_encrypt($data, $crypttext, $myPublicKey);
It produces this error;
Now I originally did my own research to try to solve this problem but have been unable to do so which is why I'm hear, My findings indicated towards the openssl.cnf which could well be the issue as I haven't indicated in any code the location of the file, but I don't know how or where I do that.
Any help with this is appreciated.
Scarz