netmaster Posted January 18, 2005 Posted January 18, 2005 Hi foks, When I am in checkout process this messages coming up "document.checkout_payment.payment.length is null or not an object" What is the problem? Quote
netmaster Posted January 19, 2005 Author Posted January 19, 2005 Hi foks, When I am in checkout process this messages coming up "document.checkout_payment.payment.length is null or not an object" What is the problem with line 55? Line 55: // verify the selected billing address $check_address_query = tep_db_query("select count(*) as total from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . (int)$customer_id . "' and address_book_id = '" . (int)$billto . "'"); $check_address = tep_db_fetch_array($check_address_query); Help! Quote
tot2ivn Posted January 19, 2005 Posted January 19, 2005 I think nobody can answer that kind of question, finding errors, I think if you get stuck, you'd better setup again. Before adding new contributions or features (changing code), don't forget to back up your store. Quote
billpargeter Posted October 28, 2006 Posted October 28, 2006 I realise the question was posted a long time ago, but in case anyone faces this problem (like I just did)... The problem for me was that even though the PayPal payment method was enabled, it was set to use a 'payment zone' that wasn't configured properly... as a result it was actually disabled at runtime (leaving no usable payment method, causing the Javascript error). To fix the problem: - In the Modules > Payment Modules admin for your chosen method (e.g. PayPal) see which Payment Zone is being used (e.g. "UK VAT") - In the Locations / Taxes > Tax Zones admin select the corresponding zone (e.g. "UK VAT") - Ensure (adding as necessary) that the countries and zones to be used by your customers are set (e.g. "United Kingdom, All Zones"). Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.