Jump to content

shodnett

Members
  • Content count

    14
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Suzanne
  1. shodnett

    EPDQ- Confirmationemail

    Anyone?
  2. shodnett

    EPDQ- Confirmationemail

    This is probably the best place for me to post this as I'm also having a problem with the order confirmation email that is sent once the Barclays epdq integration plugin is installed. Before, when I was testing it on the default OSC payment module of cash on delivery, I switched email config to come through in html not plain text and stylised the email just as I wanted it. However, as soon as I had the Barclays module integrated, the confirmation email is now sent in plain text only and so my formatting is ignored. I haven't switched emails to plain text in the OSC admin area but that's what's happening for just that one email. Does anyone have any ideas? The site is going live tomorrow so I really need help. Thanks in advance.
  3. shodnett

    FedEx - Web Services v9

    yes, will do. There is now one more challenge though thanks to the FedEx system. Apparently, if we want to ship UK to US, we need one FedEx account number, to ship US to US we need a different account number and to ship UK to UK we need yet another account number! OSCommerce is only set up to deal with one account number though isn't it? Anybody got any ideas on how to approach this one or seen a solution for it whilst still preserving the ability to manage the FedEx module within the admin area of OSC?
  4. shodnett

    FedEx - Web Services v9

    One other quick note for anyone else not based in the US, make sure you check that your SHIPPING_ORIGIN_COUNTRY entry in the configuration table in the database is set to the correct country code as mine was set to US which I think is the default and that was having an impact too before I realised. Hope this helps anyone else in the same situation :-)
  5. shodnett

    FedEx - Web Services v9

    ok, I've found the issue, partly as a result of what you said and partly from a response from FedEx. So, thank you so much for your support. The reason is exactly as you said that the 'StateOrProvinceCode' => '', line of code which is in there for the shippers address is not there for the recipient's address in the fedexwebservices.php file. I'm guessing because it's mainly set up for use within the US then the postal code is sufficient without needing the state code too? I added that line in for the recipients address and populated it with the state code then I removed that state code from the postal code field (probably my misunderstanding in thinking that US postcodes are always prefixed with the state code but actually that's not true is it? The postcode for you guys is just numbers, is that right?). Anyway, with those tweaks it kicked straight in to life! Thank you so much for your help.
  6. shodnett

    FedEx - Web Services v9

    Thought this might help too. This is the XML code which is sent to FedEx prepared by the fedexwebservices.php file. Just for the purposes of posting it on this forum though I've removed the sensitive data and put descriptions of the text in those fields. Can anyone see anything obvious that's missing or wrong? I know the ServiceType field is missing but the issue on that is as explained above: <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://fedex.com/ws/rate/v9"> <SOAP-ENV:Body> <ns1:RateRequest> <ns1:WebAuthenticationDetail> <ns1:UserCredential> <ns1:Key>Production Key supplied by Fedex</ns1:Key> <ns1:Password>The password supplied in the email you receive from Fedex when you request the production meter number</ns1:Password> </ns1:UserCredential> </ns1:WebAuthenticationDetail> <ns1:ClientDetail> <ns1:AccountNumber>My clients Fedex account number (numbers only)</ns1:AccountNumber> <ns1:MeterNumber>The production Meter number supplied by Fedex (numbers only)</ns1:MeterNumber> </ns1:ClientDetail> <ns1:TransactionDetail> <ns1:CustomerTransactionId> *** Rate Request v9 using PHP ***</ns1:CustomerTransactionId> </ns1:TransactionDetail> <ns1:Version> <ns1:ServiceId>crs</ns1:ServiceId> <ns1:Major>9</ns1:Major> <ns1:Intermediate>0</ns1:Intermediate> <ns1:Minor>0</ns1:Minor> </ns1:Version> <ns1:ReturnTransitAndCommit>true</ns1:ReturnTransitAndCommit> <ns1:RequestedShipment> <ns1:ShipTimestamp>2014-03-15T18:23:33+00:00</ns1:ShipTimestamp> <ns1:DropoffType>REGULAR_PICKUP</ns1:DropoffType> <ns1:PackagingType>YOUR_PACKAGING</ns1:PackagingType> <ns1:TotalInsuredValue> <ns1:Currency>GBP</ns1:Currency> </ns1:TotalInsuredValue> <ns1:Shipper> <ns1:Address> <ns1:StreetLines>My clients first line of his address exactly as it appears in his Fedex account</ns1:StreetLines> <ns1:StreetLines> </ns1:StreetLines> <ns1:City>My Clients city name exactly as it appears in his Fedex account</ns1:City> <ns1:StateOrProvinceCode> </ns1:StateOrProvinceCode> <ns1:PostalCode>My Clients postcode exactly as it appears in his Fedex account</ns1:PostalCode> <ns1:CountryCode>GB</ns1:CountryCode> </ns1:Address> </ns1:Shipper> <ns1:Recipient> <ns1:Address> <ns1:StreetLines>Send to address line 1</ns1:StreetLines> <ns1:StreetLines>Send to address line 2</ns1:StreetLines> <ns1:City>City</ns1:City> <ns1:PostalCode>US Postcode</ns1:PostalCode> <ns1:CountryCode>US</ns1:CountryCode> <ns1:Residential>true</ns1:Residential> </ns1:Address> </ns1:Recipient> <ns1:ShippingChargesPayment> <ns1:PaymentType>SENDER</ns1:PaymentType> <ns1:Payor> <ns1:AccountNumber>My Clients account number at Fedex (just numbers)</ns1:AccountNumber> <ns1:CountryCode>GB</ns1:CountryCode> </ns1:Payor> </ns1:ShippingChargesPayment> <ns1:RateRequestTypes>ACCOUNT</ns1:RateRequestTypes> <ns1:PackageCount>1</ns1:PackageCount> <ns1:PackageDetail>INDIVIDUAL_PACKAGES</ns1:PackageDetail> <ns1:RequestedPackageLineItems> <ns1:Weight> <ns1:Units>KG</ns1:Units> <ns1:Value>2</ns1:Value> </ns1:Weight> </ns1:RequestedPackageLineItems> </ns1:RequestedShipment> </ns1:RateRequest> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
  7. shodnett

    FedEx - Web Services v9

    Thanks to both of you for your suggestions. I've tried both sets of changes but sadly to no avail. It's interesting that no ServiceType is sent in the default XML structure that is set up in the module and when I spoke to FedEx they asked me to include that and try again which I did but which instantly returned an error response for FEDEX_GROUND or any Service Types I used. I didn't think I needed a ServiceType as I'm asking for all services available to be returned but once one is added it no longer returns a warning but an error.
  8. I had this too. Did you find a solution in the end?
  9. shodnett

    FedEx - Web Services v9

    ok, I tried it now with a US address and still no joy so the above is clearly not the only reason. FedEx analysed the XML and said that no service type was supplied. The XML is what OSC generated from this "FedEx - Web Services v9" module installed so I'm not sure why. I'm using OSC version "oscommerce-2.3.3.4". I don't have the UPS shipping module installed if that's what you meant? Any ideas?
  10. shodnett

    FedEx - Web Services v9

    In case anyone has had the same problem as the above... I managed to print the XML to my page using echo printRequestResponse($client); on line 266 of the fedexwebservices.php file. I then sent that to FedEx and this was their response: this is a UK domestic shipment that you are rating. Only tracking and POD (proof of delivery) are supported in webservices for intra UK shipments. The account number also needs to be setup for UK domestic service. So if you're based anywhere outside the US and you're getting this problem then this might be your issue.
  11. shodnett

    FedEx - Web Services v9

    Hi, can anyone help me debug. I'm going round in circles trying to avoid getting the error message: Please enter a ZIP Code to obtain your shipping quote. Or possibly: If no rate is shown, the heavy weight of the item(s) in your Shopping Cart suggests a Request for Freight Quote, rather than FedEx Ground service, is recommended. but nothing I do helps. The weight of the item to purchase is 2kg, the customers zip code is in, the address of the sender matches the FedEx account address exactly, the meter, key, password and account number are all correct, I've gone over and over the installation a million times and it's all very straightforward and I'm following it to the letter, but still nothing. I'm getting desperate. I've contacted FedEx and they've asked to see my XML request. I tried to print to screen the request and individual array elements in the fedexwebservices.php file that should result on the checkout_shipping.php page but nothing displays although it says that the array elements count is 6. Can anyone at all help with this one or at least help me with how to view the XML request that is going to FedEx so I can check it?
  12. shodnett

    help with fedex

    I meant to say too that I've read the main support thread as suggested and have read it over and over and found only two people who had this problem, one of whom resolved it because their details were incorrect which I know isn't the case here and the other one never found a solution. Can someone help? Please, please, please?
  13. shodnett

    help with fedex

    I'm having this same problem too and I've spent two days trying to work out what's going wrong and I'm tearing my hair out. The shipping weight of the product in the basket is 2kg which should be way under the max weight limit, the sender's address is set to exactly what is in the Fedex account. I've checked the key, password, meter and account ID a million times and still no luck. Did anyone find a solution to this?
×