Guest Posted June 20, 2003 Posted June 20, 2003 Debugging has shown that calls to functions in the shipping class and payment class files are generating empty arrays. _____________ 1) shipping I have set shipping to table rate based on price. I have a single item in there in the lowest price category, and in checkout it is not showing shipping. I change to flat rate shipping. Still no shipping charge. I verify that shipping is on in order total between the sub-total and the total. it is. ________ more details from debugging: in checkout_shipping.php $quotes = $shipping_modules->quote(); print_r($quotes); generates Array () when all shipping modules *except* free shipping are turned on. ______ 2) added payflow link contribution and while it shows up in the back end, when I go through checkout there is no entry on the front end. It makes it kinda hard to sell when you can't take their money... _____________________ More details from debugging attempts: Inside of checkout_payment I added: print_r($selection); This should print out the modules I have selected from the admin. In the admin I select payflow link The array returns: Array () when I add COD it returns: Array ( [0] => Array ( [id] => cod [module] => Cash on Delivery ) ) When I look in the Configuration table in the database I see: cod.php;payflowlink.php for MODULE_PAYMENT_INSTALLED Now, being a procedural grunt, I tried to see what the heck was going on in payment_modules->selection(), but I have to be honest, I really don't understand what the purpose of this is other than to return an array of arrays of payment methods... but then why isn't it getting the second payment method (in this cases it doesn't get payflow no matter what I do)? ____________________ Now, this is starting to look like there may be something wrong with the installation... similar functions that should be returning arrays are either *not* returning the array (shipping) or not returning all the values in the array (payment). Any help would be appreciated at this point as I stated above, I'm a precedural grunt and the classes aren't helping me see why this is happening. :cry: 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.