Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Challenges with payment and shipping in 2.2MS1 loaded V


Recommended Posts

Posted

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:

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...