Mark Evans Posted December 3, 2004 Share Posted December 3, 2004 (edited) This support thread is for the osCommerce PayPal IPN Module v1.0 For 2.2MS2 Which can be downloaded from http://www.oscommerce.com/community/contributions,2679 Please post any support questions on this module here. Any questions relating to any other contribution will likely be removed to keep this thread specific to the module above. Edited December 8, 2004 by hpdl Quote Mark Evans osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops) --------------------------------------- Software is like sex: It's better when it's free. (Linus Torvalds) Link to comment Share on other sites More sharing options...
Guest Posted December 3, 2004 Share Posted December 3, 2004 Sparky, 1st let me say thank you for the great mod! I can't believe just how easy it was to install! My only question is: is there anyway to change the look of the payment area to be more like that of the ipn 2.9 version? (with the credit card logos, and popup info page) I think it is more inviting for people to see that they can use their credit cards, etc. than just looking at the paypal option. Also is there anyway to getting some of the admin functionality of 2.9 into v1.0? Like the options for store logos, transpher screen color (plus being able to select more than just black or white), etc.. I know this is a completly different contrib, done by different people and I am very very gratefull to see that you are continuing with it. I just would like some of the eyecandy, and functions I have gotten used too, and think others would also find useful. again, thank you for the work. RavenWulf This support thread is for the osCommerce PayPal IPN Module v1.0 For 2.2MS2 Which can be downloaded from http://www.oscommerce.com/community/contributions,2679 Please post any support questions on this module here. Any questions relating to any other contribution will likely be removed to keep this thread specific to the module above. <{POST_SNAPBACK}> Quote Link to comment Share on other sites More sharing options...
Guest Posted December 3, 2004 Share Posted December 3, 2004 Okay... i know installed it... and i have one question... is there a way to pass the shipping address to Paypal? Because the details of the transaction in Paypal say "No address provided" and nothing is sent in the Paypal email notification... k Quote Link to comment Share on other sites More sharing options...
Guest Posted December 3, 2004 Share Posted December 3, 2004 (edited) Thanks for the module and support! Just installed the module but I do have a serious problem, if an order is made the total amount is without tax. (Using the "old" default osC paypal module the price still is including tax, as it should) Not sure if it could make a difference but I tried both "Per Item" "Aggregate" and it does not seem te make any difference. Edited December 3, 2004 by PandA.nl Quote Link to comment Share on other sites More sharing options...
Harald Ponce de Leon Posted December 3, 2004 Share Posted December 3, 2004 My only question is: is there anyway to change the look of the payment area to be more like that of the ipn 2.9 version? (with the credit card logos, and popup info page) I think it is more inviting for people to see that they can use their credit cards, etc. than just looking at the paypal option. That can be done - can you provide a screenshot of how you think it should look like? Also is there anyway to getting some of the admin functionality of 2.9 into v1.0? Like the options for store logos, transpher screen color (plus being able to select more than just black or white), etc.. We found these parameters to be redundant and offered only the Page Style parameter. This gives you greater control of how the pages at PayPal should look like. Quote , osCommerce Link to comment Share on other sites More sharing options...
Harald Ponce de Leon Posted December 3, 2004 Share Posted December 3, 2004 Just installed the module but I do have a serious problem, if an order is made the total amount is without tax. (Using the "old" default osC paypal module the price still is including tax, as it should) This is how PayPal displays their prices on the front PayPal page. After the customer has logged in with their PayPal account, the full price is then shown, showing the appropriate shipping and tax fees involved. Quote , osCommerce Link to comment Share on other sites More sharing options...
Harald Ponce de Leon Posted December 3, 2004 Share Posted December 3, 2004 Okay... i know installed it... and i have one question... is there a way to pass the shipping address to Paypal? Because the details of the transaction in Paypal say "No address provided" and nothing is sent in the Paypal email notification... This was taken out at the last minute due to the Encryption Website Payments feature. The invoice number is the same as the order ID, so a reference can be made by looking at the order via the Administration Tool. Quote , osCommerce Link to comment Share on other sites More sharing options...
Guest Posted December 3, 2004 Share Posted December 3, 2004 Okay... i know installed it... and i have one question... is there a way to pass the shipping address to Paypal? Because the details of the transaction in Paypal say "No address provided" and nothing is sent in the Paypal email notification... This was taken out at the last minute due to the Encryption Website Payments feature. The invoice number is the same as the order ID, so a reference can be made by looking at the order via the Administration Tool. <{POST_SNAPBACK}> damn...is there anyway i can add the address to appear in the Paypal notifications? i'm setting this up for real lazy people... k Quote Link to comment Share on other sites More sharing options...
Harald Ponce de Leon Posted December 3, 2004 Share Posted December 3, 2004 What would you like to do with the shipping address coming from PayPal? Quote , osCommerce Link to comment Share on other sites More sharing options...
Guest Posted December 3, 2004 Share Posted December 3, 2004 What would you like to do with the shipping address coming from PayPal? <{POST_SNAPBACK}> i just want it to appear in the Paypal email notifications and details.... it comes up blank with a comma now k Quote Link to comment Share on other sites More sharing options...
Guest Posted December 3, 2004 Share Posted December 3, 2004 (edited) Just installed the module but I do have a serious problem, if an order is made the total amount is without tax. (Using the "old" default osC paypal module the price still is including tax, as it should) This is how PayPal displays their prices on the front PayPal page. After the customer has logged in with their PayPal account, the full price is then shown, showing the appropriate shipping and tax fees involved. <{POST_SNAPBACK}> A bit confusing I think (but I do understand it's PayPal's "fault"), especially if one tries to pay using a creditcard (not having a PayPal account). At the moment the creditcard info has to be entered the amount still is without tax. I couldn't test paying this way, because PayPal detected an account already was assigned to my creditcard (and so I was redirected to my account). Since all my current customers need to pay the tax, I decided to make an admin option to move the tax to the total amount. Which was quite easy since it's written so well :) Maybe it's just me that likes it better including tax, but if anyone else is interested I''ll post the easy changes to make. Edited December 3, 2004 by PandA.nl Quote Link to comment Share on other sites More sharing options...
♥toyicebear Posted December 4, 2004 Share Posted December 4, 2004 This is how PayPal displays their prices on the front PayPal page. After the customer has logged in with their PayPal account, the full price is then shown, showing the appropriate shipping and tax fees involved. <{POST_SNAPBACK}> A bit confusing I think (but I do understand it's PayPal's "fault"), especially if one tries to pay using a creditcard (not having a PayPal account). At the moment the creditcard info has to be entered the amount still is without tax. I couldn't test paying this way, because PayPal detected an account already was assigned to my creditcard (and so I was redirected to my account). Since all my current customers need to pay the tax, I decided to make an admin option to move the tax to the total amount. Which was quite easy since it's written so well :) Maybe it's just me that likes it better including tax, but if anyone else is interested I''ll post the easy changes to make. <{POST_SNAPBACK}> Please post it and/or pm it to me... ;-) Quote Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here] Link to comment Share on other sites More sharing options...
jonathn Posted December 4, 2004 Share Posted December 4, 2004 (edited) What would you like to do with the shipping address coming from PayPal? <{POST_SNAPBACK}> This is confusing... Having two different areas discussing the same topic. Just to point out what was said in the other forum: "There's a problem with this contribution.... although it installs very fast... and it's great... it doesn't require an address to be chosen, nor can you verify the address where you're shipping your products. If you don't mind losing anything... that's fine... just know this will show up on all your orders at paypal. Seller Protection Policy: Ineligible That alone renders this module useless for those that sell anything of value. Anyone working on a mod to verify addresses??" I might add... you're going to drive my accountant crazy creating 2 different orders... what am I supposed to say?? well this one is valid... but this one is not? Edited December 4, 2004 by jonathn Quote Link to comment Share on other sites More sharing options...
jonathn Posted December 4, 2004 Share Posted December 4, 2004 (edited) What would you like to do with the shipping address coming from PayPal? <{POST_SNAPBACK}> This other post might be informative seeing how you're trying to reinvent something someone has already created: Pay particular attention to the last paragraph. devosc Today, 03:27 AM Post #1155 Gregory Baboolal Group: Community Member Posts: 959 Joined: 1-July 03 Member No.: 10,814 'popup_paypal.php' is the public catalog page for the popup info page shown (available) during checkout, it's name, e.g. 'popup_' is specifically chosen so as to be compatible for use with STS and not requiring any modifications of STS itself. It also serves up the css used on the catalog side, but this could also be achieved by specifying the explicit path to the css files used (templates/css). In regard to the order status, or lack of, first look for the debug email and see what info is being shown. For this module, v2.9, no settings need to made in your PayPal account profile, other than having a PayPal account, and possibly enabling Auto-Return, see the config and faqs. Verifying addresses, PayPal will include info as to whether the address is confirmed. It is possible to do a cross tabulation to determine whether the order would be eligible for buyer protection but PayPal have advised against doing this at this time (or a while ago atleast). In regard to some of the above posts, it should be noted that the other module is currently not suitable for downloadable media, the problem about changing the url to checkout_process.php without actually paying at PayPal still exists, so downloads still become immediately available. Also if using that module, one must ensure that Encryption is enabled in the PayPal IPN config otherwise the payment information is not obfuscated and from reading it's code it seems like that it is possible to send PayPal a payment for that order for only $0.01 and the module will accept the payment regardless of the expected actual order amount. Another aspect is that since that module prestores the order prior to the customer actually clicking the 'osCommerce Order Confirmation Button' the storeowner cannot determine whether the customer actually confirmed that they wanted to make the order, which prevents the storeowner from potentially following up the sale/order without any clear indication that the customer wanted to make the purchase. Edited December 4, 2004 by jonathn Quote Link to comment Share on other sites More sharing options...
korsh Posted December 4, 2004 Share Posted December 4, 2004 So far I have installed the new IPN from the OsCommerce team (easy) and tested (easy) and modified the look of it and the email sent out. Great simple solution. thank you. but I do have another query. When I attempt to activate the IPN on my Pay Pal account it is asking for the URL at which I will receive the payment notifications. (see screenshot). What is or where would I look for this URL address? Am I correct in using the notify URL address line 330 catalog/includes/modules/payment/paypal_ipn.php as the URL requested in the PayPal activation in my PayPal account? (see screenshot). $parameters['notify_url'] = tep_href_link('ext/modules/payment/paypal_ipn/ipn.php', '', 'SSL', false, false); so the address to enter would be www.mydomain.com/catalog/ext/modules/payment/paypal_ipn/ipn.php I placed this query in the wrong area and have added it here. James Quote Link to comment Share on other sites More sharing options...
korsh Posted December 4, 2004 Share Posted December 4, 2004 (edited) Sparky, 1st let me say thank you for the great mod! I can't believe just how easy it was to install! My only question is:? is there anyway to change the look of the payment area to be more like that of the ipn 2.9 version? (with the credit card logos, and popup info page)? I think it is more inviting for people to see that they can use their credit cards, etc. than just looking at the paypal option. Also is there anyway to getting some of the admin functionality of 2.9 into v1.0? Like the options for store logos, transpher screen color (plus being able to select more than just black or white), etc.. I know this is a completly different contrib, done by different people and I am very very gratefull to see that you are continuing with it.? I just would like some of the eyecandy, and functions I have gotten used too, and think others would also find useful. again, thank you for the work. RavenWulf <{POST_SNAPBACK}> Yes, I modified the look tyo be comparable to v2.9 adding the following code to checkout_payment.php at line 252 <td class="main" colspan="3" nowrap><?php ? ? ? ? ? ? ? ? ? ? if ($selection[$i]['module'] == 'PayPal IPN') { ? ? ? ? ? ? ? ? ? ? ? ?> ? ? ? ? ? ? ? ? ? ? ? ? <big><b> ? ? ? ? ? ? ? ? ? ? ? ? ? Credit Card ? ? ? ? ? ? ? ? ? ? ? ? ? ? <img src="images/logo_ccVisa.gif" ? ? ? ? ? ? alt="Visa" width="37" height="21" ? ? border="0" ? ? ? ? ? ?align="bottom" title=" Visa "> ? ? ? ? ? ? ? ? ? ? ? ? ? ? <img src="/images/logo_ccMC.gif" ? ? ? alt="MasterCard" width="37" height="21" ? ? ? border="0" ? ? ?align="bottom" title=" MasterCard "> ? ? ? ? ? ? ? ? ? ? ? ? ? ? <img src="/images/logo_ccDiscover.gif" ? ? ? ? alt="Discover" width="37" height="21" border="0" ? ? ? ?align="bottom" title=" Discover "> ? ? ? ? ? ? ? ? ? ? ? ? ? ? <img src="/images/logo_ccAmex.gif" alt="American Express" width="37" height="21" ? ? border="0"align="bottom" title=" American Express "> ? ? ? ? ? ? ? ? ? ? ? ? ? or ? ? ? ? ? ? ? ? ? ? ? ? ? ? <img src="/images/banner_intl.gif" ? ? ? ? ? alt="PayPal" width="88" height="33" ? ? ?border="0" ? ? ? ? ?align="bottom" title=" PayPal "> ? ? ? ? ? ? ? ? ? ? ? ? </b></big> ? ? ? ? ? ? ? ? ? ? ? ? ? <br> ? ? ? ? ? ? ? ? ? ? ? ? ? You do not need to be a PayPal member to pay by credit card. ? ? ? ? ? ? ? ? ? ? ? ? ? <script> ? ? ? ? ? ? ? ? ? ? ? ? ? ? document.writeln('<a style="cursor:hand" onclick="javascript:popup=window.open(' ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?+ '\'http://www.mydomain.com/catalog/CreditCardExplain.htm\',\'popup\',' ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?+ '\'scrollbars,resizable,width=625,height=800,left=50,top=50\'); popup.focus(); return false;">' ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?+ '<font color="blue"><u>[info]</u></font></a>'); ? ? ? ? ? ? ? ? ? ? ? ? ? </script><noscript> ? ? ? ? ? ? ? ? ? ? ? ? ? ? <a href="CreditCardExplain.html" target="_blank"><font color="blue"><u>[info]</u></font></a> ? ? ? ? ? ? ? ? ? ? ? ? ? </noscript> ? ? ? ? ? ? ? ? ? ? ? <?php ? ? ? ? ? ? ? ? ? ? } else if ($selection[$i]['module'] == 'Check/Money Order') { ? ? ? ? ? ? ? ? ? ? ? ?><big><b>Check or Money Order </b></big> ? ? ? ? ? ? ? ? ? ? ? ? <img src="/check.gif" border=0 alt=" Send Us a Check " align="absmiddle"> ? ? ? ? ? ? ? ? ? ? ? <?php ? ? ? ? ? ? ? ? ? ? } else { ? ? ? ? ? ? ? ? ? ? ? echo '<big><b>' . $selection[$i]['module'] . '</b></big>'; ? ? ? ? ? ? ? ? ? ? } ? ? ? ? ? ? ? ? ? ?></td> and using CreditCardExplain.html from the contributions for a start I also changed the email notification in paypal_ipn.php hth James Edited December 4, 2004 by korsh Quote Link to comment Share on other sites More sharing options...
Mark Evans Posted December 4, 2004 Author Share Posted December 4, 2004 but I do have another query. When I attempt to activate the IPN on my Pay Pal account it is asking for the URL at which I will receive the payment notifications. (see screenshot). What is or where would I look for this URL address? You dont need to activate IPN on your account, by sending the notify_url with the payment IPN is automatically configured for your store. From the paypal dev guide Specifying Your Notification URL If you only need to receive your IPNs at a single URL, you can enter that URL in the Preferences section of your Profile. If you would like to receive payment notifications for different payments at different URLs (i.e. if you need to separate payments made to different websites you run), you can manually pass the IPN URL with each payment by including it in that payment?s HTML code. Use the notify_url field to pass this information. The notify_url for a specific payment will be saved, and any subsequent updates to that payment (e.g. cleared eCheck) will be sent to that notify_url. When you pass a notify_url in your HTML code, it will override any preferences you set in your Profile. Quote Mark Evans osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops) --------------------------------------- Software is like sex: It's better when it's free. (Linus Torvalds) Link to comment Share on other sites More sharing options...
Mark Evans Posted December 4, 2004 Author Share Posted December 4, 2004 This other post might be informative seeing how you're trying to reinvent something someone has already created: Pay particular attention to the last paragraph. This isnt a new problem regarding downloads :) The point of this IPN module is to make it very easy to install so that you dont spend forever editing core files. There is an ease of use v's flexability trade off however. Quote Mark Evans osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops) --------------------------------------- Software is like sex: It's better when it's free. (Linus Torvalds) Link to comment Share on other sites More sharing options...
jonathn Posted December 4, 2004 Share Posted December 4, 2004 (edited) This isnt a new problem regarding downloads :) The point of this IPN module is to make it very easy to install so that you dont spend forever editing core files. There is an ease of use v's flexability trade off however. <{POST_SNAPBACK}> tradeoff?? You're trading off security without shipping to an address that's unverified. The Sellers Protection Policy is there to protect us, the business owners. Ship something for $1000 to a fradulent address and then try to collect.... or for that matter, get your item back. Personally, or any business owner I know wouldn't ship anything to an unverified address. Ever wonder why the credit card companies insist you ship to the same address that the credit card sends the customers statement?? This module has serious "security" shortcomings.... no matter how simplistic it is to install. Edited December 4, 2004 by jonathn Quote Link to comment Share on other sites More sharing options...
korsh Posted December 4, 2004 Share Posted December 4, 2004 You dont need to activate IPN on your account, by sending the notify_url with the payment IPN is automatically configured for your store. From the paypal dev guide <{POST_SNAPBACK}> Thank you, I am glad that is cleared up. Quote Link to comment Share on other sites More sharing options...
korsh Posted December 4, 2004 Share Posted December 4, 2004 I would like to change the PayPal payment details showing using this contribution Sales tax to GST (the Australian taxation) and one instance of the total amount which appears twice see screenshot Does any one know where I can make these changes? James Quote Link to comment Share on other sites More sharing options...
verbalkent Posted December 4, 2004 Share Posted December 4, 2004 I just installed it, I have a test sandbox acct set up, downloaded the test cert, and uploaded it to my server, on a test purchase, i get this on the "checkout_configuration" page Warning: fopen(/ipn_tmp/732583-2-data.txt): failed to open stream: No such file or directory in /home/virtual/site243/fst/var/www/html/includes/modules/payment/paypal_ipn.php on line 349 Warning: fwrite(): supplied argument is not a valid stream resource in /home/virtual/site243/fst/var/www/html/includes/modules/payment/paypal_ipn.php on line 350 Warning: fclose(): supplied argument is not a valid stream resource in /home/virtual/site243/fst/var/www/html/includes/modules/payment/paypal_ipn.php on line 351 any help? Quote Link to comment Share on other sites More sharing options...
Mark Evans Posted December 5, 2004 Author Share Posted December 5, 2004 This module has serious "security" shortcomings.... no matter how simplistic it is to install. <{POST_SNAPBACK}> Then dont use it.... The beauty of free software is you have a choice :) Quote Mark Evans osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops) --------------------------------------- Software is like sex: It's better when it's free. (Linus Torvalds) Link to comment Share on other sites More sharing options...
Guest Posted December 5, 2004 Share Posted December 5, 2004 this error is telling you that you dont have a directory at /ipn_tmp, thus just as in the store configuration, for logging, cache, sessions, where you NEED to create a tmp directory, you do the same here, however I would point it to the same directory you created in the above items (you did do that?) with 700 permissions, if 700 doesnt work then 777. and this needs to be above the document root, ie /home/username/tmp. it is alwo trying to write, and it cant do that, and then close and it cant do that as it doesnt exist. thus, if you are going to specify a working directory, then create it. I just installed it, I have a test sandbox acct set up, downloaded the test cert, and uploaded it to my server, on a test purchase, i get this on the "checkout_configuration" page Warning: fopen(/ipn_tmp/732583-2-data.txt): failed to open stream: No such file or directory in /home/virtual/site243/fst/var/www/html/includes/modules/payment/paypal_ipn.php on line 349 Warning: fwrite(): supplied argument is not a valid stream resource in /home/virtual/site243/fst/var/www/html/includes/modules/payment/paypal_ipn.php on line 350 Warning: fclose(): supplied argument is not a valid stream resource in /home/virtual/site243/fst/var/www/html/includes/modules/payment/paypal_ipn.php on line 351 any help? <{POST_SNAPBACK}> Quote Link to comment Share on other sites More sharing options...
Harald Ponce de Leon Posted December 5, 2004 Share Posted December 5, 2004 (edited) Then dont use it.... The beauty of free software is you have a choice :) <{POST_SNAPBACK}> Yep - next time we have to make sure that the first v1.0 release of anything also automatically polishes shoes too ;) The feedback provided will indeed influence the next v1.1 release of the module - but if you're only going to criticize, then please do so outside in the middle of the fields somewhere. Thanks, Edited December 5, 2004 by hpdl Quote , osCommerce 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.
Note: Your post will require moderator approval before it will be visible.