Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2007
    Location
    Vancouver, Canada
    Posts
    1,547
    Plugin Contributions
    81

    Default [Fixed v1.5.1] PayPal WPP Processor Decline Fails to Show Error Message

    Unless one of the debug options other than OFF are selected in PayPal Website Payments Pro, the $messageStack will not be outputted as described here:

    http://www.zen-cart.com/showthread.p...53#post1140253

    I haven't verified if this is also the case with PayPal Express Checkout and Website Payments Standard, but you may want to check your code there as well.

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

    Default Re: PayPal Payment Pro, no 'Decline error"?

    Quote Originally Posted by numinix View Post
    This is coming from line 1853:
    $detailedMessage = ($errorText == MODULE_PAYMENT_PAYPALDP_INVALID_RESPONSE || $errorText == MODULE_PAYMENT_PAYPALDP_TEXT_DECLINED || $this->enableDebugging || $response['CURL_ERRORS'] != '' || $this->emailAlerts) ? (isset($response['RESULT']) && $response['RESULT'] != 0 ? MODULE_PAYMENT_PAYPALDP_CANNOT_BE_COMPLETED . ' (' . $errorNum . ')' : $errorNum) . ' ' . urldecode(' ' . $response['L_SHORTMESSAGE0'] . ' - ' . $response['L_LONGMESSAGE0'] . ' ' . $response['CURL_ERRORS']) : '';
    Thanks for the detailed report.
    I haven't done any regression testing on this yet, but it appears that replacing $this->enableDebugging with $this->enableDebugging || (int)trim($errorNum) > 0 appears to solve the specific problem stated.
    .

    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
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: PayPal WPP Processor Decline Fails to Show Error Message

    Response posted in the thread quoted.
    .

    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.

  4. #4
    Join Date
    Apr 2007
    Location
    Vancouver, Canada
    Posts
    1,547
    Plugin Contributions
    81

    Default Re: PayPal Payment Pro, no 'Decline error"?

    Yes that will work.

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

    Default Re: PayPal Payment Pro, no 'Decline error"?

    Fixed in v1.5.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.

 

 

Similar Threads

  1. v151 Show PayPal Long Error Message
    By nightdesigns in forum PayPal Website Payments Pro support
    Replies: 2
    Last Post: 2 May 2014, 10:35 PM
  2. Message: An error occurred when we tried to contact the payment processor
    By katrinalee in forum PayPal Express Checkout support
    Replies: 8
    Last Post: 17 Sep 2012, 09:11 PM
  3. PayPal Payment Pro, no 'Decline error"?
    By kevinmc3 in forum Addon Payment Modules
    Replies: 15
    Last Post: 7 Aug 2012, 10:51 AM
  4. Paypal WPP Error 30
    By totalsam in forum PayPal Website Payments Pro support
    Replies: 5
    Last Post: 27 Jul 2009, 04:36 AM
  5. Message: An error occurred when we tried to contact the payment processor.
    By gottoast in forum PayPal Express Checkout support
    Replies: 3
    Last Post: 1 Jun 2007, 09:41 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