New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Process payments in WHMCS #4
Comments
As this requires thorough testing it will only log potential transactions in our own log table. Once we're happy with the results we will update this version to process payments in WHMCS.
In a0129c3 the cron uses a filter of |
The current implementation struggles with lots of transactions. We link invoices using the invoice number in WHMCS and the public invoice number in Moneybird. The internal id is not stored. As financial mutations give back the internal id we need another call to get the actual invoice number in WHMCS to match a payment. As API calls are limited to 150 every 5 minutes this requires a change in how we link invoices in Moneybird. |
The default endpoint is not only limited it will also trigger an exception. This is undesired (and a little strange) so we're switching to the synchronization endpoint.
This has been tested thoroughly and is ready to be included in the next release. |
Once a payment has been mapped in Moneybird it should result in a transaction in WHMCS.
Some payment service providers are integrated into WHMCS. A PayPal payment will be processed in WHMCS before it's available Moneybird. This could result in duplicate transactions. We could test for this edge case by searching for a transaction that was done on the same day, for the same amount. This is not 100% fool proof and edge cases will exist.
The text was updated successfully, but these errors were encountered: