Results 1 to 5 of 5

Threaded View

  1. #1
    Join Date
    Aug 2010
    Posts
    2
    Plugin Contributions
    0

    Default PayPal WPS-IPN: How do I override the return URL?

    Hi,

    I'm setting up a store that uses Website Payments Std IPN as the sole payment option. We're just to the point of live testing and everything is working great except one thing. I need to be able to override the return URL (and the cancel URL for that matter) to something other than the default:

    /zencart/index.php?main_page=checkout_process&referer=paypal

    This Zen Cart install is running inside a frame as part of a larger site. The outer page provides the header, navigation, etc, and Zen Cart runs in an iframe in the page content area, using a basic template to reduce clutter.

    I've managed to make the site break out of it's frame when it hands off to PayPal as it should be but I need it to jump back into the frames when the user comes back from PayPal. As is, Zen Cart is sending the address above as the return URL which means no frame and a confused layout. I need the return URL to be something like:

    /content/shop-return.php

    Which sets up the frames again and displays the Zen Cart order confirmation within it. The PayPal account is set to return to my custom return page but it's being overridden by the form data Zen Cart is posting (the 'return' and 'cancel_return' fields). I've scoured the Admin control panel but I'm not seeing it. How do I change the return URL that Zen Cart sends to PayPal to something of my choosing?
    Thanks :)


    Zencart version 1.3.9d (update planned before go-live).
    New clean install, no addons, etc except a template.
    Last edited by JeremyR; 26 Aug 2010 at 08:39 PM. Reason: Typo in url (oops)

 

 

Similar Threads

  1. I need to use PayPal WPS mx URL (not es)
    By mayte in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 17 Jun 2011, 05:43 PM
  2. PayPal IPN return URL
    By dealbyethan.com in forum Basic Configuration
    Replies: 14
    Last Post: 11 Apr 2011, 11:47 PM
  3. Paypal IPN Auto Return URL not working correctly
    By truffles in forum PayPal Express Checkout support
    Replies: 4
    Last Post: 18 Dec 2009, 04:27 PM
  4. How can I override the checkout_success return URL
    By Doctor Jon in forum Addon Payment Modules
    Replies: 2
    Last Post: 12 Dec 2006, 07:26 PM

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