Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Fedex Plugin In Cs-Cart Doesnt Work For India Rate Topic   * * * * * 1 votes

 
  • fleaffair
  • Senior Member
  • Members
  • Join Date: 11-Jun 14
  • 537 posts

Posted 26 May 2015 - 06:49 PM #1

The Fedex plugin in cs-cart 4.2.4 doesnt work out of the box with India Fedex.

We created our account with Fedex India and got all our credentials but when we test it with those credentials for a local pick up and delivery for Standard Overnight it gives an error as below.

Checked with Fedex Team and they say that please check with cs-cart team for the fix on the expected variables which are missing in XML. Has some one integrated with India Fedex.

"Please set The PurposeOfShipmentType to SOLD or NOT SOLD to get the desired result"

URL: https://wsbeta.fedex.com:443/web-services
Request: '<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v9="http://fedex.com/ws/rate/v9"> <SOAP-ENV:Body> <v9:RateRequest> <v9:WebAuthenticationDetail> <v9:UserCredential> <v9:Key>TvcuDvcguC2bJ</v9:Key> <v9:Password>L7zo9l25xQdeJ2mx8pfTk</v9:Password> </v9:UserCredential> </v9:WebAuthenticationDetail> <v9:ClientDetail> <v9:AccountNumber>510087</v9:AccountNumber> <v9:MeterNumber>118674</v9:MeterNumber> </v9:ClientDetail> <v9:TransactionDetail> <v9:CustomerTransactionId>Rates Request</v9:CustomerTransactionId> </v9:TransactionDetail> <v9:Version> <v9:ServiceId>crs</v9:ServiceId> <v9:Major>9</v9:Major> <v9:Intermediate>0</v9:Intermediate> <v9:Minor>0</v9:Minor> </v9:Version> <v9:RequestedShipment> <v9:DropoffType>REGULAR_PICKUP</v9:DropoffType> <v9:PackagingType>YOUR_PACKAGING</v9:PackagingType> <v9:Shipper> <v9:Address> <v9:StreetLines>M-9</v9:StreetLines> <v9:City>New Delhi</v9:City> <v9:StateOrProvinceCode>DL</v9:StateOrProvinceCode> <v9:PostalCode>110018</v9:PostalCode> <v9:CountryCode>IN</v9:CountryCode> </v9:Address> </v9:Shipper> <v9:Recipient> <v9:Address> <v9:StreetLines>M-9</v9:StreetLines> <v9:City>Bangalore</v9:City> <v9:StateOrProvinceCode>KA</v9:StateOrProvinceCode> <v9:PostalCode>560001</v9:PostalCode> <v9:CountryCode>IN</v9:CountryCode> <v9:Residential>true</v9:Residential> </v9:Address> </v9:Recipient> <v9:ShippingChargesPayment> <v9:PaymentType>SENDER</v9:PaymentType> <v9:Payor> <v9:AccountNumber>510087860</v9:AccountNumber> <v9:CountryCode>IN</v9:CountryCode> </v9:Payor> </v9:ShippingChargesPayment> <v9:RateRequestTypes>LIST</v9:RateRequestTypes> <v9:PackageCount>1</v9:PackageCount> <v9:PackageDetail>INDIVIDUAL_PACKAGES</v9:PackageDetail> <v9:RequestedPackageLineItems> <v9:Weight> <v9:Units>LB</v9:Units> <v9:Value>2.2</v9:Value> </v9:Weight> <v9:Dimensions> <v9:Length>10</v9:Length> <v9:Width>10</v9:Width> <v9:Height>10</v9:Height> <v9:Units>IN</v9:Units> </v9:Dimensions> </v9:RequestedPackageLineItems> </v9:RequestedShipment> </v9:RateRequest> </SOAP-ENV:Body> </SOAP-ENV:Envelope>'
Response: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><RateReply xmlns="http://fedex.com/ws/rate/v9"><HighestSeverity>ERROR</HighestSeverity><Notifications><Severity>ERROR</Severity><Source>crs</Source><Code>894</Code><Message>CustomsClearanceDetail object cannot be null.</Message><LocalizedMessage>CustomsClearanceDetail object cannot be null.</LocalizedMessage></Notifications><Notifications><Severity>ERROR</Severity><Source>crs</Source><Code>691</Code><Message>The PurposeOfShipmentType is null, empty or invalid.</Message><LocalizedMessage>The PurposeOfShipmentType is null, empty or invalid.</LocalizedMessage></Notifications><TransactionDetail><CustomerTransactionId>Rates Request</CustomerTransactionId></TransactionDetail><Version><ServiceId>crs</ServiceId><Major>9</Major><Intermediate>0</Intermediate><Minor>0</Minor></Version></RateReply></SOAP-ENV:Body></SOAP-ENV:Envelope>

Warm Regards,
Admin | MVE: 4.2.4

 
  • abcd
  • Advanced Member
  • Trial users
  • Join Date: 10-Sep 16
  • 52 posts

Posted 22 February 2017 - 11:48 AM #2

I am facing the same issue.. :-(



 

Posted 15 August 2017 - 11:04 AM #3

Fedex module not working, it gives the error "ERROR 894 CustomsClearanceDetail object cannot be null."



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19036 posts

Posted 15 August 2017 - 02:14 PM #4

Please post this issue to the bug tracker. CS-Cart developers can miss this thread

 

http://forum.cs-cart...ject-1-cs-cart/


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 

Posted 15 August 2017 - 02:29 PM #5

Please post this issue to the bug tracker. CS-Cart developers can miss this thread

 

http://forum.cs-cart...ject-1-cs-cart/

Thanks. Just posted it to the bug tracker