Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Oct 2009
    Posts
    2
    Plugin Contributions
    0

    Default checkout_success is showing wrong order with Paypal Standard

    Good day!
    I hope this is the right section and I have searched forums for solution to my problem, unsuccessfully.

    SO, payment module used is "PayPal IPN - Website Payments Standard".
    After client is redirected from paypal having successfully paid for chosen product the checkout_success page is shown for previous product not the one that just have been bought. After page reload everything looks fine and order history is OK. Looks like the order insert query is happening after the page is loaded. I've temporarily put sleep(1) in a header of checkout_success and it works but there should be a better solution for this. Any thoughts please?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: checkout_success is showing wrong order

    You have 4 options:

    1. Use what you've got with your customization.

    2. Use Express Checkout instead ... Express doesn't have to wait for PayPal's server to talk to your server in the background to tell it of the new order.

    3. Rewrite the whole way Zen Cart and the PayPal IPN module work so order details are handled differently.

    4. Call PayPal and get them to make their communications from their server to your server faster than it already is. While you're at it, get your hosting company to speed up their connection to the internet and speed up the processing speed of your webserver.


    I vote for #2, or if you don't like that, use #1.
    .

    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
    Oct 2009
    Posts
    2
    Plugin Contributions
    0

    Default Re: checkout_success is showing wrong order with Paypal Standard

    Well, surely #2 is the only realistic(not counting #1) for me, I think I had some problems before with Express Checkout but I'll try.
    Thank you very much for your answer.

 

 

Similar Threads

  1. v155 Order in PayPal, but nothing in Admin (PayPal Standard with IPN)
    By mmcculli in forum PayPal Express Checkout support
    Replies: 4
    Last Post: 4 Jun 2016, 03:39 AM
  2. PayPal Standard order received, but not showing in my admin
    By weezee in forum Managing Customers and Orders
    Replies: 15
    Last Post: 22 Jul 2011, 08:45 AM
  3. Wrong order number in checkout_success page with RealEx payment module
    By stuartmcmahon in forum Addon Payment Modules
    Replies: 5
    Last Post: 28 Sep 2010, 09:50 PM
  4. Problems with PayPal Standard (IPN) - order status is processing
    By bowerstech in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 22 Mar 2010, 05:09 AM
  5. Replies: 30
    Last Post: 26 Nov 2006, 06:41 AM

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