Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
v:2.0:transaction_xml_datafeed [2017/12/05 10:36] – [Non-MultiShip Store] adamv:2.0:transaction_xml_datafeed [2024/09/09 10:24] (current) – [Hosted Gateways] adam
Line 1: Line 1:
 ====== Transaction XML Datafeeds: Instant Transaction Notification ====== ====== Transaction XML Datafeeds: Instant Transaction Notification ======
    
 +====== Transaction XML Datafeed ======
 +
 +<WRAP TIP>
 +__**NOTE: The Transaction XML Datafeed is deprecated**__
 +Though this legacy datafeed works and will continue to function in the future, it will not see any new functionality. We recommend any new integrations requiring a feed of transactions use FoxyCart's JSON Webhook: https://wiki.foxycart.com/v/2.0/webhooks#json_webhook
 +</WRAP>
 +
 +
 +
 ===== An Overview of FoxyCart's Transaction XML Datafeed ===== ===== An Overview of FoxyCart's Transaction XML Datafeed =====
  
Line 14: Line 23:
  
 The datafeed can be enabled for your store from the "Advanced" settings page of the FoxyCart administration. Check the option labelled "Would you like to enable your store datafeed?", and enter your datafeed endpoint URL into the text input labelled "datafeed url" that appears below it. The datafeed can be enabled for your store from the "Advanced" settings page of the FoxyCart administration. Check the option labelled "Would you like to enable your store datafeed?", and enter your datafeed endpoint URL into the text input labelled "datafeed url" that appears below it.
 +
 +==== Getting the datafeed decryption key ====
 +
 +The datafeed payload is encrypted with a key from your store, which you can access from the "advanced" settings page in the FoxyCart administration, from the [[v:2.0:store_secret|"store secret" value]].
 ==== Details ==== ==== Details ====
   * When the datafeed is sent it **REQUIRES A RESPONSE OF ''foxy''** in order to indicate success. If anything other than ''foxy'' is returned by your datafeed processing script, FoxyCart will assume that your script errored, and you will be alerted.   * When the datafeed is sent it **REQUIRES A RESPONSE OF ''foxy''** in order to indicate success. If anything other than ''foxy'' is returned by your datafeed processing script, FoxyCart will assume that your script errored, and you will be alerted.
Line 74: Line 87:
   * Mollie   * Mollie
   * Ogone   * Ogone
 +  * PayPal Commerce Platform
   * PayPal Express Checkout   * PayPal Express Checkout
   * PayPal Plus   * PayPal Plus
Line 90: Line 104:
  
 ===== Example XML ===== ===== Example XML =====
 +**NOTE:** The user agent that is used for datafeed requests to your endpoint is:
 +''FoxyCart Webhook v2.0 (http://wiki.foxycart.com/v/2.0/webhooks)''
 +
 ==== Non-MultiShip Store ==== ==== Non-MultiShip Store ====
 <file xml> <file xml>
Line 227: Line 244:
  
 ==== MultiShip Store ==== ==== MultiShip Store ====
-<code xml>+<file xml>
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <foxydata> <foxydata>
Line 304: Line 321:
  <discounts>  <discounts>
  <discount>  <discount>
- <code><![CDATA[asdf]]></ code>+ <code><![CDATA[asdf]]></code>
  <valid_categories/>  <valid_categories/>
  <name><![CDATA[$5 off all orders over $5!]]></name>  <name><![CDATA[$5 off all orders over $5!]]></name>
Line 435: Line 452:
  </transactions>  </transactions>
 </foxydata> </foxydata>
-</code>+</file>
  
 ===== Example Parsing Code ===== ===== Example Parsing Code =====

Site Tools