Announcement

Collapse
No announcement yet.

Direct URL link to coupon discount

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Direct URL link to coupon discount

    I've set up some coupon discounts and am trying to give the direct URL for use them.

    Using the 'copy URL to clipboard' feature on the discounts tab gives me the following link:

    http://www.ucasbooks.co.uk/cgi-bin/r...N=UCASFFF00106

    However, clicking on this gives an error as follows:

    "The specified CGI application misbehaved by not returning a complete set of HTTP headers."

    In the words of my customer: NAUGHTY CGI!

    Any ideas what's wrong?

    #2
    Do you need to append strings for REFERRER and NOLOGIN? Is a coupon discount a page?
    Bill
    www.egyptianwonders.co.uk
    Text directoryWorldwide Actinic(TM) shops
    BC Ness Solutions Support services, custom software
    Registered Microsoft™ Partner (ISV)
    VoIP UK: 0131 208 0605
    Located: Alexandria, EGYPT

    Comment


      #3
      hmmm, sorry, didn't seem to copy the complete URL. URL as generated is:

      http://www.ucasbooks.co.uk/cgi-bin/r...N=UCASFFF00106

      Comment


        #4
        OK, the board is truncating the URL, let me split it up!

        http://www.ucasbooks.co.uk/cgi-bin/rs000001.pl?
        DESTINATION=index%2ehtml&
        BASEURL=http%3a%2f%2fwww%2eucasbooks%2eco%2euk%2facatalog%2f&
        COUPON=UCASFFF00106

        Comment


          #5
          I don't think the referrer script will do what you want, but if it would, that url is missing the SOURCE= string and the PATH= string. AUG page 70 refers.

          You might be better making the call to http://your.URL/cgibin/
          ca000001.pl?ACTION=SHOWCART&ACTINIC_REFERRER=http://your.URL/a
          catalog/ and tagging the &COUPON= onto the end of that - again, I am not sure this will work, but it is more likely than the referrer script IMHO.
          Bill
          www.egyptianwonders.co.uk
          Text directoryWorldwide Actinic(TM) shops
          BC Ness Solutions Support services, custom software
          Registered Microsoft™ Partner (ISV)
          VoIP UK: 0131 208 0605
          Located: Alexandria, EGYPT

          Comment


            #6
            Hmmm - so why is the Actinic system itself generating this link if it's not the right one?

            Or is that a naive question??

            Comment


              #7
              I can't find the "Copy URL to clipboard" option on the discounts tab of my products, so cannot check this.
              Bill
              www.egyptianwonders.co.uk
              Text directoryWorldwide Actinic(TM) shops
              BC Ness Solutions Support services, custom software
              Registered Microsoft™ Partner (ISV)
              VoIP UK: 0131 208 0605
              Located: Alexandria, EGYPT

              Comment


                #8
                Bill

                Go to 'view', 'Discounts and surcharge setiings' and click on the 'Order level' tab. The 'Copy URL to clipboard' button is in the 'general' section where you put in the coupon code.

                Richard

                Comment


                  #9
                  Thanks Richard.

                  Just tried it and the link it produces is exactly as you have posted. It works on my site
                  http://www.egyptianwonders.co.uk/cgi...UPON=ACTFORUM5

                  Could it be that your site needs to be live before it will work?
                  Last edited by wjcampbe; 31-Mar-2006, 11:42 AM. Reason: spelling
                  Bill
                  www.egyptianwonders.co.uk
                  Text directoryWorldwide Actinic(TM) shops
                  BC Ness Solutions Support services, custom software
                  Registered Microsoft™ Partner (ISV)
                  VoIP UK: 0131 208 0605
                  Located: Alexandria, EGYPT

                  Comment


                    #10
                    Hmmm, intriguing. My site is live - it just has a blank front door. I wonder if it's because of the host I'm using.

                    Comment


                      #11
                      I tried to enter the front door. Course, then I sneaked in an open window...

                      Could be a corrupt script. Try copying the original referrer.pl script from C:\Program Files\Actinic v7\Original and refresh the website.
                      Bill
                      www.egyptianwonders.co.uk
                      Text directoryWorldwide Actinic(TM) shops
                      BC Ness Solutions Support services, custom software
                      Registered Microsoft™ Partner (ISV)
                      VoIP UK: 0131 208 0605
                      Located: Alexandria, EGYPT

                      Comment


                        #12
                        Originally posted by Richard Gray
                        I've set up some coupon discounts and am trying to give the direct URL for use them.

                        Using the 'copy URL to clipboard' feature on the discounts tab gives me the following link:

                        http://www.ucasbooks.co.uk/cgi-bin/r...N=UCASFFF00106

                        However, clicking on this gives an error as follows:

                        "The specified CGI application misbehaved by not returning a complete set of HTTP headers."

                        Any ideas what's wrong?
                        Was this issue ever resolved as it used to work on my clients server and now all of a sudden it doesn't and as far as I am aware nothing has been changed in the hosting environment? The site is hosted on a Windows 2003 Server.

                        Comment

                        Working...
                        X