Results 1 to 3 of 3

Thread: redirection from checkout.php to new page.php

  1. #1
    dougsda1
    Guest

    Default redirection from checkout.php to new page.php

    Hello I have created a new page called thankyou.php I need this to make my new affiliate program work. I have changed the settings in paypal to return to my thankyou.php page but it dose not go there it always goes back to membership.php . is there something in the checkout.php or the membership.php that can make it return from paypal to go to my thankyou.php page? I cant have this page anywhere that members can return on their own so I dont need a button or anything I just need it to redirect after payment the one time.
    Thank you

    oh I am using dolphin 6.03
    Last edited by dougsda1; 01-23-2008 at 07:11 PM.

  2. #2
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    checkout.inc.php

    Code:
    function returnURLByAction( $checkoutAction, $data )
    {
    	global $site;
    
    	switch ( $checkoutAction )
    	{
    		case 'membership':
    			return "{$site['url']}membership.php";
    		case 'speeddating':
    			return "{$site['url']}events.php?action=show_info&event_id={$data}";
    		case 'credits':
    			return "{$site['url']}membership.php";
    		case 'profiles':
    			return "{$site['url']}result.php";
    		default:
    			return '';
    	}
    }
    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  3. #3
    dougsda1
    Guest

    Default that is the code I have?

    What should I change in it to make it return back to thankyou.php
    Should I chainge it like this
    function returnURLByAction( $checkoutAction, $data )
    {
    global $site;

    switch ( $checkoutAction )
    {
    case 'thankyou':
    return "{$site['url']}thankyou.php";
    case 'membership':
    return "{$site['url']}membership.php";
    case 'speeddating':
    return "{$site['url']}events.php?action=show_info&event_id={$data}";
    case 'credits':
    return "{$site['url']}membership.php";
    case 'profiles':
    return "{$site['url']}result.php";
    default:
    return '';
    }
    }


    dose that look right or will it mess it up?
    thanks again

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. user profile redirection *sigh*
    By eLycHe in forum Bugs Dolphin 6.00
    Replies: 1
    Last Post: 03-26-2008, 12:07 AM
  2. Error in Checkout.php
    By ArnMan in forum Dolphin General Discussion v6.00 and above
    Replies: 3
    Last Post: 10-02-2007, 05:29 PM
  3. Checkout mods
    By skyhawk85u in forum General Issues, Comments, Questions
    Replies: 2
    Last Post: 09-17-2007, 05:52 AM
  4. PayPal Checkout Page - Credit Card Use Option
    By Smoge in forum Payment Processing
    Replies: 3
    Last Post: 11-03-2006, 09:18 AM
  5. SEO questions, redirection, etc
    By afrogeek in forum Web Hosting Talk
    Replies: 0
    Last Post: 05-09-2006, 12:40 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
  •