PDA

View Full Version : Missing link to receipt


MikeC
20-Dec-2002, 08:46 AM
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

cdicken
23-Dec-2002, 08:23 AM
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.

MikeC
23-Dec-2002, 09:18 AM
I've double checked this field and all the tests pass ok. Thanks for pursuing this for me.

cdicken
23-Dec-2002, 10:43 AM
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>

MikeC
23-Dec-2002, 12:03 PM
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.

cdicken
23-Dec-2002, 02:28 PM
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.

MikeC
24-Dec-2002, 06:00 AM
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 Cobb">
<INPUT TYPE=HIDDEN NAME="bill_company" VALUE="">
<INPUT TYPE=HIDDEN NAME="bill_addr_1" VALUE="Cherry Tree 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 4SS">
<INPUT TYPE=HIDDEN NAME="bill_country" VALUE="United Kingdom">
<INPUT TYPE=HIDDEN NAME="bill_tel" VALUE="01372 459040">
<INPUT TYPE=HIDDEN NAME="bill_email" VALUE="mikec@cobweb.co.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 -->

MikeC
07-Jan-2003, 08:42 AM
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

cdicken
09-Jan-2003, 01:42 PM
I'll have to take this back to the development team again.

MikeC
10-Jan-2003, 05:38 AM
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

cdicken
10-Jan-2003, 08:28 AM
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.

cbarling
10-Jan-2003, 08:48 AM
If you don't have Actinic Cover, please use the web form (follow links from the support section of the web site).

Chris
Actinic

adrians
03-Mar-2003, 09:52 AM
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

MikeC
03-Mar-2003, 10:08 AM
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

adrians
03-Mar-2003, 12:19 PM
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...