Skip to content

Commit

Permalink
Remove payment status RESERVED, no longer used.
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Aug 24, 2022
1 parent 5fb1760 commit 4e2c148
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
10 changes: 0 additions & 10 deletions src/Payments/PaymentStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,6 @@ class PaymentStatus {
*/
const REFUNDED = 'Refunded';

/**
* Status indicator for reserved
*
* @var string
* @todo Eliminate the use of `RESERVED`.
* @link https://github.com/pronamic/wp-pay-core/issues/66
* @deprecated Use `AUTHORIZED` instead.
*/
const RESERVED = 'Reserved';

/**
* Status indicator for completed
*
Expand Down
1 change: 0 additions & 1 deletion src/Payments/PaymentsDataStoreCPT.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ public function __construct() {
PaymentStatus::EXPIRED => 'payment_expired',
PaymentStatus::FAILURE => 'payment_failed',
PaymentStatus::REFUNDED => 'payment_refunded',
PaymentStatus::RESERVED => 'payment_reserved',
PaymentStatus::SUCCESS => 'payment_completed',
PaymentStatus::OPEN => 'payment_pending',
PaymentStatus::ON_HOLD => 'payment_on_hold',
Expand Down

0 comments on commit 4e2c148

Please sign in to comment.