Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.

fix: safely retrieves stripe resource before deletion #17#18

Merged
jacobsfletch merged 1 commit into
mainfrom
fix/deletion-hook
May 1, 2023
Merged

fix: safely retrieves stripe resource before deletion #17#18
jacobsfletch merged 1 commit into
mainfrom
fix/deletion-hook

Conversation

@jacobsfletch
Copy link
Copy Markdown
Member

Resolves #17 by retrieving the Stripe resource before deleting it. This way, documents that are not found in the Stripe system will not prevent the document from being deleted in Payload.

@jacobsfletch jacobsfletch merged commit 0203b61 into main May 1, 2023
@jacobsfletch jacobsfletch deleted the fix/deletion-hook branch May 1, 2023 21:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

deleteFromStripe hook throws error whenever we have a delete webhook configured

1 participant