Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2006
    Posts
    7
    Plugin Contributions
    0

    Default PayPal Standard transactions stopped working

    Using ZenCart 1.3.8, I have stopped receiving notification of orders made using PayPal, nor are any orders recorded in my store's database; payment is, however, being taken by PayPal.

    I began using 1.3.8 in Autumn 2008 after a successful upgrade, and have had a number of successful transactions after the upgrade. The last successful order at my store was placed on 2009-09-12. The first failed order (that I can find) was placed on 2009-10-14. I am completely unaware of any changes made to my store, either by modifying PHP code or through the admin account during that period. (A search for files with modification dates in that range reveals no such files, giving some conformation that no file changes were made.) I am also unaware of any changes that might have been made at my hosting company (Bluehost) during that time that might have affected a ZenCart store.

    The symptoms are: As an order is being developed, rows are stored in the customers_basket table. When the customer clicks on the order confirmation button, he/she is taken to the PayPal login page. Upon successful login, PayPal requests payment of an amount that does not include the shipping amount (which is something that may or may not have started concurrent with the primary problem of this post). Upon completion of the PayPal transaction, the customer is taken back to my store's order completion page, which reports an order number that is the order number of the last successfully-completed transaction (the September 12 transaction).

    I do not get email notification of a new order. The orders table does not have any record of the order, but the customers_basket table rows corresponding to the order have been removed. There are no rows in any of the paypal* tables that are related to the order.

    I've searched through the forums and found lots of interesting information about similar problems, but none of the suggested fixes seem to have any effect. In particular, I've ensured that my PayPal payment module information is correct -- My Instant Payment Notification Preferences URL is set to:
    http://{my-store-name}.com/ipn_main_handler.php, and my Automatic Return URL is set to:
    http://{my-store-name}.com/index.php?main_page=checkout_process as instructed on the PayPal IPN - Website Payments Standard admin page.

    I've turned debug mode On and gotten logs, but my inspection of the logs hasn't helped me figure out what's going on. There are a few anomalies that I've spotted, though:

    1) In a log containing "Keys for submission: Array", an array entry with the key [no_shipping] has the value 1. Could this be causing PayPal not to include shipping charges?

    2) Near the end of the third log file, I see "IPN NOTICE :: Could not find matched txn_id record in DB. Therefore is new to us."

    3) The last entry of the third log file reads "IPN WARNING :: Currency/Amount Mismatch. Details: PayPal email address = {my-email-address} | mc_currency = USD | submitted_currency = USD | mc_gross = 4.15 | converted_amound = 9.10 | order_amount = 9.1". I presume that this is caused by the shipping-amount problem mentioned above.

    I can easily make the log files available upon request.

    Any and all help in finding this problem will be greatly appreciated, as this store belongs to a 501(c)(3) charity that is in urgent need of income

    Thanks!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: PayPal Standard transactions stopped working

    Quote Originally Posted by SheltieJim View Post
    ... Upon successful login, PayPal requests payment of an amount that does not include the shipping amount (which is something that may or may not have started concurrent with the primary problem of this post).
    The missing shipping info is almost certainly the root problem which you'll need to sort out.

    Quote Originally Posted by SheltieJim View Post
    Upon completion of the PayPal transaction, the customer is taken back to my store's order completion page, which reports an order number that is the order number of the last successfully-completed transaction (the September 12 transaction).

    I do not get email notification of a new order. The orders table does not have any record of the order, but the customers_basket table rows corresponding to the order have been removed. There are no rows in any of the paypal* tables that are related to the order.

    ...

    1) In a log containing "Keys for submission: Array", an array entry with the key [no_shipping] has the value 1. Could this be causing PayPal not to include shipping charges?

    2) Near the end of the third log file, I see "IPN NOTICE :: Could not find matched txn_id record in DB. Therefore is new to us."
    All those are direct results of the following:
    Quote Originally Posted by SheltieJim View Post
    3) The last entry of the third log file reads "IPN WARNING :: Currency/Amount Mismatch. Details: PayPal email address = {my-email-address} | mc_currency = USD | submitted_currency = USD | mc_gross = 4.15 | converted_amound = 9.10 | order_amount = 9.1". I presume that this is caused by the shipping-amount problem mentioned above.
    Yes, that'll be caused by the shipping amount problem.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Dec 2006
    Posts
    7
    Plugin Contributions
    0

    Have a Drink Re: PayPal Standard transactions stopped working

    Thanks for the help, DrByte! As you deduced, that was indeed the problem. It was more difficult to track the problem down than I had expected, but I was helped significantly by the thread at http://www.zen-cart.com/forum/showthread.php?t=139269 and by the Wiki entry at http://www.zen-cart.com/wiki/index.p...7s_not_working

    Once again, my store is up and running, thanks in no small part to the wonderful moderators and users of these forums!


  4. #4
    Join Date
    Jun 2009
    Location
    Miami, Fl
    Posts
    138
    Plugin Contributions
    0

    Default Re: PayPal Standard transactions stopped working

    I have the same problem since January 1st 2010 but I have no idea how to fix it. Can you specify what you did to resolve this situation?

    Thanks!!!

 

 

Similar Threads

  1. v150 PayPal Payments Standard just stopped working
    By clint6998 in forum Built-in Shipping and Payment Modules
    Replies: 22
    Last Post: 12 Feb 2013, 07:35 AM
  2. IPN/Paypal stopped working
    By galvis85 in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 3 Jan 2011, 10:54 PM
  3. My paypal not working with large transactions
    By z3n in forum PayPal Express Checkout support
    Replies: 33
    Last Post: 31 Jan 2010, 08:39 PM
  4. Paypal Express only working if Standard is on
    By distraub in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 11 Oct 2008, 09:13 PM
  5. Paypal IPN stopped working on 12/20
    By chriscana in forum General Questions
    Replies: 11
    Last Post: 2 Jan 2008, 01:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg