Results 1 to 2 of 2
  1. #1
    kelvyn Guest

    Default Paypal IPN puts garbage on page on return to cart

    When checking out via Paypal, the page layout is messed up (not the correct stylesheet) and this text appears at the top of the page:

    Code:
    $idev = $db->Execute("select * from " . TABLE_ORDERS_TOTAL . " where orders_id = '".(int)$orders->fields['orders_id']."' AND class = 'ot_subtotal'"); $idev_saleamt = (number_format($idev->fields['value'],2)); $idev_ordernum = $idev->fields['orders_id']; print "";
    I can't find anyone else with this problem here, so I guess it must be just me, but I can't figure it out.

  2. #2
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Paypal IPN puts garbage on page on return to cart

    looks like you need to add
    <?php and ?> arount the idev tracking code in your tpl_header.php
    Zen cart PCI compliant Hosting

 

 

Similar Threads

  1. PayPal IPN return URL
    By dealbyethan.com in forum Basic Configuration
    Replies: 14
    Last Post: 11 Apr 2011, 11:47 PM
  2. Intermittent faliure in Paypal IPN return
    By elibaba in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 20 Jan 2010, 06:49 PM
  3. Is Paypal IPN return link mandatory?
    By bettysue in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 24 Jan 2009, 03:51 AM
  4. Paypal IPN auto return page
    By misticloudz in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 29 Oct 2007, 09:19 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