AlexStudio Posted January 25, 2008 Share Posted January 25, 2008 Ask your host if the server is blocking outbound connections from scripts. Quote Super Download Shop, PayPal Express Checkout IPN, Selling Downloads, Visual Validation (preventing robotic flood), phpBB2 Integration Yes, I'm willing to help, but please ask in the right place. Think twice before trying to PM me, it might be ignored. Link to comment Share on other sites More sharing options...
cyberguyca Posted January 25, 2008 Share Posted January 25, 2008 I've noticed when customers choose this option in the checkout_payment.php page and click next the order is logged in the admin panel not in the checkout_confirmation.php page which causes issues. If they edited the payment method from this option to another then it will create two orders for the same customer...are you aware of this? and if so will there be a fix that it will only log the order in the admin panel after you confirm the order in the checkout process not during the process... Nobody :-" Quote Link to comment Share on other sites More sharing options...
Merlisk Posted January 25, 2008 Share Posted January 25, 2008 Ask your host if the server is blocking outbound connections from scripts. I've sent an email to our support person. Is there a way to test this myself? Since I have shell access, could I do something like "telnet <some URL> 80" to see if it responds? Or, perhaps, use lynx or curl? For instance, I can do "lynx www.paypal.com" successfully. Quote Link to comment Share on other sites More sharing options...
AlexStudio Posted January 25, 2008 Share Posted January 25, 2008 For IPN to work, ipn.php has to 'POST' back all parameters received to PayPal. Since you have shell access to your server, you should try the ipn.php debugging code first. Please search in this thread for it. Quote Super Download Shop, PayPal Express Checkout IPN, Selling Downloads, Visual Validation (preventing robotic flood), phpBB2 Integration Yes, I'm willing to help, but please ask in the right place. Think twice before trying to PM me, it might be ignored. Link to comment Share on other sites More sharing options...
AlexStudio Posted January 25, 2008 Share Posted January 25, 2008 This PayPal IPN module creates 'pre-mature' orders in database to prevent losing orders which happens with the stock PayPal module came with osCommerce older than 2.2RC2. If you see these 'pre-mature' orders as a problem, there are other PayPal modules which don't need to create pre-mature orders such as those utilizing the PayPal Express Checkout API. Quote Super Download Shop, PayPal Express Checkout IPN, Selling Downloads, Visual Validation (preventing robotic flood), phpBB2 Integration Yes, I'm willing to help, but please ask in the right place. Think twice before trying to PM me, it might be ignored. Link to comment Share on other sites More sharing options...
phoelis Posted January 25, 2008 Share Posted January 25, 2008 Thks Alex, after checking the script error as you said. i get that: Warning: Cannot modify header information - headers already sent by (output started at /usr/local/psa/home/vhosts/mydomain.com/httpdoc/includes/languages/french/modules/payment/paypal_ipn.php:1) in /usr/local/psa/home/vhosts/mydomain.com/httpdoc/includes/functions/general.php on line 33 line 33 is : header('Location: ' . $url); on the function stated below function tep_redirect($url) { if ( (strstr($url, "\n") != false) || (strstr($url, "\r") != false) ) { tep_redirect(tep_href_link(FILENAME_DEFAULT, '', 'NONSSL', false)); } if ( (ENABLE_SSL == true) && (getenv('HTTPS') == 'on') ) { // We are loading an SSL page if (substr($url, 0, strlen(HTTP_SERVER)) == HTTP_SERVER) { // NONSSL url $url = HTTPS_SERVER . substr($url, strlen(HTTP_SERVER)); // Change it to SSL } } header('Location: ' . $url); tep_exit(); } best regards phoelis Hello Alex. just an update that will maybe help others if they have the same case. As i m frebch speaking I use accent ! Therefore it's really important to set up the language and ISO code on ISO 8859-1 (preferences on paypall). Now all it s working properly. Great Thanks Alex for all your support ! Phoelis Quote Link to comment Share on other sites More sharing options...
berthz Posted January 25, 2008 Share Posted January 25, 2008 Hi! I have just installed PayPal IPN on a website I am working on (4memory.nl). However the thing is that I have enabled the module in the admin but it is not appearing/showing as a payment option when checking out. In the install file there is something about the sorting order, however I have given it a unique number. Uninstalling the normal PayPal module also does not work (clicking on deinstall in the modules). Anyone know what the problem might be? Thanks in advance! Quote Link to comment Share on other sites More sharing options...
avail1now Posted January 26, 2008 Share Posted January 26, 2008 I would like to bypass the first screen and go directly to the creditcard-payment, instead of having to: Don't have a PayPal account?Use your credit card or bank account (where available). Continue. This PayPal-module bypasses the first screen: http://www.oscommerce.com/community/contributions,5655/ Is it possible to implement this function ? And is anybody up for it ? Thanks ! Regards jarzom Great question, we asked the same on 12/31 and again on 1/4 in this forum. No reply. We asked it in a seperate topic on 1/11 . Still no reply. You would think a lot of shop owners would love to have this feature. Go figure. Have you tried Harald's new contrib 5655 together with paypal ipn? It would be worthwhile to note why would Harald develop this contrib when the osComm team took over development of contrib 2679 as a core payment module? Quote cheers, Bridgette & Deano my contributions: tableless CSS template login form for STSresources: effective searching knowledge base how to: sandbox with Paypal IPN Link to comment Share on other sites More sharing options...
AndreD Posted January 26, 2008 Share Posted January 26, 2008 Hi. My paypal IPN does not work ! people pay, but the order is still "preparing". I've even enabled paypal to use autoreturn "http://www.sitename.no/checkout_process.php please help ! Quote Link to comment Share on other sites More sharing options...
AndreD Posted January 27, 2008 Share Posted January 27, 2008 (edited) Hi. My paypal IPN 2.3.3 does not know when people pay ! people pay, but the order is still "preparing". I've even enabled paypal to use autoreturn "http://www.sitename.no/checkout_process.php CURL support enabled CURL Information libcurl/7.15.4 OpenSSL/0.9.7d zlib/1.2.3 OSC RC1 Register Globals is ON If I only could trig the order manually to become a real order and substract items from stock ... I would have been helped. Edited January 27, 2008 by AndreD Quote Link to comment Share on other sites More sharing options...
AlexStudio Posted January 28, 2008 Share Posted January 28, 2008 Please check this link if you have access to your server error log, for advanced IPN troubleshooting. Quote Super Download Shop, PayPal Express Checkout IPN, Selling Downloads, Visual Validation (preventing robotic flood), phpBB2 Integration Yes, I'm willing to help, but please ask in the right place. Think twice before trying to PM me, it might be ignored. Link to comment Share on other sites More sharing options...
dumbassgeek Posted January 28, 2008 Share Posted January 28, 2008 First chek whether IPn are getting posted. Place some write code in the IPN.php file and see if IPNs are coming. If no then YOu need to chek Paypal profile for set IPN to on plus allow post. If Yes then You need to analyse what was posted and where it went wrong. Satish I'm a bit useless how exactly would I do this? The IPN is set to on, always has been. Nothing has changed with that apart from my hosting. How do I extract what is being posted and what would I be looking for within this information? A couple of points. My paypal IPN was working up until I changed hosts. I installed a completely fresh install of oscommerce on my same hosting package under a new domain name and the paypal ipn doesn't work with it either. I'm thinking it may be something to do with the hosts as a fresh install is not working either. Could it be the hosting package? If so what? and what would I ask them to check/look for when contacting support? Thanks Quote Link to comment Share on other sites More sharing options...
Merlisk Posted January 29, 2008 Share Posted January 29, 2008 For IPN to work, ipn.php has to 'POST' back all parameters received to PayPal. Since you have shell access to your server, you should try the ipn.php debugging code first. Please search in this thread for it. Great news! The ipn.php debug code worked perfectly. However, it failed again when I went back to the original code. This defeats the purpose of using the debug code. heh. My diff on the two files shows significant differences (other than just the error logging). I think I'll just use Terra's debug code w/ the error logging commented out. :) Now, I just need to figure out what's needed to add Alex's SuperDownload code into that new file. :) Quote Link to comment Share on other sites More sharing options...
Merlisk Posted January 29, 2008 Share Posted January 29, 2008 I've a question on timing... How fast is the 'instant' in IPN really for most folks? I'm seeing a 3-6 minute delay between the order is submitted and PayPal responds back with a PayPal IPN Verified. For most people, that's probably not an issue. But, I'm trying to do a real-time modification to a back-end system (not really relevant here.) The PayPal module responds instantly, but the PayPal IPN is slower. Is this normal? I'm trying to set my expectations. I may have to modify OsCommerce to handle this delay with a cron'd dB scrape to check when I get a verify back. But, before I go that route, I was wondering if this a normal timeframe. Example: ... [28-Jan-2008 21:43:40] PP TEST start [28-Jan-2008 21:43:40] PP TEST PayPal is accessing the ipn file [28-Jan-2008 21:49:44] PP TEST start [28-Jan-2008 21:49:44] PP TEST PayPal is accessing the ipn file ... Thanks for the great support! I appreciate your dedication. Quote Link to comment Share on other sites More sharing options...
davidr33 Posted January 30, 2008 Share Posted January 30, 2008 hi there, one simple question but i didn't find the solution after researching for hours: case: one customer selects "german" as language and pays via paypal_ipn successfully. the confirmation email is sent in german language. right. second case: the customer selects "english" as language. EVERYTHING is shown in english, the confirmation page, the total sum, the success page, but NOT the confirmation email - this is in german also. i double checked every language file and didn't find any error. have you got a hint for me? what is wrong there? best wishes, marco david Quote Link to comment Share on other sites More sharing options...
veral Posted February 1, 2008 Share Posted February 1, 2008 Hi All, I've recently moved servers, and my Paypal IPN (v2.3.3) which was working before on the old server ... I THINK was working for a bit on the new one (can't remember properly), but now all of the Paypal payments say: Preparing [Paypal IPN] whether they're valid or not. I get emails still saying they're fine, and I ran the ec_diagnostic file: Using at least PHP 4.3.0? Yes Is OpenSSL installed? Yes Does your store have an SSL certificate (shared/dedicated) installed and working? Yes Is cURL installed? Yes Does cURL work? (Simple HTTP test) Yes (I'm not using EC). Any suggestions as to why this might be occuring? I checked ext/ and ipn.php in there appears to be fine. Is there anything I'm missing? I checked the configure.php file in shop/includes/ and that seems okay as well. Should I be notifying paypal of an IP change somewhere? (I'm not with GoDaddy, and I have a Thawte EV SSL cert) Thanks in advance, V Quote Link to comment Share on other sites More sharing options...
veral Posted February 3, 2008 Share Posted February 3, 2008 Actually - testing with the IPN debug code - it appears as if Paypal is not connecting back to my server to hit ipn.php ... (testing it with a direct call generates entries in the error_log, whereas waiting after a valid payment generates no entries). Should I fill out the IPN preferences? Quote Link to comment Share on other sites More sharing options...
veral Posted February 3, 2008 Share Posted February 3, 2008 Actually - testing with the IPN debug code - it appears as if Paypal is not connecting back to my server to hit ipn.php ... (testing it with a direct call generates entries in the error_log, whereas waiting after a valid payment generates no entries). Should I fill out the IPN preferences? Fixed. I enabled it (even though I didn't have it before - and it used to work fine) with the correct URL, and it seems to be okay now... Quote Link to comment Share on other sites More sharing options...
Hade Posted February 3, 2008 Share Posted February 3, 2008 Hi, I have a problem, I imagine it's quite simple to fix. When I receive a pending Paypal eCheck payment, the status is set to 'Downloads Now Available', as if they are a completed payment. When the eCheck clears, again the status is set to 'Downloads Now Available'. I need eCheck payments to set the status to 'Preparing [PayPal IPN]' or 'Pending' Everything else works 100% properly. Thanks for any help!!! Quote Read the forum rules... Link to comment Share on other sites More sharing options...
Confuzzled! Posted February 3, 2008 Share Posted February 3, 2008 Hi. I've been trying to install PayPal IPN today but I keep getting an error message that I can't make any sense of. Hopefully someone will be able to point me in the right direction. In my Admin section on the Payment Modules page PayPal IPN does not appear and I get the following errors: Warning: include(/home/fhlinux164/s/store.wons.co.uk/user/htdocs/catalog/includes/languages/english/modules/payment/paypalBACKUP.php) [function.include]: failed to open stream: No such file or directory in /home/fhlinux164/s/store.wons.co.uk/user/htdocs/catalog/admin/modules.php on line 128 Warning: include() [function.include]: Failed opening '/home/fhlinux164/s/store.wons.co.uk/user/htdocs/catalog/includes/languages/english/modules/payment/paypalBACKUP.php' for inclusion (include_path='.:/usr/share/pear/') in /home/fhlinux164/s/store.wons.co.uk/user/htdocs/catalog/admin/modules.php on line 128 Fatal error: Cannot redeclare class paypal in /home/fhlinux164/s/store.wons.co.uk/user/htdocs/catalog/includes/modules/payment/paypalBACKUP.php on line 13 Obviously, each error is referring to a file called paypalBACKUP.php I briefly created a file by this name a while ago when making some minor changes to the paypal file. I have since removed this file, but can't understand where the error messages are coming from. The fatal error above is referring to 'line 13' in a file that just doesn't seem to exist! If anyone can point me in the right direction for clearing these errors, I will be very thankful. Quote Link to comment Share on other sites More sharing options...
tincan Posted February 6, 2008 Share Posted February 6, 2008 Hello. Is there a limit to the length that the constant variable MODULE_PAYMENT_PAYPAL_IPN_TEXT_PUBLIC_TITLE can be? only in admin pages? I have installed PayPal_IPN_v2.3.3 on oscommerce 2.2rc1 and altered the file paypal_ipn.php in the languages->english->modules->payments with the following: define('MODULE_PAYMENT_PAYPAL_IPN_TEXT_PUBLIC_TITLE', '<img src="images/horiz_PP.gif" align=left width=135 border="0"><b>Credit & Debit Card Payments via PayPal\'s Secure Servers</b><br>We accept all PayPal currencies & payment types.<br>No PayPal account required for card payments.'); It seems to work ok for the customer pages (like the one generated by checkout_payment.php) but in the admin pages it gets truncated and the resulting generated page has a missing image icon. Here is a line from the page source that is generated when looking at orders (admin/orders.php): <td class="infoBoxContent"><br>Payment Method: <img src="images/horiz_PP.gif" a</td> No big deal since it's not being seen by the customer, but it just bugs me that I dont know why it happens. Am I not setting something somewhere? Thanks for any help. -john. Quote Link to comment Share on other sites More sharing options...
Guest Posted February 7, 2008 Share Posted February 7, 2008 I've installed osCommerce PayPal_IPN v2.2 ( terra's version ). It works perferct for the past 12 months until recently. there is a problem. when cutomers try to pay they get this: We cannot process this transaction because there is a problem with the PayPal email address supplied by the seller. Please contact the seller to resolve the problem. If this payment is for an eBay listing, you can contact the seller via the "Ask Seller a Question" link on the listing page. When you have the correct email address, payment can be made at www.paypal.com. However, the paypal email address is as same as before. It is correct. I had not changed the paypal IPN or any other modules in my shop lately . The paypal IPN used to function correctly untl this month. why is that ? any ideas ? Jason Quote Link to comment Share on other sites More sharing options...
Merlisk Posted February 9, 2008 Share Posted February 9, 2008 I've a question on timing... How fast is the 'instant' in IPN really for most folks? I'm seeing a 3-6 minute delay between the order is submitted and PayPal responds back with a PayPal IPN Verified. For most people, that's probably not an issue. But, I'm trying to do a real-time modification to a back-end system (not really relevant here.) The PayPal module responds instantly, but the PayPal IPN is slower. Is this normal? I'm trying to set my expectations. I may have to modify OsCommerce to handle this delay with a cron'd dB scrape to check when I get a verify back. But, before I go that route, I was wondering if this a normal timeframe. Example: ... [28-Jan-2008 21:43:40] PP TEST start [28-Jan-2008 21:43:40] PP TEST PayPal is accessing the ipn file [28-Jan-2008 21:49:44] PP TEST start [28-Jan-2008 21:49:44] PP TEST PayPal is accessing the ipn file ... Thanks for the great support! I appreciate your dedication. Would someone who has a working site check this out for me? I'm curious as to what your typical response times are from PayPal with IPN. Are they really instant or do they lag by a few minutes+ ? Quote Link to comment Share on other sites More sharing options...
Guest Posted February 9, 2008 Share Posted February 9, 2008 Hi Guys... I have a question that may have been asked vefore but I couldnt find any answer to... when a user selects paypal ipn as his payment option.. an order is created on orders table.. this or has ... say... id 90..... then when the user is at the checkout processing page just about to go into paypal... I see some records are also created on the orders_products, orders_status_history and orders_total tables.. but there is problem... the order_id thats inserted into those records is something like 65445.. not 90 as it was used on the orders table... so when the user goes into paypal.. the info looks ok, they make their payment, go back to the website and go to the checkout success screen... everything looks fine... except that on the store admin orders screen... you cant find the new order, the info IS on the DB but since all the tables have the 65445 as order_id when they should've had 90, the admin orders screen cant show them.. what wrong? Quote Link to comment Share on other sites More sharing options...
smileeman2002 Posted February 10, 2008 Share Posted February 10, 2008 I'm getting these errors after I installed the paypal IPN. I changed the permissions to 777, and still got an error. Warning: fopen(/908510-2-data.txt) [function.fopen]: failed to open stream: Permission denied in /home/flybetty/public_html/store/includes/modules/payment/paypal_ipn.php on line 535 Warning: fwrite(): supplied argument is not a valid stream resource in /home/flybetty/public_html/store/includes/modules/payment/paypal_ipn.php on line 536 Warning: fclose(): supplied argument is not a valid stream resource in /home/flybetty/public_html/store/includes/modules/payment/paypal_ipn.php on line 537 Also, the new ext folder is to be placed in the root of the store correct? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.