Skip to content

Example extension for Expresso Store which exports incoming orders as XML

License

Notifications You must be signed in to change notification settings

expressodev/store_order_export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Expresso Store: Order Export

This is an example extension for Expresso Store. It uses the store_order_complete_end hook, which is executed as each order is marked as "complete" in Store (generally when the payment is approved).

In this example orders are formatted as XML and saved to the filesystem, but it would be trivial to modify the code to post orders to a remote service (for example), or to output JSON instead.

To adjust the XML output format, see the views/order.php file.

About

Example extension for Expresso Store which exports incoming orders as XML

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages