Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 27
  1. #11
    Join Date
    Apr 2007
    Posts
    82
    Plugin Contributions
    0

    Default Re: Help, how do you capture funds from within ZC 1.3.8 (PayPal Express)?

    Hi,

    Okay, I found the php file and the area you mentioned and this is what's there:

    Code:
      } else {
          if (method_exists($this, '_doRefund') && ($response['PAYMENTTYPE'] != 'instant' || $module == 'paypaldp')) $output .= $outputRefund;
          if (method_exists($this, '_doVoid') && $response['PAYMENTTYPE'] == 'instant' && $response['PAYMENTSTATUS'] != 'Voided' && $module != 'paypaldp') $output .= $outputVoid;
        }
      }
      $output .= $outputEndBlock;
      $output .= $outputEndBlock;
      $output .= '<!-- EOF: pp admin transaction processing tools -->';
    So if I insert your code, is this what you are saying I should do:

    Code:
    } else {
          if (method_exists($this, '_doRefund') && ($response['PAYMENTTYPE'] != 'instant' || $module == 'paypaldp')) $output .= $outputRefund;
          if (method_exists($this, '_doVoid') && $response['PAYMENTTYPE'] == 'instant' && $response['PAYMENTSTATUS'] != 'Voided' && $module != 'paypaldp') $output .= $outputVoid;
          if (method_exists($this, '_doCapt') && (MODULE_PAYMENT_PAYPALWPP_TRANSACTION_MODE == 'Auth Only' || (isset($_GET['authcapt']) && $_GET['authcapt']=='on'))) $output .= $outputCapt;
          if (method_exists($this, '_doRefund')) $output .= $outputRefund;    
        }
      }
      $output .= $outputEndBlock;
      $output .= $outputEndBlock;
      $output .= '<!-- EOF: pp admin transaction processing tools -->';
    
    ?>
    Thank you for getting back so quickly. I appreciate it.

  2. #12
    Join Date
    Dec 2007
    Posts
    18
    Plugin Contributions
    0

    Default Re: Help, how do you capture funds from within ZC 1.3.8 (PayPal Express)?

    TJ1....................


    YOU ARE THE MANNNNNNNNNNNNNNNNNNNNN.

    So i did just as you said and Voila. I tested Express checkout and i had both the void or refund option. I did the refund and everything worked out lovely.

    Thank you for the great help in resolving this.

    Everyone.. This seems to solve the issue of "no refund". I personally tested this out with 2 test orders of 60 dollars and it just worked its charmes.

  3. #13
    Join Date
    Apr 2007
    Posts
    82
    Plugin Contributions
    0

    Default Re: Help, how do you capture funds from within ZC 1.3.8 (PayPal Express)?

    Thank you Tj1... That did it. I added the two lines directly under the line you stated, logged in to my admin area, looked at the order and there was the box with the "do refund" & "do partial refund" options. The "void order" function remained in tact as well.

    Thanks again

  4. #14
    Join Date
    Nov 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: Help, how do you capture funds from within ZC 1.3.8 (PayPal Express)?

    I've been working through this thread and the other one 82033, and found the information very helpful.

    However i'm not making any progress with getting the Refund functionality to show up.

    Being a New zenner, i've been delighted to get this far with just reading existing posts, (you are a very helpful and informative bunch :-) )

    However, i am using Paypal IPN and i am not sure if this work around only works for Paypal Pro / Express ?? (which i don't have)

    Would be great if someone can clarify this, and also suggest a way this may work for Paypal IPN.

    Many thanks

  5. #15
    Join Date
    Aug 2008
    Posts
    29
    Plugin Contributions
    0

    Default Re: Help, how do you capture funds from within ZC 1.3.8 (PayPal Express)?

    The code works great. Thanks guys

    Will this be an overide or will it be lost changes if I ever update my version?

  6. #16
    Join Date
    Jul 2007
    Posts
    156
    Plugin Contributions
    0

    Default Re: Help, how do you capture funds from within ZC 1.3.8 (PayPal Express)?

    This code worked great thanks.
    However it put the refund box at the left side instead of the right side so to get around that problem I moved the code to just under
    Code:
    if (method_exists($this, '_doVoid') && $response['PAYMENTTYPE'] == 'instant' && $response['PAYMENTSTATUS'] != 'Voided' && $module != 'paypaldp') 
    $output .= $outputVoid;
    This moved the refund box to the right just next to the void box.

  7. #17
    Join Date
    Oct 2006
    Posts
    13
    Plugin Contributions
    0

    Default Re: Help, how do you capture funds from within ZC 1.3.8 (PayPal Express)?

    Hi.

    Can anyone tell me how can I turn on the refund or do void function in order to allow me refund customers? I went to admin page -> customer -> order select the customer order -> edit and manually put &authcapt=on at the end of the URL but I still cannot see the Do Void options.
    http://www.xxxxxxxxxx.com.au/admin/o...it&authcapt=on


    I am using Zencart v1.3.8a and with the following payment options turn on.

    Credit Card - Offline Processing cc 0
    The Zen Cart FREE CHARGE CARD freecharger 0 default
    PayPal IPN - Website Payments Standard PayPal 0 Processing
    PayPal Express Checkout (sandbox active) PayPal 0 Processing


    Please HELP...
    Thanks
    From Australia
    Attached Images Attached Images  

  8. #18
    Join Date
    Mar 2009
    Posts
    221
    Plugin Contributions
    1

    Default Re: Help, how do you capture funds from within ZC 1.3.8? (PayPal Express)

    Is this an official bug fix? I am having the same issue with Paypal Express in 1.3.8a. When opening the order in the admin, there are no options for refund or capture - only a Voiding Order Authorizations box.

    I don't see this issue in any of the bug threads.
    Last edited by Crunch; 8 Jul 2009 at 02:06 AM.

  9. #19
    Join Date
    Mar 2009
    Posts
    221
    Plugin Contributions
    1

    Default Re: Help, how do you capture funds from within ZC 1.3.8? (PayPal Express)

    Just made the revisions that TJ1 posted on page 1, in addition to moving the new code down a few lines as Phil020782 suggested on page 2 so that the refund box shows up next to the void box.

    Here is how it looks now with new code added in red in new location. I now have a Order Refunds box and it's formatted next to the Voiding Order Authorizations box. Thanks! Hope this sticks in future versions.

    /includes/modules/payment/paypal/paypalwpp_admin_notification.php:

    Code:
      } else {  // PayPal
        $output .= $outputPayPal;
        if ($response['TRANSACTION_TYPE'] == 'Authorization' || ($response['TRANSACTIONTYPE'] == 'cart' && $response['PAYMENTTYPE'] == 'instant' && $response['PENDINGREASON'] == 'authorization') || (isset($_GET['authcapt']) && $_GET['authcapt']=='on')) {
          $output .= $outputEndBlock;
          $output .= $outputEndBlock;
          $output .= $outputStartBlock;
          $output .= $outputStartBlock;
          if (method_exists($this, '_doRefund') && ($response['PAYMENTTYPE'] != 'instant' || $module == 'paypaldp')) $output .= $outputRefund;
          if (method_exists($this, '_doAuth') && MODULE_PAYMENT_PAYPALDP_TRANSACTION_MODE == 'Auth Only') $output .= $outputAuth;
          if (method_exists($this, '_doCapt') && MODULE_PAYMENT_PAYPALDP_TRANSACTION_MODE == 'Auth Only') $output .= $outputCapt;
          if (method_exists($this, '_doVoid')) $output .= $outputVoid;
        } else {
          if (method_exists($this, '_doRefund') && ($response['PAYMENTTYPE'] != 'instant' || $module == 'paypaldp')) $output .= $outputRefund;
          if (method_exists($this, '_doVoid') && $response['PAYMENTTYPE'] == 'instant' && $response['PAYMENTSTATUS'] != 'Voided' && $module != 'paypaldp') $output .= $outputVoid;
          if (method_exists($this, '_doCapt') && (MODULE_PAYMENT_PAYPALWPP_TRANSACTION_MODE == 'Auth Only' || (isset($_GET['authcapt']) && $_GET['authcapt']=='on'))) $output .= $outputCapt;
          if (method_exists($this, '_doRefund')) $output .= $outputRefund;
        }
      }
    Last edited by Crunch; 8 Jul 2009 at 02:45 AM.

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

    Default Re: Help, how do you capture funds from within ZC 1.3.8? (PayPal Express)

    ... and remember, you can't always refund certain transactions ... which is why the option is supposed to only appear in certain cases.
    .

    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 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. paypal express problem? funds not collected
    By slik666 in forum PayPal Express Checkout support
    Replies: 29
    Last Post: 26 Jan 2012, 10:17 AM
  2. Replies: 7
    Last Post: 8 Feb 2010, 08:26 PM
  3. Not allowed to Capture Funds in ZC anymore?
    By katrobb in forum PayPal Website Payments Pro support
    Replies: 1
    Last Post: 25 Nov 2008, 03:05 AM
  4. Capture funds upon Shipping
    By cgee in forum General Questions
    Replies: 2
    Last Post: 30 Oct 2008, 08:44 PM
  5. Authorize and Capture Paypal funds for down payment
    By two7s_clash in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 24 Jan 2007, 05:43 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