Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Skip Payment page for free downloads


thedoctor

Recommended Posts

Hi

 

I am setting up a site that will allow users to download files either free or paid for, depending on the product.

 

I can't seem to get this to work where the user gets redirected straight to confirmation page if the download is free.

 

This is the mod I have been trying it, but firefox just doesn't like it

 

//**si** 04-11-05 No Payment screen if order+shipping are ZERO
if ( $order->info['subtotal']+$order->info['shipping_cost']==0 ) {
tep_redirect(tep_href_link(FILENAME_CHECKOUT_CONFIRMATION, NULL, 'SSL'));
}
//**si** end

 

It keeps coming up with the error

 

 

The page isn't redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

 

* This problem can sometimes be caused by disabling or refusing to accept

cookies.

 

Anyone know what I am doing wrong here?

 

Any help is greatly appreciated

Edited by thedoctor
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...