Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 08-14-2002 10:18:43

Guest
Guest

Order Receipt and Email Questions

First, I'd like to thanks Nick for cleaning up the issues with ViaKlix...outstanding job and responsiveness.

I'm almost done, but have a couple of questions:
1) How do we generate a completed sale receipt form? When I finish a transaction, it takes me straight back to the Home Page

2) How do I generate an email confirm? I've filled in the Product Email windows, but  do not get an email...either to the administrator or buyer.

3) (And this may explain the above 1&2) I'm in test mode and am obviously receiving a response from ViaKlix (thanks to Nick). Yet the order continues to show "Pending Payment".

4) For download products, does the customer receive an email with the download info or should he be taken straight to a download page? (I've confirmed that the downloads are being created.)

Thanks much-
Rich

 

#2 08-14-2002 13:17:05

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Order Receipt and Email Questions

For 1, 2 & 3:

The response from ViaKlix should be directing you back to an order confirm page that shows the order details and kicks off the order emails, etc.  I had it set up for you yesterday just like that (hence the order confirm emails you received).  Did the setup change since then?

For download products the customer receivea an email with the download info - just like you did when purchasing CCP.


Nick Hendler

Offline

 

#3 08-14-2002 14:42:48

Guest
Guest

Re: Order Receipt and Email Questions

Nick-
Nothings been changed, though, obviously, I must have done something!

Applicable Exeepts from the Viaklix Test Profile:
<INPUT TYPE="HIDDEN" NAME="ssl_show_form" VALUE="FALSE">

<INPUT TYPE="HIDDEN" NAME="ssl_result_format" VALUE="HTML">

<INPUT TYPE="HIDDEN" NAME="ssl_receipt_link_method" VALUE="REDG">

<INPUT TYPE="HIDDEN" NAME="ssl_receipt_link_url" VALUE="<CGIVAR>common_url_form</CGIVAR>">

<INPUT TYPE="HIDDEN" NAME="ssl_test_mode" VALUE="TRUE">

I did change the Test Mode, but changing it back to "FALSE" Makes no difference.

And I am getting a response from ViaKlix as seen in the URL Window:

http://www.swatmagazine.com/shop/cgi-bi … first_name

etc,etc.
What'd i screw up?
Rich

 

#4 08-14-2002 14:53:09

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Order Receipt and Email Questions

The information sent back does not contain everything it should.  I'm thinking you're missing fields in your ViaKlix form content section.  Try what we're about to put in the update:

<CGIGET TYPE="ELEMENT" VALUE="ste_strhd_payinfo"><BR>

Please enter your payment information below and when you are ready to place your order click the 'Submit' button.  There is an image at the bottom of this page that will help you locate your card verification number.  Please note: Some cards do not have verification numbers.<BR><BR>

<FONT COLOR="<CGIVAR>html_notnull_font_color</CGIVAR>"><B><CGIVAR>html_notnull_character</CGIVAR></B></FONT> - Denotes a required field.<BR><BR>

<FORM METHOD="POST" ACTION="https://www.viaklix.com/process.asp">

<!-- ### -->
<INPUT TYPE="HIDDEN" NAME="ssl_merchant_id" VALUE="your_username">
<INPUT TYPE="HIDDEN" NAME="ssl_pin" VALUE="your_pin">
<!-- ### -->

<INPUT TYPE="HIDDEN" NAME="ssl_description" VALUE="<CGIVAR>tracking_id</CGIVAR>">

<INPUT TYPE="HIDDEN" NAME="ssl_amount" VALUE="<CGIVAR>tracking_total</CGIVAR>">

<INPUT TYPE="HIDDEN" NAME="ssl_first_name" VALUE="<CGIVAR>tracking_firstname</CGIVAR>">

<INPUT TYPE="HIDDEN" NAME="ssl_last_name" VALUE="<CGIVAR>tracking_lastname</CGIVAR>">

<INPUT TYPE="HIDDEN" NAME="ssl_avs_address" VALUE="<CGIVAR>tracking_addressone</CGIVAR> <CGIVAR>tracking_addresstwo</CGIVAR>">

<INPUT TYPE="HIDDEN" NAME="ssl_address1" VALUE="<CGIVAR>tracking_addressone</CGIVAR>">

<INPUT TYPE="HIDDEN" NAME="ssl_address2" VALUE="<CGIVAR>tracking_addresstwo</CGIVAR>">

<INPUT TYPE="HIDDEN" NAME="ssl_city" VALUE="<CGIVAR>tracking_city</CGIVAR>">

<INPUT TYPE="HIDDEN" NAME="ssl_state" VALUE="<CGIVAR>tracking_stateprov</CGIVAR>">

<INPUT TYPE="HIDDEN" NAME="ssl_country" VALUE="<CGIVAR>tracking_country</CGIVAR>">

<INPUT TYPE="HIDDEN" NAME="ssl_zip" VALUE="<CGIVAR>tracking_zip</CGIVAR>">

<INPUT TYPE="HIDDEN" NAME="ssl_phone" VALUE="<CGIVAR>tracking_phone</CGIVAR>">

<INPUT TYPE="HIDDEN" NAME="ssl_email" VALUE="<CGIVAR>tracking_email</CGIVAR>">

<INPUT TYPE="HIDDEN" NAME="ssl_show_form" VALUE="FALSE">

<INPUT TYPE="HIDDEN" NAME="ssl_result_format" VALUE="HTML">

<INPUT TYPE="HIDDEN" NAME="ssl_receipt_link_method" VALUE="REDG">

<INPUT TYPE="HIDDEN" NAME="ssl_receipt_link_url" VALUE="<CGIVAR>common_url_form</CGIVAR>">

<INPUT TYPE="HIDDEN" NAME="ssl_do_customer_email" VALUE="FALSE">

<INPUT TYPE="HIDDEN" NAME="ssl_do_merchant_email" VALUE="TRUE">

<INPUT TYPE="HIDDEN" NAME="ssl_test_mode" VALUE="FALSE">

<INPUT TYPE="HIDDEN" NAME="ssl_transaction_type" VALUE="SALE">

<INPUT TYPE="HIDDEN" NAME="ssl_cvv2" VALUE="present">

<CENTER>

<TABLE WIDTH="<CGIVAR>html_content_table_size</CGIVAR>" BORDER="0" COLS="2" CELLPADDING="10" CELLSPACING="3">

<TR BGCOLOR="<CGIVAR>html_pri_tablerow_color</CGIVAR>">

<TD VALIGN="TOP"><FONT FACE="<CGIVAR>html_small_font_face</CGIVAR>" SIZE="<CGIVAR>html_small_font_size</CGIVAR>" COLOR="<CGIVAR>html_small_font_color</CGIVAR>"><B>Card Number <FONT COLOR="<CGIVAR>html_notnull_font_color</CGIVAR>"><B><CGIVAR>html_notnull_character</CGIVAR></B></FONT></B><BR><BR></FONT>

<INPUT TYPE="TEXT" NAME="ssl_card_number" SIZE="20"></TD>

<TD VALIGN="TOP"><FONT FACE="<CGIVAR>html_small_font_face</CGIVAR>" SIZE="<CGIVAR>html_small_font_size</CGIVAR>" COLOR="<CGIVAR>html_small_font_color</CGIVAR>"><B>Card Verification Number<BR><BR></FONT>

<INPUT TYPE="TEXT" NAME="ssl_cvv2cvc2" SIZE="20"></TD>

</TR>

<TR BGCOLOR="<CGIVAR>html_alt_tablerow_color</CGIVAR>">

<TD VALIGN="TOP" COLSPAN="2"><FONT FACE="<CGIVAR>html_small_font_face</CGIVAR>" SIZE="<CGIVAR>html_small_font_size</CGIVAR>" COLOR="<CGIVAR>html_small_font_color</CGIVAR>"><B>Expiration Date <FONT COLOR="<CGIVAR>html_notnull_font_color</CGIVAR>"><B><CGIVAR>html_notnull_character</CGIVAR></B></FONT></B><BR><BR></FONT>

<CGIGET TYPE="SUB" VALUE="ste_order_ccexpcomb" PARAMS="ssl_exp_date||MM|YY"></TD>

</TR>

</TABLE>

<BR>

<INPUT TYPE="IMAGE" SRC="<CGIVAR>images_path</CGIVAR>/button/submit_submit.gif" WIDTH="<CGIVAR>site_button_image_width</CGIVAR>" HEIGHT="<CGIVAR>site_button_image_height</CGIVAR>" BORDER="0" VALUE="submit"> <A HREF="<CGIVAR>common_url</CGIVAR>&pg=cancel"><IMG SRC="<CGIVAR>images_path</CGIVAR>/button/submit_cancel.gif" WIDTH="<CGIVAR>site_button_image_width</CGIVAR>" HEIGHT="<CGIVAR>site_button_image_height</CGIVAR>" BORDER="0"></A>

<BR><BR>

<IMG SRC="<CGIVAR>images_path</CGIVAR>/store/store_cvv2.gif" WIDTH="370" HEIGHT="140" BORDER="0">

</CENTER>

<BR>

</FORM>


Nick Hendler

Offline

 

#5 08-14-2002 15:22:40

Guest
Guest

Re: Order Receipt and Email Questions

No Joy, Nick.
I replaced the entire Form Content Window with what you have above. Still no receipt here's the response in the URL Window. (It's Long)

