Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I am using the UPS xml contribution and everything works great except if a customer puts an invalid address such as Los Angeles, VA the order information does not process. What happens is that ups tries to verify this address but it does not exist so they direct the customer to an error page with just this statement at the top:

 

Fatal error: Call to a member function on a non-object in /home/virtual/site14/fst/var/www/html/site/includes/modules/shipping/upsxml.php on line 774

 

Is there a way to redirect the customer to their account address page instead of this error page? Also, to prevent this, is there a way to check a customer address right after they create a new account with the store? Any help would be greatly appreciated.

 

This is my first time using osCommerce and they sure made it bare-bones, but all the contributions HELP A LOT! :D

 

-D33P-

Posted

There was a a fix posted for this contribution a few weeks ago that solved this problem. You may need to update your UPSXML.PHP.

 

Regards,

 

Donna Gordon

UKGoods

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...