Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Jul 2007
    Posts
    342
    Plugin Contributions
    7

    Default Aiax error on payment page with PayPal Web Payments Pro

    Hi, I am having some strange happenings on a site using PayPal express checkout and PayPal Web Payments Pro.When you go through the checkout process on page 3 of 5 Payment page depending on the browser you get an ajax warning "An unknown response 'null null' was received while processing an ajax call. The action you requested could not be completed" It does not stop the process as you can continue. Can anyone throw any light on to why this is happening please?
    Also on the checkout_payment page 4 of 5 I am seeing the order duplicated. Not too sure if this related.
    Any guidance would be welcome, thanks.
    By the way I have other sites running the same version on the server but using PayPal Standard or other gateway without any issues.

  2. #2
    Join Date
    Dec 2011
    Location
    Wisconsin, USA
    Posts
    674
    Plugin Contributions
    21

    Default Re: Aiax error on payment page with PayPal Web Payments Pro

    Quote Originally Posted by ianhg View Post
    Hi, I am having some strange happenings on a site using PayPal express checkout and PayPal Web Payments Pro.When you go through the checkout process on page 3 of 5 Payment page depending on the browser you get an ajax warning "An unknown response 'null null' was received while processing an ajax call. The action you requested could not be completed" It does not stop the process as you can continue. Can anyone throw any light on to why this is happening please?
    Also on the checkout_payment page 4 of 5 I am seeing the order duplicated. Not too sure if this related.
    Any guidance would be welcome, thanks.
    By the way I have other sites running the same version on the server but using PayPal Standard or other gateway without any issues.
    Can you see where the Ajax is posting in your browser? what is the error it is giving? are you using any re-write modules?

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,475
    Plugin Contributions
    88

    Default Re: Aiax error on payment page with PayPal Web Payments Pro

    Some additional information will help us help you (based on the information requested in the Posting Tips), specifically: Was this a fresh Zen Cart install? If not, what version was it upgraded from?

  4. #4
    Join Date
    Jul 2007
    Posts
    342
    Plugin Contributions
    7

    Default Re: Aiax error on payment page with PayPal Web Payments Pro

    New install v 1.5.4
    Using COWOA
    As other sites have the same,, but are not getting Ajax error.
    If you dismiss the error message you can complete purchase. Browser error just states
    "An unknown response 'null null' was received while processing an ajax call. The action you requested could not be completed"

  5. #5
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Aiax error on payment page with PayPal Web Payments Pro

    Which version of COWOA?

    Did you merge or overwrite the template changes for COWOA?

    If you switch to the "classic" theme (template) does this still occur?
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  6. #6
    Join Date
    Jul 2007
    Posts
    342
    Plugin Contributions
    7

    Default Re: Aiax error on payment page with PayPal Web Payments Pro

    Using COWOA 2.4
    Overwrote template changes.

  7. #7
    Join Date
    Jul 2007
    Posts
    342
    Plugin Contributions
    7

    Default Re: Aiax error on payment page with PayPal Web Payments Pro

    Quote Originally Posted by ianhg View Post
    Using COWOA 2.4
    Overwrote template changes.

    Some further information if it helps:
    in my template tpl_checkout_payment_default.php
    I have the following in around line17 <div class="centerColumn" id="checkoutPayment">
    <?php echo zen_draw_form('checkout_payment', zen_href_link(FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL'), 'post', ($flagOnSubmit ? 'onsubmit="return check_form();"' : '')); ?>
    In the non modified template the red highlighted section is missing.
    On around line 230 in my modified template I have <div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_CONTINUE_CHECKOUT, BUTTON_CONTINUE_ALT, 'onclick="submitFunction('.zen_user_has_gv_account($_SESSION['customer_id']).','.$order->info['total'].')"'); ?></div>
    <div class="buttonRow forward"><?php echo TITLE_CONTINUE_CHECKOUT_PROCEDURE . '<br />' . TEXT_CONTINUE_CHECKOUT_PROCEDURE; ?></div>
    But in the zen standard template: <div class="buttonRow forward" id="paymentSubmit"><?php echo zen_image_submit(BUTTON_IMAGE_CONTINUE_CHECKOUT, BUTTON_CONTINUE_ALT, 'onclick="submitFunction('.zen_user_has_gv_account($_SESSION['customer_id']).','.$order->info['total'].')"'); ?></div>
    <div class="buttonRow back"><?php echo TITLE_CONTINUE_CHECKOUT_PROCEDURE . '<br />' . TEXT_CONTINUE_CHECKOUT_PROCEDURE; ?></div>
    So I am missing the red highlighted section. Would this be the cause of the error message from Ajax? So should I add to my template id="paymentSubmit"


  8. #8
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,475
    Plugin Contributions
    88

    Default Re: Aiax error on payment page with PayPal Web Payments Pro

    There was another posting (by @earth-friendly) of the same error which was corrected by properly merging the template files for the checkout_payment page.

    I'm pretty sure that the correction was, as you suggested, adding that id="paymentSubmit" to the div that surrounds the page's submit button.

  9. #9
    Join Date
    Jul 2007
    Posts
    342
    Plugin Contributions
    7

    Default Re: Aiax error on payment page with PayPal Web Payments Pro

    Quote Originally Posted by lat9 View Post
    There was another posting (by @earth-friendly) of the same error which was corrected by properly merging the template files for the checkout_payment page.

    I'm pretty sure that the correction was, as you suggested, adding that id="paymentSubmit" to the div that surrounds the page's submit button.
    Thanks for the reply but I not too sure if I should also remove

    , ($flagOnSubmit ? 'onsubmit="return check_form();"' : '')


    As this is not in Zencart 1.5.4 template

  10. #10
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,475
    Plugin Contributions
    88

    Default Re: Aiax error on payment page with PayPal Web Payments Pro

    Quote Originally Posted by ianhg View Post
    Thanks for the reply but I not too sure if I should also remove

    , ($flagOnSubmit ? 'onsubmit="return check_form();"' : '')


    As this is not in Zencart 1.5.4 template
    Apologies for providing an incomplete solution in my previous post; yes, I would also remove that code fragment.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 PayPal Payments Pro Error 15010
    By AnnetteK in forum PayPal Website Payments Pro support
    Replies: 12
    Last Post: 5 Feb 2016, 03:50 PM
  2. Replies: 1
    Last Post: 31 Mar 2010, 03:45 AM
  3. PayPal Web Payments Pro and IPN
    By underworldmagic in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 30 Aug 2007, 09:29 PM
  4. Paypal Web Site Payment Pro Setup
    By dsaini in forum Addon Payment Modules
    Replies: 5
    Last Post: 12 Jun 2006, 03:16 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