Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problems importing FastSpring sales export

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Licensing Support
View previous topic :: View next topic  
Author Message
Basspassion



Joined: 03 Apr 2007
Posts: 11
Location: Sweden

PostPosted: Sat Nov 15, 2008 3:26 pm    Post subject: Problems importing FastSpring sales export Reply with quote

Greetings.

I'm trying to import a exported sales CSV from FastSPring.
The CS looks like this:

Code:
Date,Reference,Type,Item Type,Currency,Total,Subtotal,Tax,Product,Title,Base,Quantity,Referrer,Entry,Campaigns,Licenses,Salutation,First Name,Middle Name,Last Name,Company,Email,Phone,Address 1,Address 2,City,Country,Region,Postal
9/1/08,BASxxxxxx-xxxx-xxxxx,Purchase,Base,USD,39.95,39.95,0.00,Online Radio Tuner,Online Radio Tuner,Online Radio Tuner,1,http://www.onlineradiotuner.com/Purchase.aspx,,,xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxx,,john,,doe,home,test@acme.com,555-555-5555,this adress,blah,blah,US,xx,xxxx


And my XML definition looks like this:
Code:
<?xml version="1.0" encoding="utf-16"?>
<Importer xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CsvSalesImporter">
  <DateFormat>
    <string>M/dd/yy</string>
  </DateFormat>
  <PurchaseTag>row</PurchaseTag>
  <PurchaseReferenceTag>Reference</PurchaseReferenceTag>
  <PurchaseDateTag>Date</PurchaseDateTag>
  <SalutationTag>Salutation</SalutationTag>
  <LastNameTag>Last_x0020_Name</LastNameTag>
  <FirstNameTag>First_x0020_Name</FirstNameTag>
  <CompanyTag>Company</CompanyTag>
  <EmailTag>Email</EmailTag>
  <PhoneTag>Phone</PhoneTag>
  <FaxTag></FaxTag>
  <Street1Tag>Address_x0020_1</Street1Tag>
  <StateTag>Region</StateTag>
  <CityTag>City</CityTag>
  <ZipTag>Postal</ZipTag>
  <CountryTag>Country</CountryTag>
  <ProductReferenceTag>Product</ProductReferenceTag>
  <QuantityTag>Quantity</QuantityTag>
  <LicenseKeyTag>Licenses</LicenseKeyTag>
  <LicenseKeyDelimiter>\n</LicenseKeyDelimiter>
</Importer>


I get this error:
Quote:
---------------------------
Error Importing Sales Data
---------------------------
The following error occurred while importing:

String was not recognized as a valid DateTime.

Do you want to continue importing?
---------------------------
Yes No
---------------------------



Any suggestions?
(Using IPN v3.7.4)

Regards,
Magnus
Back to top
View user's profile Send private message Visit poster's website
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Sun Nov 16, 2008 4:36 am    Post subject: Reply with quote

Your date format in the XML definition is not correct for your data. Because the dates in your data don't have leading zeros for the day then it should be:

Code:

<DateFormat>
    <string>M/d/yy</string>
</DateFormat>

_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Licensing Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group