Difference between revisions of "KashFlow Accounting"
Line 45: | Line 45: | ||
*WHMCS then matches the currency code configured in Kashflow with that configured in WHMCS and then when creating the client account in KashFlow sends the appropriate currency ID. | *WHMCS then matches the currency code configured in Kashflow with that configured in WHMCS and then when creating the client account in KashFlow sends the appropriate currency ID. | ||
*The currency code must match in order to work. Therefore you should configure all the same currencies in KashFlow that you have configured in WHMCS under Setup > Payments > Currencies. | *The currency code must match in order to work. Therefore you should configure all the same currencies in KashFlow that you have configured in WHMCS under Setup > Payments > Currencies. | ||
+ | |||
+ | ==Common Problems== | ||
+ | ===KashFlow: Error Inserting Transaction xx=== | ||
+ | Seeing this error in the Activity Log when the Kashflow synchronisation runs means that the transaction data being sent does not meet Kashflow's requirements. Review the Billing > Transactions List and Billing > Invoices pages to ensure all transactions and invoices have a payment Gateway assigned and that Transactions have a Transaction ID entered. | ||
+ | |||
+ | ===Error Inserting Customer x: Customer Code is not unique=== | ||
+ | Seeing this error in the Activity Log when the Kashflow synchronisation runs means the client's email address has been changed and no longer matches the email address stored in Kashflow. To resolve this, update the client's email address in Kashflow to match WHMCS. |
Revision as of 14:16, 1 April 2015
KashFlow is an accounting system primarily for UK small businesses but with customers worldwide and this addon module for WHMCS automates the entry of paid invoices into the KashFlow system.
Once installed & configured, the sync process runs as part of the daily cron and creates clients, invoices & transactions in KashFlow to mirror the invoice and transaction records in your WHMCS system.
Contents
Additional Requirement
The KashFlow API requires SOAP is compiled into your server's PHP build. To check if you have this, inside your WHMCS admin area navigate to Utilities > System > PHP Info & if you see no mention of SOAP then you will need to recompile.
Installation
Installation can be completed in 4 simple steps:
- Begin by downloading the latest version from http://www.whmcs.com/members/communityaddons.php?action=viewmod&id=125
- Now unzip the files to a folder on your computer
- Next upload the "kashflow" folder from the zip file to the /modules/addons/ directory of WHMCS on your server
- To complete the process, navigate to Setup > Addon Modules within the WHMCS Admin Area and then click the Activate link next to the new KashFlow module
Configuration
- Login to the Kashflow control panel and then go to Settings > External Services > API Settings
- Tick the following options:
- Enabled
- Restrict Access to specific IP Addresses
- Separate API password
- Click the edit addresses list link and add your server's IP address to the Authorised IP Addresses list.
- Return to the previous screen and enter an API password. You will enter this into WHMCS shortly.
- Now, login to your WHMCS Administration Area
- To configure the module, begin by going to Setup > Addon Modules and Activate
- Here you will first be asked to enter your KashFlow Username & API Password configured in step 4. Once you have done this click Save Changes
- The API login will then be tested and if there's a problem with the username and/or password you entered an error will be displayed on screen.
- If the login was successful, you will see a new selection of fields appear for each of your active payment gateways in WHMCS
- This is where you need to choose the corresponding KashFlow payment method and bank account that transactions for each of the gateways in your WHMCS system should be assigned to when syncing (for more information on this refer to KashFlow's documentation)
- Once you've done that for each payment gateway you have in use, simply save the changes and you're now all set - the first KashFlow synchronisation will run as part of the next daily cron job execution
The Syncing Process
- The sync process will run as part of the daily cron whilever the Enable box is checked - to disable again simply untick the box
- Should any errors occur when sending data to KashFlow, they will be recorded in the Activity Log under the Utilities menu so you should review it periodically to check for any errors
- The first few runs will attempt to sync all existing customers & paid invoices and so may take longer than normal
Multi-Currency
Both WHMCS and Kashflow support the use of multiple currencies, so if you wish to operate in more than one currency this section explains how the integration between WHMCS and Kashflow handles setups:
- WHMCS connects to KashFlow and obtains the currencies configured within the users account.
- WHMCS then matches the currency code configured in Kashflow with that configured in WHMCS and then when creating the client account in KashFlow sends the appropriate currency ID.
- The currency code must match in order to work. Therefore you should configure all the same currencies in KashFlow that you have configured in WHMCS under Setup > Payments > Currencies.
Common Problems
KashFlow: Error Inserting Transaction xx
Seeing this error in the Activity Log when the Kashflow synchronisation runs means that the transaction data being sent does not meet Kashflow's requirements. Review the Billing > Transactions List and Billing > Invoices pages to ensure all transactions and invoices have a payment Gateway assigned and that Transactions have a Transaction ID entered.
Error Inserting Customer x: Customer Code is not unique
Seeing this error in the Activity Log when the Kashflow synchronisation runs means the client's email address has been changed and no longer matches the email address stored in Kashflow. To resolve this, update the client's email address in Kashflow to match WHMCS.