Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision |
v:0.7.0:advanced:transaction_xml_datafeed [2011/05/06 05:06] – [MultiShip Store] adding future line item foxyluke | v:0.7.0:advanced:transaction_xml_datafeed [2017/04/26 07:02] (current) – external edit 127.0.0.1 |
---|
| |
==== Testing ==== | ==== Testing ==== |
When you're testing your custom XML integration, don't run transactions through FoxyCart. This is both time consuming (as you have to add-to-cart, checkout, then wait up to a minute to receive the XML), but it also doesn't give you any indication of what's actually going wrong. | When you're testing your custom XML integration, don't run transactions through FoxyCart. This is both time consuming (as you have to add-to-cart and checkout), but it also doesn't give you any indication of what's actually going wrong. |
| |
A much better method is to use the [[:integration:foxycart:test_xml_post|XML Test Post]] script or [[:integration:foxycart:test_xml_post_with_csharp|application (C#)]]. This effectively mimics what FoxyCart is actually doing when sending the XML to your server in the first place. **Make sure you update the test XML** in the script to the appropriate version (below). | A much better method is to use the [[:integration:foxycart:test_xml_post|XML Test Post]] script or [[:integration:foxycart:test_xml_post_with_csharp|application (C#)]]. This effectively mimics what FoxyCart is actually doing when sending the XML to your server in the first place. **Make sure you update the test XML** in the script to the appropriate version (below). |
=== Country Codes === | === Country Codes === |
For compatibility, FoxyCart uses ISO country codes in our XML: | For compatibility, FoxyCart uses ISO country codes in our XML: |
* http://www.iso.org/iso/country_codes/iso_3166_code_lists/english_country_names_and_code_elements.htm | * [[http://www.iso.org/iso/country_codes/iso_3166_code_lists/english_country_names_and_code_elements.htm|ISO.org]] |
* http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Decoding_table | * [[wp>ISO_3166-1_alpha-2#Decoding_table|Wikipedia]] |
| |
| |
</transaction_details> | </transaction_details> |
<shipto_addresses/> | <shipto_addresses/> |
</t | </transaction> |
ransaction> | |
</transactions> | </transactions> |
</foxydata> | </foxydata> |