latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

S2Member API – Xero Integration

Home Forums Community Forum S2Member API – Xero Integration

This topic contains 2 replies, has 2 voices. Last updated by  Bruce 4 years ago.

Topic Author Topic
Posted: Tuesday Dec 11th, 2012 at 4:37 pm #34297
Sara Young
Username: iaa2011

Can someone point me in the right direct to see if it is even possible to integrate S2Member and Xero API’s? Xero is an accounting software (http://blog.xero.com/developer/).

The ideal situtation would be for S2Member to send the item description, the subtotal amount, the tax (fi any), the total amount, date, username/email, etc when a purchase is completed to Xero so that it can generate an invoice that later can be reconcilled with both our authorize.net account and bank account information or with PayPal depending on how the customer pays.

I know there is a link with iDev Affiliate to pass through the subtotal or total amount but am not sure (even after looking at the API documentation) whether it is capabale of passing all these values to another system. Is there a non-developer list of variables that can be passed?

Has anyone connected S2Member with an accounting system before? Unlike a shopping cart such as 1ShoppingCart which has the accounting feature, I do not see anything in S2Member or a mysql database that has this information stored/readily available unless put in some sort of hook / hack at the time it is passed to PayPal and Authorize.net.

Any help is greatly appreciated.

Thanks, Sara

List Of Topic Replies

Viewing 2 replies - 1 through 2 (of 2 total)
Author Replies
Author Replies
Posted: Tuesday Dec 11th, 2012 at 8:49 pm #34317
Sara Young
Username: iaa2011

After doing some more digging through the forums, sounds like I might be able to do this with the API Payment Notifications (example post: http://www.s2member.com/forums/topic/tracking-customer-lifetime-value/#post-33092).

Has anyone done this before that can give me a basic idea of what steps are needed? Assume need to create database in mySQL and then create a script that passes this information and tells how to store it in the database and then put the script url in the payment notification area, does that sound about right?

Posted: Wednesday Dec 12th, 2012 at 2:56 pm #34405
Bruce
Username: Bruce
Staff Member

Has anyone done this before that can give me a basic idea of what steps are needed? Assume need to create database in mySQL and then create a script that passes this information and tells how to store it in the database and then put the script url in the payment notification area, does that sound about right?

I took a quick look at the Xero API, and it looks like you should be able to simply set up API Notifications directly to Xero, rather than sending the info to a database, and then to Xero. You should use this part of the API for that:

http://blog.xero.com/developer/api-overview/http-get/

Viewing 2 replies - 1 through 2 (of 2 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.