Log an error message when a site attempts a transaction with a disconnected account

Created on 5 April 2018, over 7 years ago
Updated 18 August 2025, about 1 month ago

One way to determine if an account has been disconnected from a platform in order to delete the credentials stored within Drupal is to listen to the account.application.deauthorized event in a webhook. Unfortunately, we cannot guarantee in the Drupal context that multiple sites won't be connecting to the same platform, and we cannot instruct Stripe to only send events pertaining to a particular site to its webhook.

Instead we need to research the API responses accounts to see if we can differentiate between a connected account vs. a disconnected account. If we can, then we'd look into checking this API endpoint on cron and removing connected Account data if we saw it was revoked or otherwise disabled. API docs: https://stripe.com/docs/api#account

πŸ“Œ Task
Status

Closed: outdated

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States rszrama

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024