Jump to content

Question on checkoutscript.php


ffeingol

Recommended Posts

From memory I've seen comments here that you can't output any images etc. from the checkoutscript.php. Several things that we'd like to use require a 1x1 px image etc. to display for tracking. Can you display an image from checkoutscript.php or what are the restrictions?

Link to comment
Share on other sites

From memory I've seen comments here that you can't output any images etc. from the checkoutscript.php. Several things that we'd like to use require a 1x1 px image etc. to display for tracking. Can you display an image from checkoutscript.php or what are the restrictions?

 

Howdy,

 

I am not totally sure about this.

 

 

However, why can't you add it to the finish template and not the checkoutscript.php file.

 

 

From,

Adam

 

P.S. The checkoutscript only works with the legacy order system (order.php and not the cart system).

Link to comment
Share on other sites

I am curious about this as well, we need that and we are unable to get this working. We are using the cart and we have placed the appropriate code in the section that requests the code tracking script/url. I have placed in the variables and i am having no luck what so ever.......We are trying to use Shareasale...

Link to comment
Share on other sites

Howdy,

 

With the cart system, it does not use the checkoutscript.php. You will need to use the "hook" system in order to complete this.

 

However, your tracking system should offer some sort of PHP based or javascript based tracker as well.

 

 

Thanks,

Adam

Link to comment
Share on other sites

Well we finaly got it to work with the help of MATT and ADAM, the values that need to be used can be found using the {debug} and furthermore, make sure you set the Auto Redirect on Checkout to:

 

automatically redirect the user to the gateway - not automatically redirect and just show the order completed page

(this can be found going to General Settings >> Ordering Tab)

 

If you have it going to the other options, code in the {if $ispaid}{/if} section will not run as payment won't have been made.

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
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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated