This actually is totally reasonable behavior and probably a very uncommon case but it would be nice to handle more gracefully.
Steps to reproduce:
As an event organizer: Set up a Dancerfly org and event with an attached Stripe account
As a customer: Make any purchase worth money using a credit card
As an event organizer: Disconnect the stripe account and attach a different one
As an event organizer: Attempt to refund customer purchase
Observe error like: No such charge: ch_1CjfMD2vWxXRcAO4Doeo4xOT
Proposed mitigations:
Give a more informative error, like "This may happen if the purchase was made to a different stripe account than the currently connected one."
Automatically mark transactions as non-refundable when an organizer changes the stripe account (Maybe with a suggestion: "Dancerfly no longer has access to this transaction. Refund it directly through your payment processor.")
This actually is totally reasonable behavior and probably a very uncommon case but it would be nice to handle more gracefully.
Steps to reproduce:
No such charge: ch_1CjfMD2vWxXRcAO4Doeo4xOT
Proposed mitigations: