Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

What file contains invoice and errors?


Guest

Recommended Posts

When someone enters a bad credit card number the following error message apears:

 

The listed credit card is invalid <br> Please reenter

 

I've looke all over the English files but I must have missed it. Are erros kept to a specific file?

 

Second, anyone know what the variable is that transfers shiping charge to the shipping_confirmation.php file? Shipping is not showing up for me on the shipping confirmation page and it's not being added to the cost.

Link to comment
Share on other sites

hmm...It seems to be even worse. Shipping is not sending it's value anywhere. It is not showing up on the invoice in admin, or the e-mails sent to eitehr myself or the customer.

 

The e-mail has only this for price:

 

Sub-Total: $36.95

NJ TAX 6.0%: $2.22

Total: $44.17

 

Their needs to be a $5 shipping added.

Link to comment
Share on other sites

The 'credit card invalid' statement is found in /catalog/includes/languages/english.php. Look for

 

define('TEXT_CCVAL_ERROR_INVALID_NUMBER'

 

HTH,

 

Terry

Terry Kluytmans

 

Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like:

 

Add order total to checkout_shipment

Add order total to checkout_payment

Add radio buttons at checkout_shipping (for backorder options, etc.)

Duplicate Table Rate Shipping Module

Better Product Review Flow

 

* If at first you don't succeed, find out if there's a prize for the loser. *

Link to comment
Share on other sites

Thanks for that, I was reading over some of the documentation in Wiki it stated:

This function is called at checkout confirmation. Only the selected shipping method will set the global variables.

 

$shipping_cost Cost for the selected method.

$shipping_method Selected method.

 

Yet when I search both my current checkout_confirm and my original neitehr have $shipping_cost called in them

Link to comment
Share on other sites

Try /catalog/checkout_shipping.php

 

Have you set your shipping options in the admin section of your store?

 

Terry

Terry Kluytmans

 

Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like:

 

Add order total to checkout_shipment

Add order total to checkout_payment

Add radio buttons at checkout_shipping (for backorder options, etc.)

Duplicate Table Rate Shipping Module

Better Product Review Flow

 

* If at first you don't succeed, find out if there's a prize for the loser. *

Link to comment
Share on other sites

Yeah all options are set in the admin panel. Custmers can select a shipping method and everything, and if they use Paypal it even passes the variable to PayPal. But if they do anything else it doesn't pass the variable. The total invoice just before confimration of an order has the shipping method selected but no value.

 

I did notice that in my Checkout_Confirmation file shipping is the only one called without a "sizeof" operator. Any importants to this?

 

if ($order->info['shipping_method'])

 

vs

 

if (sizeof($order->info['tax_groups']) > 1)

and

$n=sizeof($order->products);

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...