Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1. #1
    Join Date
    Jul 2008
    Location
    Australia
    Posts
    28
    Plugin Contributions
    0

    bug Duplicate Invoice

    I have a problem with people paying by PayPal IPN.

    They create the order and then pay, the Invoice ID has no product information, then it creates another ID with the details and the paypal verification etc.

    So this is creating an extra id and not using the original when paying.

    Example 1:
    No product details?

    Invoice No. 265
    Date Purchased: Thursday 10 July, 2008
    Payment Method: PayPal
    Products Model Tax Price (ex) Price (inc) Total (ex) Total (inc)
    Sub-Total: $0.01
    Store Pickup (Pick-up from Beaconsfield Victoria): $0.00
    Total: $0.01

    Example 2:
    Auto generated somehow and added with the correct details.

    Invoice No. 266
    Date Purchased: Thursday 10 July, 2008
    Payment Method: PayPal
    First Name: Steve
    Last Name: Thibou
    Business Name:
    Address Name:
    Address Street:
    Address City:
    Address State:
    Address Country: AU

    Payer Email: [email protected]
    Ebay ID:
    Payer ID: E6JWXZADAGKQ6
    Payer Status: unverified
    Address Status: unconfirmed
    Trans. Type: web_accept
    Trans. ID: 5DF97494RB0939829
    Parent Trans. ID:

    Payment Type: instant
    Payment Status: Completed
    Pending Reason:
    Invoice:
    Payment Date: 07/10/2008 05:35:45

    Currency: AUD
    Gross Amount: 0.01
    Payment Fee: 0.01
    Exchange Rate: 1.00
    Cart items: 0
    Products Model Tax Price (ex) Price (inc) Total (ex) Total (inc)
    1 x Paypal Test Product 0% $0.01 $0.01 $0.01 $0.01
    Sub-Total: $0.01
    Store Pickup (Pick-up from Beaconsfield Victoria): $0.00
    Total: $0.01

    Anyone got any idea's.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Duplicate Invoice

    Try turning off the PDT (Payment Data Token) feature in both your PayPal account (set it to Off) and your Zen Cart module for Website Payments Standard (make it blank).
    .

    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
    Jul 2008
    Location
    Australia
    Posts
    28
    Plugin Contributions
    0

    Default Re: Duplicate Invoice

    Quote Originally Posted by DrByte View Post
    Try turning off the PDT (Payment Data Token) feature in both your PayPal account (set it to Off) and your Zen Cart module for Website Payments Standard (make it blank).
    I just tried that and dont get the dupicate invoice anymore, but the invoice I have has no product details, just the price.

    nvoice No. 279
    Date Purchased: Sunday 13 July, 2008
    Payment Method: PayPal
    Products Model Tax Price (ex) Price (inc) Total (ex) Total (inc)
    Sub-Total: $0.01
    Store Pickup (Pick-up from Beaconsfield Victoria): $0.00
    Total: $0.01

    Also don't get the instant notification that the payment has been made in Zencart.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Duplicate Invoice

    Quote Originally Posted by directprint View Post
    Also don't get the instant notification that the payment has been made in Zencart.
    Then you need to troubleshoot why your server isn't receiving notifications from PayPal: http://www.zen-cart.com/wiki/index.php/PayPal
    .

    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.

  5. #5
    Join Date
    Jul 2008
    Location
    Australia
    Posts
    28
    Plugin Contributions
    0

    Default Re: Duplicate Invoice

    Quote Originally Posted by DrByte View Post
    Then you need to troubleshoot why your server isn't receiving notifications from PayPal: http://www.zen-cart.com/wiki/index.php/PayPal
    Understand that I don't get the notification, but why do the invoice details dissapear. I have checked everything, maybe I will just uploaded the paypal files again and see if that helps. Don't have this problem on my other server using 1.3.6 with a different paypal account.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Duplicate Invoice

    What version of Zen Cart is this site using?
    If you enable Debug Log-To-File as mentioned in the troubleshooting documented I linked to, what do the logs contain? Best to zip them and post a link to the zip.
    Logging explained more here: http://www.zen-cart.com/forum/showthread.php?t=61199
    .

    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.

  7. #7
    Join Date
    Jul 2008
    Location
    Australia
    Posts
    28
    Plugin Contributions
    0

    Default Re: Duplicate Invoice

    Quote Originally Posted by DrByte View Post
    What version of Zen Cart is this site using?
    If you enable Debug Log-To-File as mentioned in the troubleshooting documented I linked to, what do the logs contain? Best to zip them and post a link to the zip.
    Logging explained more here: http://www.zen-cart.com/forum/showthread.php?t=61199
    Zen Cart 1.3.8a
    Database Patch Level: 1.3.8

    I will post the zip file shortly, I have looked at that before, but I am not experienced enough to sort this one out.

    Thanks for your help DrByte, much appreciated.

    Zip now attached from the other day. I will get another set shorty.
    Attached Files Attached Files
    Last edited by directprint; 13 Jul 2008 at 10:11 AM.

  8. #8
    Join Date
    Jul 2008
    Location
    Australia
    Posts
    28
    Plugin Contributions
    0

    Default Re: Duplicate Invoice

    Here is a test I just completed about 2min ago.
    Attached Files Attached Files

  9. #9
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Duplicate Invoice

    It seems to be dying during the order-insertion process. This is typically a result of customized addons that have altered the order/checkout process. Sometimes that's due to extra order-total modules; sometimes it's something else.

    Try forcing more detailed debug logging by doing this:
    - create a new file named /includes/extra_datafiles/paypal_ipn_extra_debug.php
    - the contents of the file should just be this:
    Code:
    <?php
    define('IPN_EXTRA_DEBUG_DETAILS', 'All');
    Then do another test transaction.
    .

    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.

  10. #10
    Join Date
    Jul 2008
    Location
    Australia
    Posts
    28
    Plugin Contributions
    0

    Default Re: Duplicate Invoice

    Quote Originally Posted by DrByte View Post
    It seems to be dying during the order-insertion process. This is typically a result of customized addons that have altered the order/checkout process. Sometimes that's due to extra order-total modules; sometimes it's something else.

    Try forcing more detailed debug logging by doing this:
    - create a new file named /includes/extra_datafiles/paypal_ipn_extra_debug.php
    - the contents of the file should just be this:
    Code:
    <?php
    define('IPN_EXTRA_DEBUG_DETAILS', 'All');
    Then do another test transaction.
    I have just done that.

    Attached is the zip file.
    Attached Files Attached Files

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Getting Duplicate Invoice Number and Invoice not showing up
    By jennysack in forum General Questions
    Replies: 1
    Last Post: 19 Aug 2011, 02:53 PM
  2. Client Invoice - problems customizing the popup-print-invoice addon
    By LloydR in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 12 Jan 2011, 10:41 AM
  3. Duplicate description and duplicate subcategory etc
    By fajmp in forum General Questions
    Replies: 32
    Last Post: 9 Sep 2008, 01:44 AM
  4. [duplicate report] Duplicate option values in admin
    By joystick in forum Bug Reports
    Replies: 3
    Last Post: 6 Mar 2008, 02:54 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR