Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

need help configuring ipn stuff


dogmir

Recommended Posts

Posted

i can get ipn to work fine without ssl but when i throw encryption into the pot everything goes out the window....i get a stream of errors on the last page before it makes the jump to paypal....it says that basicly everything fails to open,write, close, etc...it goes on to mention private keys and what not...i set up the module with the only info i could really find on the subject....but apparently it didnt work....so i will run down what i did...

 

Enable PayPal IPN Module

True

 

E-Mail Address

[email protected]

 

Transaction Currency

Only USD

 

Payment Zone

--none--

 

Set Preparing Order Status

Preparing [PayPal IPN]

 

Set PayPal Acknowledged Order Status

default

 

Gateway Server

Live

 

Transaction Type

Aggregate

 

Page Style

 

 

Debug E-Mail Address

 

 

Sort order of display.

0

 

Enable Encrypted Web Payments

True

 

Your Private Key

/home/mysite/ssl/private/www.mysite.com.key

 

Your Public Certificate

/home/mysite/ssl/certs/www.mysite.com.crt

 

PayPals Public Certificate

/home/mysite/public_html/ext/modules/payment/paypal_ipn/paypal_cert_pem.pem

 

Your PayPal Public Certificate ID

V4BHYGBSH38RC

 

Working Directory

/home/mysite/public_html/

 

OpenSSL Location

/usr/bin/openssl

 

does all that look ok or i am i mucking something up with the certs?

Posted

If you get f_open, f_close errors etc then it's usually due to incorrect permissions on the folders the module needs to access. Folder permissions need to be either 755 or 777. However, I am unsure as to how those permissions would work with openssl and with the locations where your private key and crt are stored.

 

Vger

Posted

changing the permisions didnt work i am gonna tryand reinstall the ipn files and see if that will help

Posted

still getting errors...can anyone out there please help

 

here is the rundown on the errors:

 

Warning: fopen(/home/mysite/public_html//347904-4-data.txt): failed to open stream: Permission denied in /home/mysite/public_html/includes/modules/payment/paypal_ipn.php on line 349

 

Warning: fwrite(): supplied argument is not a valid stream resource in /home/mysite/public_html/includes/modules/payment/paypal_ipn.php on line 350

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/mysite/public_html/includes/modules/payment/paypal_ipn.php on line 351

 

Warning: file_get_contents(/home/mysite/ssl/certs/www.mysite.com.crt): failed to open stream: Permission denied in /home/mysite/public_html/includes/modules/payment/paypal_ipn.php on line 356

 

Warning: file_get_contents(/home/mysite/ssl/private/www.mysite.com.key): failed to open stream: Permission denied in /home/mysite/public_html/includes/modules/payment/paypal_ipn.php on line 356

 

Warning: openssl_pkcs7_sign(): error getting private key in /home/mysite/public_html/includes/modules/payment/paypal_ipn.php on line 356

 

Warning: unlink(/home/mysite/public_html//347904-4-data.txt): No such file or directory in /home/mysite/public_html/includes/modules/payment/paypal_ipn.php on line 358

 

Warning: file_get_contents(/home/mysite/public_html//347904-4-signed.txt): failed to open stream: No such file or directory in /home/mysite/public_html/includes/modules/payment/paypal_ipn.php on line 361

 

Warning: fopen(/home/mysite/public_html//347904-4-signed.txt): failed to open stream: Permission denied in /home/mysite/public_html/includes/modules/payment/paypal_ipn.php on line 365

 

Warning: fwrite(): supplied argument is not a valid stream resource in /home/mysite/public_html/includes/modules/payment/paypal_ipn.php on line 366

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/mysite/public_html/includes/modules/payment/paypal_ipn.php on line 367

 

Warning: file_get_contents(/home/mysite/public_html/ext/modules/payment/paypal_ipn/paypal_cert_pem.pem): failed to open stream: No such file or directory in /home/mysite/public_html/includes/modules/payment/paypal_ipn.php on line 371

 

Warning: unlink(/home/mysite/public_html//347904-4-signed.txt): No such file or directory in /home/mysite/public_html/includes/modules/payment/paypal_ipn.php on line 373

 

Warning: file_get_contents(/home/mysite/public_html//347904-4-encrypted.txt): failed to open stream: No such file or directory in /home/mysite/public_html/includes/modules/payment/paypal_ipn.php on line 376

 

Warning: unlink(/home/mysite/public_html//347904-4-encrypted.txt): No such file or directory in /home/mysite/public_html/includes/modules/payment/paypal_ipn.php on line 380

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...