Zen Cart Logo
Forums / General Questions / Checkout does not work in last step

Checkout does not work in last step

Locked

Views: 1,223

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
28 Aug 2006, 3:10 PM
#1
goshawk avatar

goshawk

Zen Follower

Join Date:
Aug 2006
Location:
Kihikihi, New Zealand
Posts:
220
Plugin Contributions:
2

Checkout does not work in last step

Hi,

I must be having a blonde (excuse pun) moment, but when I test my checkout, it lets me go through all stages, except the confirmation.

Instead of giving me confirmation it lets me download the index.php file!

Stumped and frustrated, thankful for any help,

www.inekesfashions.com.au/shop

Goshawk.

(ps. slowly starting to understand at least a little about php and css :D )

28 Aug 2006, 3:39 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,608
Plugin Contributions:
0

Re: Checkout does not work in last step

Your secure pages are only partially encrypted and this could be a possible cause. Check all of your images and make sure you are using relative addresses for them and not pulling them from the http address.

28 Aug 2006, 10:47 PM
#3
goshawk avatar

goshawk

Zen Follower

Join Date:
Aug 2006
Location:
Kihikihi, New Zealand
Posts:
220
Plugin Contributions:
2

Re: Checkout does not work in last step

Thanks kim,

Going to check them now.

Goshawk

29 Aug 2006, 5:47 AM
#4
goshawk avatar

goshawk

Zen Follower

Join Date:
Aug 2006
Location:
Kihikihi, New Zealand
Posts:
220
Plugin Contributions:
2

Re: Checkout does not work in last step

Hi Kim,

I did check my graphics, and found that my flash logo was not secure.
Unfortunately, there are many more unsecured items, should they also be secured? And if so, how?

Here is a list of files:

https://www.inekesfashions.com.au/shop/includes/templates/inekesfashions/css/stylesheet.css
https://www.inekesfashions.com.au/shop/includes/templates/inekesfashions/css/stylesheet_css_buttons.css
https://www.inekesfashions.com.au/shop/includes/templates/inekesfashions/css/print_stylesheet.css
http://www.inekesfashions.com.au/shop/
https://www.inekesfashions.com.au/shop/index.php?main_page=logoff
https://www.inekesfashions.com.au/shop/index.php?main_page=account
http://www.inekesfashions.com.au/shop/index.php?main_page=shopping_cart
https://www.inekesfashions.com.au/shop/index.php?main_page=checkout_shipping
http://www.inekesfashions.com.au/shop/index.php?main_page=advanced_search_result
http://www.inekesfashions.com.au/shop/index.php?main_page=index&cPath=6
http://www.inekesfashions.com.au/shop/index.php?main_page=index&cPath=6_1
http://www.inekesfashions.com.au/shop/index.php?main_page=index&cPath=6_2
http://www.inekesfashions.com.au/shop/index.php?main_page=index&cPath=6_3
http://www.inekesfashions.com.au/shop/index.php?main_page=index&cPath=6_4
http://www.inekesfashions.com.au/shop/index.php?main_page=index&cPath=6_7
http://www.inekesfashions.com.au/shop/index.php?main_page=index&cPath=6_5
http://www.inekesfashions.com.au/shop/index.php?main_page=shopping_cart
http://www.inekesfashions.com.au/shop/index.php?main_page=product_info&products_id=2:53f9e624119470bb8a9aa573c84d706b
http://www.inekesfashions.com.au/shop/index.php?main_page=reviews
http://www.inekesfashions.com.au/shop/index.php?main_page=shippinginfo
http://www.inekesfashions.com.au/shop/index.php?main_page=privacy
http://www.inekesfashions.com.au/shop/index.php?main_page=conditions
http://www.inekesfashions.com.au/shop/index.php?main_page=contact_us
http://www.inekesfashions.com.au/shop/index.php?main_page=site_map
http://www.inekesfashions.com.au/shop/index.php?main_page=gv_faq
http://www.inekesfashions.com.au/shop/index.php?main_page=discount_coupon
http://www.inekesfashions.com.au/shop/index.php?main_page=unsubscribe
http://www.inekesfashions.com.au/shop/index.php?main_page=page_2
http://www.inekesfashions.com.au/shop/index.php?main_page=page_3
http://www.inekesfashions.com.au/shop/index.php?main_page=page_4
http://www.inekesfashions.com.au/shop/
http://www.inekesfashions.com.au/shop/index.php?main_page=index&cPath=6
https://www.inekesfashions.com.au/shop/index.php?main_page=checkout_shipping
https://www.inekesfashions.com.au/shop/index.php?main_page=checkout_payment
javascript:popupWindow('http://www.inekesfashions.com.au/shop/index.php?main_page=popup_cvv_help')
https://www.inekesfashions.com.au/shop/index.php?main_page=checkout_shipping
https://www.inekesfashions.com.au/shop/index.php?main_page=checkout_payment
http://www.inekesfashions.com.au/shop/index.php?main_page=shopping_cart
https://www.inekesfashions.com.au/shop/index.php?main_page=checkout_process
http://www.inekesfashions.com.au/shop/
http://www.zen-cart.com/
http://www.zen-cart.com/
https://vault.directone.com.au/html/contacts/vendor_link.html

Many thanks,

Herman

29 Aug 2006, 11:53 AM
#5
goshawk avatar

goshawk

Zen Follower

Join Date:
Aug 2006
Location:
Kihikihi, New Zealand
Posts:
220
Plugin Contributions:
2

Re: Checkout does not work in last step

Hi,

I now have a secure gateway, and I have installed the sql script from my supplier, and installed the payment module but.........

I think that my ZenCart is not yet configured to the payment API, I found the following cURL script from my eCommerce payment supplier, does any one know where I need to use this code?

PHP Code Example

Please note that this example uses the CURL libraries to enable the opening of an SSL port. Please feel free to edit and update this code as applicable.

<?
// these variables will be filled out by your program
$vars = array();
$vars[vendor_name] = "your_vendor_name";
$vars[vendor_password] = "directpass";
$vars[card_number] = "4444333322221111";
$vars[card_expiry] = "0808";
$vars[card_holder] = "John H Smith";
$vars[card_cvv] = "123";
$vars[payment_amount] = "1.11";
$vars[payment_reference] = "any_reference_you_need";

// call to directone interface function
$return_string = call_directone($vars);

// just print out what we got
print_r($return_string);

function call_directone($vars) {
// First you would normally do some checking to
// make sure the card number isn't invalid.

// Set up initial variables
$directone_url = "https://vault.safepay.com.au/cgi-bin/direct_test.pl";

// Prepare data for posting
$data = implode("&", $vars);

$ch = curl_init();
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
curl_setopt($ch, CURLOPT_URL, $directone_url);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$curlData = curl_exec ($ch);
curl_close ($ch);

return($curlData);

}
?>

Many thanks,

Goshawk:dontgetit

29 Aug 2006, 2:38 PM
#6
goshawk avatar

goshawk

Zen Follower

Join Date:
Aug 2006
Location:
Kihikihi, New Zealand
Posts:
220
Plugin Contributions:
2

Re: Checkout does not work in last step

Hi all,

I have been reading through these pages, but I think I need a bit more help.

http://www.zen-cart.com/wiki/index.p...ation#Required

I do not know where to place the code (perhaps my_index.php?), nor how to compile it into php.

Thanks,

Herman