Displaying 2 results from an estimated 2 matches for "business_key".
Did you mean:
business_day
2006 Jun 29
0
Problem getting encrypted submit buttons working with the paypal gem and rails 1.1.2
...is wonderful. When I
try to encrypt the form though, all I get is the error message "We
were unable to authorize the transaction. Please contact your
merchant.", which is ... unhelpful.
I generated a key and public certificate with the following ssl
commands:
openssl genrsa -out business_key.pem 1024
openssl req -new -key business_key.pem -x509 -days 3650 -out
business_cert.pem
I load the keys with the following code in my controller
@our_privatekey = File::read("#{RAILS_ROOT}/config/
business_key.pem")
@our_pubcert = File::read("#{RAILS_ROOT}/config/busine...
2006 Jun 27
0
paypal openssl keys
I''m working with the paypal gem and have created the openssl keys for
testing through the sandbox. I''ve included the following lines per the
instructions in my controller:
@business_key = File::read("business_key.pem")
@business_cert = File::read("business_cert.pem")
@business_certid = "Z9EFBYAK59D234"
It''s returning this error:
Errno::ENOENT
No such file or directory - business_key.pem
Where should the key files reside in my rails app? So...