NewPath-Consulting / quickbooks-for-wildapricot

QuickBooks for Wild Apricot - Never miss an entry and have peace of mind knowing your books are always up-to-date with accurate transactions. Reduce stress and errors with automated, categorized entries from Wild Apricot to your QuickBooks accounts.
https://newpathconsulting.com/waqm
Apache License 2.0
2 stars 1 forks source link

QBO refactor - HTTP response to core scenario to allow notifications from core #38

Open thelontx opened 3 years ago

thelontx commented 3 years ago

After version v0.6:
Current design: Secondary WAQM scenario for QBO uses 1 large payload from core scenario to process all invoice transactions. Success notification email gets sent from secondary QBO scenario.

Potential change: Refactor so that secondary QBO scenario runs for each individual invoice transaction. An HTTP response is sent to core scenario with success/failure and any incremental info needed to send the notification email (with list of invoices processed and link to invoice transaction). May also require sending datastore config as part of payload.

PRO:

CON: -Core scenario becomes dependent on multiple runs of the secondary scenario before it can finish. -Would need to understand how to handle situations where Incomplete transaction on secondary scenario is processed? How would response be processed and managed?

thelontx commented 2 years ago

removing from v0.7. Significant change that can have many impacts to error handling and resolution. Needs to be considered as a larger change when WAQM moves closer to a DevOps model?