Skip to content
This repository has been archived by the owner. It is now read-only.
This repository has been archived by the owner. It is now read-only.

Add ledger webhooks support #52

@ryanwjackson

Description

@ryanwjackson

Is your feature request related to a problem? Please describe.
If a user deletes a resource in the ledger (e.g. QBO) when it already exists in rails_app as a LedgerResource, future syncs will fail as the ledger_id is no longer valid.

Describe the solution you'd like

  • Notify the provider that the delete has occurred.
  • Remove the ledger_id on the LedgerResource so future syncs will succeed as expected.

Questions

  • Do we retry any current failures due to a race case of a sync failing before the webhook was received and processed?
  • What are other use cases besides deletion?
  • Should this functionality be built into the library somehow?

@mattgmarcus @jozefvaclavik

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions