Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Jun 2014
    Location
    Las Vegas, Nevada, United States
    Posts
    47
    Plugin Contributions
    0

    Default Error after paypal redirect - Array([0]=>This transaction has already been captured

    Using ZenCart 1.5.3 (clean install), Paypal Express module (built in), Taxcloud (latest github version), and USPS module.

    When testing purchases I am running into an issue. After adding an item to the cart I proceed with checkout which goes smoothly. I am taken to Paypal to make payment. After making the payment on paypal the website redirects me back to my store (BG-Gear.com). This is where the problem is.

    When redirected back to my store from paypal I am presented with a blank page with an error that reads
    Array([0]=>This transaction has already been captured (ordered:#))

    At this point I leave the blank page with the error showing and…
    -----look at paypal and see that the charges have been processed properly.
    -----check my zencart admin and see the order is there with the charges accepted form paypal.
    -----The number in the error message for the order# reflects the correct order number that is associated with the order in my admin.
    -----Emails from both paypal and my store are sent to the customer
    So in a nut shell it all appears to have processed properly except for the error page.

    If I hit the back button a few times to get to the store again, I find the item(s) that I had ordered are still in the cart even though the purchase appears to have processed properly.

    When a customer sees the error they will think something failed and either leave the store permanently or go back and see the items in their cart and try to purchase again. Not good in either case.

    I had read in a ZenCart forum thread about having the wrong TaxCloud ID and API Key caused this for someone.
    http://www.zen-cart.com/showthread.p...-shopping-cart
    However I have triple checked to be sure I have the correct entries.

    As a side note I also noticed I can not do a refund on the transaction form within ZenCart. I can do a refund by going to Paypal and do it there.
    I also noticed that when I view the specific order in my ZenCart Admin it has the items and shipping address etc. But what is missing is all the information that should be located in the grey boxes like payer ID, Payment type, etc. I assume the error message I am seeing indicates that this information is not being passed back to my store from paypal? I tried to attach an image to this post but can not seem to get that function to work for me.

    From what I can tell I think this is a paypal express issue? But the thread referenced above makes me wonder if it is a taxcloud issue.

    Any help would be appreciated
    Luke

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

    Default Re: Error after paypal redirect - Array([0]=>This transaction has already been captur

    I can't recreate your symptoms using a fresh clean install of v1.5.3 without taxcloud or any other modules added.

    Guessing the taxcloud code isn't built for ZC v1.5.3 yet
    .

    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
    Jun 2014
    Location
    Las Vegas, Nevada, United States
    Posts
    47
    Plugin Contributions
    0

    Default Re: Error after paypal redirect - Array([0]=>This transaction has already been captur

    Thanks for trying to recreate.

    Would you know what portion of code / files have changed in zencart 1.5.3 that would effect the taxcloud module?

    Im not a coder but would like to see if it is something i could figure out. Or possibly point the taxcloud guys at to help me solve this.

    I would prefer to stick with the new version zencart if possible. This error is the only issue i have left to figure out an im up and running.

    Thoughts?
    Luke

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

    Default Re: Error after paypal redirect - Array([0]=>This transaction has already been captur

    The TaxCloud folks can download the latest version of Zen Cart and compare their code against the Zen Cart files, and see where their conflicts occur (such as where they've replaced a core ZC file with their own, based on an older version of ZC).
    You could do the same. WinMerge is a very handy tool for that sort of thing. It'll take them half as long as you only because they're already familiar with the code.

    The last time I looked at the TaxCloud code was quite awhile ago, but I recall it being messy, and also thinking it was unnecessarily messy in terms of overwriting lots of core code where notifiers/observers could have done the same thing. Not expecting you to deal with that, but they should.
    .

    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
    Jun 2014
    Location
    Las Vegas, Nevada, United States
    Posts
    47
    Plugin Contributions
    0

    Default Re: Error after paypal redirect - Array([0]=>This transaction has already been captur

    I hope they are somewhat responsive. I had emailed them before I started posting here but have not yet gotten a reply.

    So to be clear on what youre saying is the problem would likely be in one of the core overwrite files of theirs? I will start playing with some things to try and narrow it down to which file.

    If I find a solution for this I will post it here so others wanting to use TaxCloud with Zencart 1.5.3 can maybe benefit. I assume there will be people wanting to do this.

    Thanks for your time
    Luke

  6. #6
    Join Date
    Jun 2014
    Location
    Las Vegas, Nevada, United States
    Posts
    47
    Plugin Contributions
    0

    Default Re: Error after paypal redirect - Array([0]=>This transaction has already been captur

    DrByte,
    I tried a test.
    I left the TaxCould module installed on my store and touched no files.
    Then I set the module to Enabled = False to turn off the TaxCloud module (still installed though).
    Made a test purchase and the error is gone and all my invoice stuff shows up in the admin area.
    I can also do refunds.
    In other words all works perfect with the TaxCloud Module installed but just not enabled.

    This makes me wonder if it is faulty code in the core files they replace or maybe it is something faulty in ANY part or file of the TaxCloud files?
    Can you offer any pointers on how to determine which file is the culprit?

    My thought WAS to see if the error was still there with taxcloud installed but just not enabled. If the error was still there then I would feel safe to assume it was in a core file replacement. However the error goes away with the taxcloud core files in place but just not calling any taxcloud functions (since it was switched to off). With this being the case I don't think I can just swap core files out and see which one is causing the error.

    Any ideas on how to narrow this down?
    Luke

 

 

Similar Threads

  1. Replies: 0
    Last Post: 8 Oct 2014, 10:31 PM
  2. v151 A successful transaction has already been completed for this token.
    By wdkstudio in forum PayPal Express Checkout support
    Replies: 2
    Last Post: 26 Dec 2013, 11:30 PM
  3. v139h PayPal Error After 2 Years, PHP Warning: curl_exec() has been disabled for security r
    By pinksparklegirl in forum PayPal Express Checkout support
    Replies: 4
    Last Post: 4 Aug 2013, 02:50 PM
  4. v139h Edit the weight of a product which has been already listed for sale
    By Chicky in forum General Questions
    Replies: 4
    Last Post: 18 Feb 2013, 05:11 PM
  5. I know this Paypal ? has been asked b4
    By A-1 Electronics in forum General Questions
    Replies: 3
    Last Post: 23 Apr 2007, 08:48 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