PDA

View Full Version : osCommerce PayPal IPN Module v1.0 For 2.2MS2



michael_s
04-26-2009, 11:01 AM
this fixes a bug where the temp "working" directory likes to delete itself on some servers.

goto paypal_ipn.php in /catalog/includes/modules/payment/

around line 542 find the 1st fopen for the working directory and add this BEFORE it:

if (!file_exists(MODULE_PAYMENT_PAYPAL_IPN_EWP_WORKIN G_DIRECTORY)) {
mkdir(MODULE_PAYMENT_PAYPAL_IPN_EWP_WORKING_DIRECT ORY, 0755);
}


just a check to see if the temp working directory exists 1st, and if it doesnt then it creates it.



the attachment is a fake file. dont download it.



More... (http://addons.oscommerce.com/info/2679)