Skip to content

Commit

Permalink
server/pledge: add cancelled state
Browse files Browse the repository at this point in the history
  • Loading branch information
zegl committed Nov 2, 2023
1 parent 5324d22 commit bf2c122
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/polar/pledge/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ class PledgeState(str, Enum):
disputed = "disputed"
# The charge was disputed by the customer (via Stripe, aka "chargeback")
charge_disputed = "charge_disputed"
# Manually cancalled by a Polar admin.
cancelled = "cancelled"

# The states in which this pledge is "active", i.e. is listed on the issue
@classmethod
Expand Down

2 comments on commit bf2c122

@vercel
Copy link

@vercel vercel bot commented on bf2c122 Nov 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs – ./docs

docs-git-main-polar-sh.vercel.app
docs-sigma-puce.vercel.app
docs-polar-sh.vercel.app
docs.polar.sh

@vercel
Copy link

@vercel vercel bot commented on bf2c122 Nov 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.