ssl_result=0&ssl_result_message=APPROVED&ssl_txn_id=00000000%2D0000%2D0000%2D0000%2D000000000000&ssl_approval_code=123456&ssl_cvv2_response=P&ssl_avs_response=X&ssl_transaction_type=SALE&ssl_txn_time=8%2F14%2F2002+5%3A08%3A04+PM&ssl_promo_code=&ssl_ordernum=&ssl_description=SWAT2002081416&ssl_issues=&ssl_quantity=&ssl_invoice_number=&ssl_amount=4%2E99&ssl_salestax=&ssl_cvv2=present&ssl_cvv2cvc2=1234&ssl_customer_code=&ssl_billto=&ssl_company=&ssl_first_name=Joe&ssl_middle_initial=&ssl_last_name=Smith&ssl_avs_address=123+Mickingbird+LA&ssl_address2=&ssl_city=New+York&ssl_state=New+York&ssl_avs_zip=&ssl_country=United+States&ssl_email=rich%40swatmagazine%2Ecom&ssl_phone=123%2E457%2E7890&ssl_shipto_blank=&ssl_shipto=&ssl_ship_to_company=&ssl_ship_to_first_name=&ssl_ship_to_middle_initial=&ssl_ship_to_last_name=&ssl_ship_to_address=&ssl_ship_to_address2=&ssl_ship_to_city=&ssl_ship_to_state=&ssl_ship_to_zip=&ssl_ship_to_country=

 

