Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Jul 2005
    Location
    Orlando, Fl
    Posts
    324
    Plugin Contributions
    0

    Default Paypal Refund Callback Problem after server move

    Just moved a Zencart install to a new server.

    Paypal is communicating back all the info and appending comments when a sale is made.

    However on refunds, It is not appending the refund comments and changing the orders status as before.

    Refunds are completing on the paypal side.

    Most likely a server mis-configuration or permissions error.

    Any ideas?

  2. #2
    Join Date
    Jul 2005
    Location
    Orlando, Fl
    Posts
    324
    Plugin Contributions
    0

    Default Re: Paypal Refund Callback Problem after server move

    To Clarify:

    Paypal is writing the refund info into -> paypal_payment_status_history

    It is not writing to here -> orders_status_history

    Or updating the order status as it used to.

  3. #3
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Paypal Refund Callback Problem after server move

    So that's the only change that was made? Movement of the store to a different server? Same uri? All file and cache locations updated to reflect the new server settings? Verified that all files made it to the new server?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Jul 2005
    Location
    Orlando, Fl
    Posts
    324
    Plugin Contributions
    0

    Default Re: Paypal Refund Callback Problem after server move

    The move was done using cpmove. So the entire account came over at once.

    Same URL

    All the permissions and settings should have been preserved.

    Everything else is functioning correctly and as expected.


    I think since the order status is not changing, this is what is causing the data not to be written here -> orders_status_history

    IPN check is coming back -> RESPONSE RECEIVED - Communications OKAY

    CurlTest -> Data validation - Good

    * I saw that curlwrappers is not checked in apache but not sure if it need to be.

    I've checked ports 80 and 443 inbound outbound are open.

    Check endpoint IPs for blocks in the firewall.

    SSL installed correctly. Checked with sslshopper

    Don't see any thing that would indicate ipn_main_handler.php access issues.
    Last edited by djdavedawson; 13 Feb 2017 at 09:01 PM.

  5. #5
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Paypal Refund Callback Problem after server move

    A refund generally should initiate at least an inspection of the current status and if the transaction is supposed to be a full refund (not sure why wouldn't use a cancel there, then the status should be dropped back to a lower level. If just a partial then, would expect that the refund action would still get logged regardless of the overall status level.

    But one thing in the above discussion is that operation now is different than before yet there is question about the type of signals that are being sent from PayPal such as a status change. Have refunds always been performed from the PayPal site instead of within ZC? When was the last refund performed that was recorded as expected.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #6
    Join Date
    Jul 2005
    Location
    Orlando, Fl
    Posts
    324
    Plugin Contributions
    0

    Default Re: Paypal Refund Callback Problem after server move

    They typically perform refunds from the ZC admin.

    The refunds right before the server move were working accurately.

    So when Paypal would respond that the refund was processed, it would change the status and append the paypal info to -> orders_status_history

    The refunds right after the server move didn't do this anymore.

    Paypal was still populating here -> paypal_payment_status_history .. so they can reach the db to write.

    I think that the process in which the order changes status is the process that will write to -> orders_status_history.

    Just like it does when a comment is added to an order.

    But for some reason; now, the order status change submission is not taking place.

  7. #7
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Paypal Refund Callback Problem after server move

    You said that cpmove was used to transfer to the new server, are you saying that the software modifies the includes/configure.php files as well as updates the folder name associated with session path info in configuration->sessions and further that the store wasn't moved in accordance with the following instruction?

    https://www.zen-cart.com/content.php...-a-live-server
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  8. #8
    Join Date
    Jul 2005
    Location
    Orlando, Fl
    Posts
    324
    Plugin Contributions
    0

    Default Re: Paypal Refund Callback Problem after server move

    Site was not moved that way. It was done at the account level.

    CPmove is a WHM/CPanel Server Level move tool that moves the entire account.

    I am the ISP and administrator for both servers.

    None of the locations change.

    The session directory setting is accurate and populates as such with new orders.

    Everything else is functioning correctly.

  9. #9
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Paypal Refund Callback Problem after server move

    Thought I had asked this question, but it's not in the timeline so guess I didn't. What version of ZC?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  10. #10
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Paypal Refund Callback Problem after server move

    Quote Originally Posted by djdavedawson View Post
    Most likely a server mis-configuration or permissions error.
    Not likely. If other IPN actions are completing properly, then refunds should too.

    Next steps:
    Enable IPN debug logging.
    Do a refund.
    Post the IPN logs showing exactly what it's doing. ... you can decipher this data for troubleshooting purposes too.
    .

    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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h after move server why clients can't pay by paypal ?
    By dmagic in forum General Questions
    Replies: 6
    Last Post: 27 Mar 2014, 10:31 PM
  2. Problem after New Server Move
    By wezza in forum General Questions
    Replies: 1
    Last Post: 28 Dec 2009, 09:27 AM
  3. Paypal broken after server move
    By Kayla in forum PayPal Express Checkout support
    Replies: 2
    Last Post: 6 Aug 2008, 06:13 AM
  4. Curl problem after a server move:
    By mommydesigns in forum PayPal Express Checkout support
    Replies: 2
    Last Post: 10 Jun 2007, 04:24 PM
  5. Problem after cart move to new server.
    By ragemoto in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 30 Mar 2007, 06:42 PM

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