Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2009
    Posts
    468
    Plugin Contributions
    2

    Default Paypal warning on checkout.

    Site URL: innerlightcrystals.co.uk
    ZC version: 1.5.8a
    Plugins: bootstrap,
    PHP version: 8.2.15

    Recently had two warning files and a curl redirect for PayPal express. The transaction did complete successfully.

    First log file
    [21-Feb-2024 13:01:00 Europe/London] Request URI: /sales/ipn_main_handler.php?type=ec&token=EC-8P594003C1505003U&PayerID=8298M9BE85FH8, IP address: 76.32.130.116, Language id 1
    #0 /home/lotus/public_html/innerlightcrystals/sales/includes/modules/payment/paypalwpp.php(2204): zen_debug_error_handler()
    #1 /home/lotus/public_html/innerlightcrystals/sales/includes/modules/payment/paypalwpp.php(2014): paypalwpp->ec_step2_finish()
    #2 /home/lotus/public_html/innerlightcrystals/sales/ipn_main_handler.php(80): paypalwpp->ec_step2()
    --> PHP Warning: Undefined array key "paypal_ec_markflow" in /home/lotus/public_html/innerlightcrystals/sales/includes/modules/payment/paypalwpp.php on line 2204.

    paypal curl error (not complete)

    ...
    [TOKEN] => EC-8P594003C1505003U
    [SUCCESSPAGEREDIRECTREQUESTED] => false
    [TIMESTAMP] => 2024-02-21T13:05:09Z
    [CORRELATIONID] => 10f8da028b603
    [ACK] => Failure
    [VERSION] => 124.0
    [BUILD] => 58322870
    [L_ERRORCODE0] => 10486
    [L_SHORTMESSAGE0] => This transaction couldn't be completed.
    [L_LONGMESSAGE0] => This transaction couldn't be completed. Please redirect your customer to PayPal.
    [L_SEVERITYCODE0] => Error
    [CURL_ERRORS] =>

    second warning
    [21-Feb-2024 13:08:26 Europe/London] Request URI: /sales/ipn_main_handler.php?type=ec&token=EC-56M10083GP870161T&PayerID=8298M9BE85FH8, IP address: 76.32.130.116, Language id 1
    #0 /home/lotus/public_html/innerlightcrystals/sales/includes/modules/payment/paypalwpp.php(2204): zen_debug_error_handler()
    #1 /home/lotus/public_html/innerlightcrystals/sales/includes/modules/payment/paypalwpp.php(2014): paypalwpp->ec_step2_finish()
    #2 /home/lotus/public_html/innerlightcrystals/sales/ipn_main_handler.php(80): paypalwpp->ec_step2()
    --> PHP Warning: Undefined array key "paypal_ec_markflow" in /home/lotus/public_html/innerlightcrystals/sales/includes/modules/payment/paypalwpp.php on line 2204.

    I assume that the first attempt failed and they retried.

    I was wondering if the code lines 2003-8
    Code:
          // send the user on
          if ($_SESSION['paypal_ec_markflow'] == 1) {
            $this->terminateEC('', false, FILENAME_CHECKOUT_PROCESS);
          } else {
            $this->terminateEC('', false, FILENAME_CHECKOUT_CONFIRMATION);
          }
    needs changing to
    Code:
          // send the user on
          if (isset($_SESSION['paypal_ec_markflow']) && $_SESSION['paypal_ec_markflow'] == 1) {
            $this->terminateEC('', false, FILENAME_CHECKOUT_PROCESS);
          } else {
            $this->terminateEC('', false, FILENAME_CHECKOUT_CONFIRMATION);
          }
    Mark Brittain
    http:\\innerlightcrystals.co.uk\sales\

  2. #2
    Join Date
    Apr 2019
    Posts
    290
    Plugin Contributions
    0

    Default Re: Paypal warning on checkout.

    Not sure if this issue was resolved already.

    If you refer to the latest v2.0.1 paypalwpp.php code, those lines were changed to the following:


    Code:
          // send the user on
          if (!empty($_SESSION['paypal_ec_markflow']) && $_SESSION['paypal_ec_markflow'] == 1) {
            $this->terminateEC('', false, FILENAME_CHECKOUT_PROCESS);
          } else {
            $this->terminateEC('', false, FILENAME_CHECKOUT_CONFIRMATION);
          }

 

 

Similar Threads

  1. v151 Checkout confusion - Checkout vs Checkout with PayPal
    By shags38 in forum General Questions
    Replies: 1
    Last Post: 11 Nov 2015, 11:30 PM
  2. Replies: 1
    Last Post: 17 Apr 2015, 11:38 AM
  3. paypal website standard IPN acting as express checkout (paypal login only)in checkout
    By sheena88 in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 9 Oct 2010, 02:36 AM
  4. PayPal IPN warning!
    By MysticHarbor in forum PayPal Express Checkout support
    Replies: 7
    Last Post: 28 Jul 2007, 03:35 AM
  5. Warning error on checkout
    By SayUNKLE in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 9 Feb 2007, 05:47 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