Author Topic: Fedex Shipping-how to get a log of transmission to fedex server  (Read 4572 times)

vmhappy

  • Beginner
  • *
  • Posts: 2
Fedex Shipping-how to get a log of transmission to fedex server
« on: October 26, 2009, 16:12:25 pm »
Hi all,
I inherited the development of a shopping cart for a customer from a developer who is no longer on this account. I am a designer, not a developer, and a VM ultra-novice. These forums and all of your advice has been invaluable to me. I'm hoping someone can help me with my problem now.
My Fedex module is coming back with incorrect rates for Fedex Ground. In order to troubleshoot, Fedex Tech Support is asking me for a copy of the transmission from VM to their server. I can't find anything in VM or Joomla that would give me a transaction log, nor do I see any kind of log file anywhere on our server.
Can someone tell me how to do this? Thank you!

lowmips

  • Global Moderator
  • Full Member
  • *
  • Posts: 1464
    • lowmips.com
Re: Fedex Shipping-how to get a log of transmission to fedex server
« Reply #1 on: October 27, 2009, 01:46:06 am »
Hi,
I assume you're using the FedExDC module that ships with VirtueMart.  There isn't a nice way to log transactions included in the module, but you could dump part of the transaction by going to line 132 (right after the $request_array is built) and pasting in:
Code: [Select]
echo "request:".print_r($request_array,true)."<br />";

A portion of the results of the conversation are stored in $rate_Ret, so after line 134:
Code: [Select]
(line 133) // Get the rate quote
(line 134) $rate_Ret = $fed->services_rate ( $request_array );

You can also dump that by adding :
Code: [Select]
(line 135) echo "result:".print_r($rate_Ret,true)."<br />";

If you need further assistance debugging your rates, I'd be happy to do so for a small fee.
-Reggie
Visit my website at www.lowmips.com
View my newsletters Here (sign up for newsletters on the front page of my website)

vmhappy

  • Beginner
  • *
  • Posts: 2
Re: Fedex Shipping-how to get a log of transmission to fedex server
« Reply #2 on: October 27, 2009, 02:35:33 am »
Hi Reggie,
Thanks so much for the response. Just confirming--that code gets inserted in fedex.php? I'm going to give it try tomorrow. If I hit the wall again, how much would your small fee be?

Thanks!

lowmips

  • Global Moderator
  • Full Member
  • *
  • Posts: 1464
    • lowmips.com
Re: Fedex Shipping-how to get a log of transmission to fedex server
« Reply #3 on: October 27, 2009, 03:45:41 am »
Sorry, yes. fedex.php.

email(preferred) or PM me if you need more help/want to discuss rates.
-Reggie
Visit my website at www.lowmips.com
View my newsletters Here (sign up for newsletters on the front page of my website)