newosguy Posted July 13, 2008 Posted July 13, 2008 When using sandbox to test I get this at the final screen "This invoice has already been paid. For more information, please contact the merchant. Return to Merchant " Does that mean the "fake" transaction and the PayPal module worked? but no money ever actually moves anywhere right? Quote
Jack_mcs Posted July 13, 2008 Posted July 13, 2008 It means it sees the order as duplicate. There are a couple of fixes for it. They are included in the paypal IPN osCommerce_PayPal_IPN_v2.3.3 contribution. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
satish Posted July 14, 2008 Posted July 14, 2008 use reset order id contribution. This will move Yoor order id by a 100 or so and that will clear the chance of a tested order ID being reused. Satish Quote Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
newosguy Posted July 15, 2008 Author Posted July 15, 2008 use reset order id contribution.This will move Yoor order id by a 100 or so and that will clear the chance of a tested order ID being reused. Satish could not find "reset order id contribution" where is it? Quote
jhande Posted July 25, 2008 Posted July 25, 2008 I finally got around to test my PayPal Website Standards using the Sandbox. I received the same message as Jon above after clicking to pay for the order. Also when I returned to my osC Admin Panel > Customers > Orders I received this message - Fatal error: Call to undefined function tep_hide_session_id() in /home/handesho/public_html/catalog/admin/orders.php on line 350 Order ID: [ box ] It also did not redirect me back to my site. I had to click a link to return and then I returned to an empty shopping cart instead of checkout_success.php I am using PayPal IPN v.2.3.3 Is this just a bug when using the Sandbox or am I looking at a serious problem? If serious problem, can someone help me fix it please as this will be my only payment processing? :( I too was unable to find the "reset order id" contribution. Quote - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -
jhande Posted July 25, 2008 Posted July 25, 2008 I am wondering... I'm on a shared server with a shared SSL, don't know if that makes a difference with anything. Also I noticed in Admin Panel > Configuration > Sessions I have these settings - Session Directory = /tmp Force Cookies Use = False Check SSL Session ID = True Check User Agent = False Check IP Address = False Prevent Spider Sessions = True Recreate Sessions = True They used to be False at one time... :huh: Could my problem be caused by the above settings? Quote - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -
satish Posted July 26, 2008 Posted July 26, 2008 How to reset order id: Place a test order thru COD(need to enable in case its discable). Then thru PhpMyAdmin modify(increase by X) that order ID(last test order). This way You have reset order id so future orders will be higher order number. Satish Quote Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
jhande Posted July 28, 2008 Posted July 28, 2008 Thank you Satish ;) I was wondering why I would have to follow the directions that came with the installation of the mod to add a letter to my order ID's. That was discussing having multiple shops which I don't. Thanks again! Quote - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -
Guest Posted July 28, 2008 Posted July 28, 2008 In your PayPal account, go to "Profile" - > "Payment Receiving Preferences". In there you will have the option: Block accidental payments: You may prevent accidental payments by blocking duplicate invoice IDs Yes, block multiple payments per invoice ID No, allow multiple payments per invoice ID Select "No". PayPal will now allow all orders to be paid, even if the order ID has already been paid previously. A potential problem is if customers pay an invoice twice by mistake (e.g. refreshing browser, hitting button twice etc.). Quote
jhande Posted July 28, 2008 Posted July 28, 2008 You may prevent accidental payments by blocking duplicate invoice IDsYes, block multiple payments per invoice ID No, allow multiple payments per invoice ID Select "No". Thanks ellie, I seen that in the directions but didn't want to use that option for fear of opening a can of worms. Quote - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -
satish Posted July 28, 2008 Posted July 28, 2008 Thanks ellie, I seen that in the directions but didn't want to use that option for fear of opening a can of worms. Some of Your clients may end up paying more then once. So for a temporary fix this is ok but not a long term solution. Satish Quote Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
jhande Posted July 28, 2008 Posted July 28, 2008 I went with adding a letter to the invoice ID as specified in the IPN help folder. ;) Quote - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -
Kmberly Posted August 1, 2008 Posted August 1, 2008 I have the same problem.... I did exactly what the help file said to in replacing lines/etc... that didn't work. So temporarily, I allowed multiple payments per invoice ID... still had the same problem. I am stuck as stuck can be. I cannot have this shop if I cannot be sure that my IPN and Super Download Shop contribs work! I'm at my rope's end here. Please someone shed some light :(. I have the PayPal IPN 2.3.4.5 and newest release of OSC. Quote
Kmberly Posted August 1, 2008 Posted August 1, 2008 (edited) I have the same problem.... I did exactly what the help file said to in replacing lines/etc... that didn't work. So temporarily, I allowed multiple payments per invoice ID... still had the same problem. I am stuck as stuck can be. I cannot have this shop if I cannot be sure that my IPN and Super Download Shop contribs work! I'm at my rope's end here. Please someone shed some light :(. I have the PayPal IPN 2.3.4.5 and newest release of OSC. After all the fixes I tried to implement... all I had to do was put the sandbox email in the ipn module (the one that looks like seller_4254rwe2_site@gmail or whatever). NEVERMIND: made another test order and back to the same problem........ In the previous order that DID go through, it shows this: Invoice ID: K --- shouldn't that be K plus a number? ...Okay, cool. Now my 'confirm order' button does nothing upon clicking. I've made previous shops with oscommerce and have a fair amount of php skills, but this shop is just KILLING me. Edited August 1, 2008 by Kmberly Quote
GwilliamP Posted August 27, 2008 Posted August 27, 2008 I don't know if this helps but I just found out why I was getting this error. PayPal Sandbox I created a test account [email protected] I created a test user and buyer [email protected] (business) [email protected] (buyer) I created a shop user account [email protected] and purchased a test item. All went well up to paying at the PayPal Sandbox where I got the already paid error. After AGES I found that I had been using my master sandbox email address [email protected] in the PayPal IPN Payment Module. I changed it to the sandbox business address [email protected] and everything now works. For some reason PayPal Sandbox was accepting the master account instead of rejecting it for IPN transactions. It may not cure everyone's problems but it worked for me. Quote
Jack_mcs Posted August 28, 2008 Posted August 28, 2008 As a quick fix, you can enable the Check/Money Order module and place an order. Then the paypal module should work since the order number will have changed. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
K_Casault Posted November 15, 2008 Posted November 15, 2008 OMG Paul. It worked. I can't tell you how many hours I've been banging my head on this. Thank Youuuuuuuuuuuuuuuuuuuuuuu. Kim I don't know if this helps but I just found out why I was getting this error. PayPal Sandbox I created a test account [email protected] I created a test user and buyer [email protected] (business) [email protected] (buyer) I created a shop user account [email protected] and purchased a test item. All went well up to paying at the PayPal Sandbox where I got the already paid error. After AGES I found that I had been using my master sandbox email address [email protected] in the PayPal IPN Payment Module. I changed it to the sandbox business address [email protected] and everything now works. For some reason PayPal Sandbox was accepting the master account instead of rejecting it for IPN transactions. It may not cure everyone's problems but it worked for me. Quote
tomato Posted March 15, 2009 Posted March 15, 2009 Thank you very much. This worked fine for me too. I am happy that the solution worked out to be so simple... For anyone else who meets the same problem: - I use OsCommerce v2.2 RC2 - PayPal Website Payments Standard (includes\modules\payment\paypal_standard.php ) I tried billhatcher's solution from following thread: http://www.oscommerce.com/forums/index.php?sho...p;#entry1243857 Maybe this worked for someone else but for me it did not resolve the issue. Quote
aarsenca Posted October 27, 2009 Posted October 27, 2009 After AGES I found that I had been using my master sandbox email address [email protected] in the PayPal IPN Payment Module. I changed it to the sandbox business address [email protected] and everything now works. That worked for me too. What is amazing is how the error message has nothing to do with the solution <_< Thanks! Quote
dustinsuarez Posted November 21, 2010 Posted November 21, 2010 Paul thank you very much!! it worked for me too. Now the only thing is that it does not return automatically to my website, I'm going to start browsing for a solution to this. Thank you again, I was going around this for hours, you saved me a headache. :thumbsup: Quote
ludowhite Posted March 30, 2011 Posted March 30, 2011 Thank you very much. This worked fine for me too. I am happy that the solution worked out to be so simple... For anyone else who meets the same problem: - I use OsCommerce v2.2 RC2 - PayPal Website Payments Standard (includes\modules\payment\paypal_standard.php ) I tried billhatcher's solution from following thread: http://www.oscommerce.com/forums/index.php?sho...p;#entry1243857 Maybe this worked for someone else but for me it did not resolve the issue. Just come across your post. Could you explain the last part of Bill Hatchers' solution, where he changes /ext/modules/payment/paypal/ipn.php I am just not sure on this. Quote Thanks for Looking Ludo
ludowhite Posted March 30, 2011 Posted March 30, 2011 How to reset order id: Place a test order thru COD(need to enable in case its discable). Then thru PhpMyAdmin modify(increase by X) that order ID(last test order). This way You have reset order id so future orders will be higher order number. Satish Hi Satish Could you just explain how to mahe the change in PHPmyadmin. Thanks in anticipation. Hope you are enjoying the cricket!! Good luck Quote Thanks for Looking Ludo
Pinball Posted May 3, 2012 Posted May 3, 2012 (edited) I don't know if this helps but I just found out why I was getting this error. PayPal Sandbox I created a test account [email protected] I created a test user and buyer [email protected] (business) [email protected] (buyer) I created a shop user account [email protected] and purchased a test item. All went well up to paying at the PayPal Sandbox where I got the already paid error. After AGES I found that I had been using my master sandbox email address [email protected] in the PayPal IPN Payment Module. I changed it to the sandbox business address [email protected] and everything now works. For some reason PayPal Sandbox was accepting the master account instead of rejecting it for IPN transactions. It may not cure everyone's problems but it worked for me. This also works in localhost test setups - I too was getting the "Invoice Already Paid" bit with PayPal Sandbox and I hadn't changed the setting in admin/modules/PayPalxxx to my sandbox business 'email' address. Must remember to change back when going live!! This would be a good edit to the PayPal module that the Sandbox/Testing switch changes the PayPal email to the Sandbox/Testing one and back to the real one when in Real (money!) mode. Thanks for the tip! Edited May 3, 2012 by Pinball Quote
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.