#6 08-14-2002 15:43:31

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Order Receipt and Email Questions

Which home page is it taking you to, the one at http://www.swatmagazine.com or the cp-app.cgi home page?


Nick Hendler

Offline

 

#7 08-14-2002 15:49:16

Guest
Guest

Re: Order Receipt and Email Questions

Taking me back to cp-app.cgi.
Rich

 

#8 08-14-2002 16:03:44

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Order Receipt and Email Questions

Is all your login info still the same?  If not, email ec@kryptronic.com viaklix info, webmaster user/pwd for CCP.  Thanks.


Nick Hendler

Offline

 

#9 08-14-2002 16:17:32

Guest
Guest

Re: Order Receipt and Email Questions

Yes, Nick...I've reset to what you have.
Rich

 

#10 08-14-2002 16:22:49

Guest
Guest

Re: Order Receipt and Email Questions

Nick-
In going back thru my emails to get your login info, I realize that I missed a large part of one in which you requested an SSH id. Sorry, it wasn't an intentional slight.

If you need that, just let me know.
Rich

 

#11 08-14-2002 16:36:16

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Order Receipt and Email Questions

No, not yet.  I'll email you if I need it.  In the meantime, the CCP and ViaKlix logins should suffice.  I'll take a look in a bit.


Nick Hendler

Offline

 

#12 08-14-2002 18:04:47

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Order Receipt and Email Questions

Ok.  I figured out the issues (all within the CCP admin - for your Test setup).  Everyone else - the ViaKlix setup is OK in CCP5.

(1) You had the 'Response Code' field set to 'ssl_response' and it should have been 'ssl_result'.

(2) You did not have any response codes entered in the 'Response Code' section.  I added '0' with a value of 'Accept' as that's the only accepted trans value from ViaKlix.

Those items adjusted made everything work.  Sorry I did not notice yesterday that the response code was incorrect and the values were not filled in.  I was testing not with your test setup, but I set ViaKlix - Secure Server live and played with that.


Nick Hendler

Offline

 

#13 08-14-2002 18:15:30

Guest
Guest

Re: Order Receipt and Email Questions

Thanks, Nick.
We're one step further. Unfortunately, not quite there.
I don't know how you're getting valid responses. What I get is:

"Unfortunately, we cannot process your order. The URL that referred you to this page is not a valid referring URL.
You can attempt to process your order again, or contact us to discuss other payment options.
Click here to contact us."

????
Is thst comin from ViaKlix or CCP?

BTW, I don't know where you find the time!!!!!!
Rich

 

#14 08-14-2002 18:20:35

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Order Receipt and Email Questions

<<<<<<<<<<<<<<<<< Thump >>>>>>>>>>>>>>>>>

That was the sound of my head hitting my desk.


Nick Hendler

Offline

 

#15 08-14-2002 18:33:32

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Order Receipt and Email Questions

I just ran three tests and got an order confirm each time.  One note: I changed your test setup to use secure server because I think that's how you're going to do it in the end.  I also updated the secure server settings in Global Settings | Edit Program Settings with the script url and media path.  I just inputted your non-secure info there because you don't have the secure stuff set up.

Now, I have noticed over the past several years in doing this that it is sometimes quite rare for a processor to actually return referer info.  It's almost like the planets have to align or something.  I know that Cardservice (the processor we use) only returns that info on one of about every twenty transactions or so.

I assume that on your test run the info was returned and it failed because your 'Return URL Must Contain' field for the ViaKlix - Test setup was set to 'viaKLIX'.  As with everything else on Unix systems, that is case-sensitive and they will not return an upper case URL when they do return something.  I changed that field to 'viaklix' so as to avert any future problems.  This didn't happen in my tests because that info wasn't returned.  Sorry I didn't spot that before.


Nick Hendler

Offline

 

#16 08-14-2002 18:40:33

Guest
Guest

Re: Order Receipt and Email Questions

That's a wrap, my friend!

You're right I did change viaklix to viaKLIX in the response. That was because it's what I saw in a "Get" mode.


Thanks for cleaning up the Secure Server for me also. I was gonna just change the "Test " Profile and delete the other.


Many thanks, Nick. Class Act.
Rich

 

#17 08-14-2002 18:54:15

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Order Receipt and Email Questions

Not a problem.  You'll be hard pressed to find a delete function in admin for the gateways, but just don't turn the others on and you'll be fine smile


Nick Hendler

Offline

 

Board footer