Announcement

Collapse
No announcement yet.

Missing link to receipt

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

    Missing link to receipt

    When my ACT_SECPayOK.html page returns to confirm a purchase, the link to the receipt page is blank i.e. <a href=""> The order number is correct and it appears ok in Actinic Calatog.

    Is this because I'm currently running the site in test mode or is a variable not being passed correctly. I've tested using the original ACT_*.html files. How and when is the URL value created?

    Thanks
    Mike

    #2
    Mike

    All I can think of is whether or not your 'Catalog URL' field is filled in 'Advanced | Network Setup' (although this is a required field for just this reason).

    I'll ask the technical team here at Actinic and see if they can shed any light.

    Comment


      #3
      I've double checked this field and all the tests pass ok. Thanks for pursuing this for me.

      Comment


        #4
        This should work fine in test mode. We have been running some tests here and have not been able to recreate the issue.

        How and when is the URL value created?

        This is from the development team. Brace yourself....

        ------------------------

        The callback URLs, are generated by the orderscript at the time the PSP bounce page is generated. Please check the PSP bounce page. The form inside the bounce page should look like this:

        <sample code attached as occ_form.txt>
        Attached Files

        Comment


          #5
          Using the sample form is generating a link. I just need to pass in the correct parameters to create a valid link and I should be there. I should be able to get it working ok from here. Many thanks.

          Comment


            #6
            Don't forget that the sample code I attached is just an example from a working test site.

            The idea is for you to refer to this code in order to check which of the values there do not appear to be populated by Actinic in your PSP-bounce page.

            You should not try to hard-code all that in as we really need to find why Actinic is not working as it should.

            Comment


              #7
              Hi

              The relevant source code now generated by my authorisation page located on the SECPay server is shown below. It is the same as the example code you sent, (as far as I can tell) but the link in the ACT_SECPayOK.html is still empty. The code for the link in that page is: Click <A HREF="${receipturl:=${RECEIPTURL}}">here</A> to view your receipt.

              If I cut and paste the RECEIPTURL value from the authorisation page it produces a valid receipt page. Any last thoughts before Christmas :-)
              Cheers Mike

              <form name="formocc" method=post action="https://www.secpay.com/java-bin/ValCard">
              <INPUT TYPE=HIDDEN NAME="bill_name" VALUE="Mike&#32;Cobb">
              <INPUT TYPE=HIDDEN NAME="bill_company" VALUE="">
              <INPUT TYPE=HIDDEN NAME="bill_addr_1" VALUE="Cherry&#32;Tree&#32;Cottage">
              <INPUT TYPE=HIDDEN NAME="bill_addr_2" VALUE="">
              <INPUT TYPE=HIDDEN NAME="bill_city" VALUE="Bookham">
              <INPUT TYPE=HIDDEN NAME="bill_state" VALUE="">
              <INPUT TYPE=HIDDEN NAME="bill_post_code" VALUE="KT23&#32;4SS">
              <INPUT TYPE=HIDDEN NAME="bill_country" VALUE="United&#32;Kingdom">
              <INPUT TYPE=HIDDEN NAME="bill_tel" VALUE="01372&#32;459040">
              <INPUT TYPE=HIDDEN NAME="bill_email" VALUE="mikec&#64;cobweb&#46;co&#46;uk">
              <INPUT TYPE=HIDDEN NAME="MOVINGCHECKSTATUS" VALUE="">
              <INPUT TYPE=HIDDEN NAME="USERDEFINED" VALUE="">
              <INPUT TYPE=HIDDEN NAME="ORDERNUMBER" VALUE="MC34SS10000042">
              <INPUT TYPE=HIDDEN NAME="trans_id" VALUE="MC34SS10000042">
              <INPUT TYPE=HIDDEN NAME="CURRENCY" VALUE="GBP">
              <INPUT TYPE=HIDDEN NAME="amount" VALUE="21.69">
              <INPUT TYPE=HIDDEN NAME="ACTAMOUNT" VALUE="2169">
              <INPUT TYPE=HIDDEN NAME="merchant" VALUE="test">
              <INPUT TYPE=HIDDEN NAME="PREAUTH" VALUE="1">
              <INPUT TYPE=HIDDEN NAME="TESTMODE" VALUE="1">
              <INPUT TYPE=HIDDEN NAME="options" VALUE="test_status=true">
              <INPUT TYPE=HIDDEN NAME="template" value="?/users/cobweb01/Authorise.htm">
              <INPUT TYPE=HIDDEN NAME="cb_flds" VALUE=":ORDERNUMBER:CALLBACKURLUSER:CALLBACKURLBACK:EMAIL:SALUTATION:COMPANY:PHONE:CURRENCY:RECEIPTURL:ACTAMOUNT:">
              <INPUT TYPE=HIDDEN NAME="callback" VALUE="http://www.cobwebapplications.co.uk/cgi-local/os000001.pl?PATH=%2e%2e%2facatalog%2f&SEQUENCE=3&ACTION=AUTHORIZE_9&CARTID=80Z177Z51Z250A1040220580B44202143">
              <INPUT TYPE=HIDDEN NAME="CALLBACKURLAUTH" VALUE="http://www.cobwebapplications.co.uk/cgi-local/os000001.pl?PATH=%2e%2e%2facatalog%2f&SEQUENCE=3&ACTION=AUTHORIZE_9&CARTID=80Z177Z51Z250A1040220580B44202143">
              <INPUT TYPE=HIDDEN NAME="CALLBACKURLBACK" VALUE="http://www.cobwebapplications.co.uk/cgi-local/os000001.pl?SEQUENCE=3&ACTION=%3cBack&REFPAGE=http%3a%2f%2fwww%2ecobwebapplications%2eco%2euk%2f%2facatalog%2fBooks%2ehtml">
              <INPUT TYPE=HIDDEN NAME="RECEIPTURL" VALUE="http://www.cobwebapplications.co.uk/cgi-local/os000001.pl?SEQUENCE=3&ACTION=Finish&ORDERNUMBER=MC34SS10000042&REFPAGE=http%3a%2f%2fwww%2ecobwebapplications%2eco%2euk%2f%2facatalog%2fBooks%2ehtml">
              <INPUT TYPE=HIDDEN NAME="CALLBACKURLUSER" VALUE="http://www.cobwebapplications.co.uk/acatalog/Act_SECPayOK.html">
              <input type=submit name="\&quot;SUBMIT\&quot;" value="Next&gt;">
              </form>
              <form method=post action="https://www.secpay.com/java-bin/ValCard"><!-- Create a bogus form to keep the parent template happy --></form>
              <!-- End of template for PSP OCC -->

              Comment


                #8
                Any chance you can see what is wrong with the code being generated in my last post? It appears to have all the relevant data present but I'm still getting an empty receipt link.
                Thanks
                Mike

                Comment


                  #9
                  I'll have to take this back to the development team again.

                  Comment


                    #10
                    Thanks. In the mean time as a work around, I have hardcoded the Receipt URL with ${trans_id} appended at the end into Act_SECPayOK.html and this seems to work ok.
                    Mike

                    Comment


                      #11
                      I'm afraid the development team have drawn a blank as to why this is not working on your store. The SecPay integration has worked fine on all of our tests here. The only thing they can suggest is that you may have customised your templates to cause the non-functioning, although there does not seem to be anything wrong with the bounce page code you sent me.

                      I think that we have gone about as far on this as we can in this forum. If you have Actinic Cover, you have the option of more in-depth support with one of our support team.

                      Comment


                        #12
                        If you don't have Actinic Cover, please use the web form (follow links from the support section of the web site).

                        Chris
                        Actinic

                        Comment


                          #13
                          Chris,

                          You'll be glad to know that this is the same for my secpay site too.

                          Was there a solution found do you know, or can you let me know how to hard code my receipt?

                          Thanks in advance,

                          Adrian

                          Comment


                            #14
                            Hi

                            This is how I got round the problem.

                            Click <A HREF="http://www.cobwebapplications.co.uk/cgi-local/os000001.pl?SEQUENCE=3&ACTION=Finish&ORDERNUMBER=${trans_id}">here</A> to view your receipt.

                            Hope this helps

                            Mike

                            Comment


                              #15
                              It sure does - works a treat.

                              And the invoice page looks marvellous without any need for tweaking!

                              Thanks for your help,

                              Adrian

                              PS. Glad this process is documented somewhere on the web...

                              Comment

                              Working...
                              X