This problem is fixable on 1&1 servers by using the newer php5/curl/libcurl:
Rename the file
/ipn_main_handler.php
to
/ipn_main_handler.php5
Edit
/includes/modules/payment/paypal.php
Line 212
Code:
'notify_url' => zen_href_link('ipn_main_handler.php5', '', 'SSL',false,false,true),
Edit
/includes/modules/payment/paypalwpp.php
Line 206
Code:
$this->form_action_url = zen_href_link('ipn_main_handler.php5', 'type=ec&markflow=1&clearSess=1&stage=final', 'SSL', true, true, true);
Line 959
Code:
return zen_href_link('ipn_main_handler.php5', 'type=ec&clearSess=1', 'SSL', true,true, true);
Line 1601
Code:
$return_url = zen_href_link('ipn_main_handler.php5', 'type=ec', 'SSL', true, true, true);
Edit
/includes/modules/payment/paypal/paypal_curl.php
Line 170
Code:
$values['NOTIFYURL'] = urlencode(zen_href_link('ipn_main_handler.php5', '', 'SSL',false,false,true));
Line 203
Code:
$values['NOTIFYURL'] = urlencode(zen_href_link('ipn_main_handler.php5', '', 'SSL',false,false,true));
Edit
/includes/modules/payment/paypal/paypal_functions.php
Line 354
Code:
$address = HTTP_SERVER . DIR_WS_CATALOG . 'ipn_main_handler.php5?' . $postdata;
Edit
/includes/modules/payment/paypal/tpl_ec_button.php
Code:
<a href="<?php echo zen_href_link('ipn_main_handler.php5', 'type=ec', 'SSL', true, true, true); ?>"><img src="<?php echo MODULE_PAYMENT_PAYPALWPP_EC_BUTTON_IMG ?>" alt="<?php echo MODULE_PAYMENT_PAYPALWPP_TEXT_BUTTON_ALTTEXT; ?>" /></a>
You should also sign in to PayPal and change:
Profile -> Instant Payment Notification Preferences -> Instant Payment Notification (IPN) URL
to
http://www.mysite.com/ipn_main_handler.php5
If you are concerned with the language files telling you the correct URL to use you can also change:
/includes/languages/english/modules/payments/paypal.php
Line 13
And
/includes/languages/english/modules/payments/paypalwpp.php
Line 20
DrByte thank you for taking the time to look at this, it jolted me into fix mode!
:)