Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚧 [1.x] Add Chargeback event statuses #42

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions src/PaymentStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ class PaymentStatus
const CHARGEBACK_LOST = 222;
const CHARGEBACK_REVERSED = 223;
const SECOND_CHARGEBACK = 224;
const REQUEST_FOR_INFORMATION = 225;
const NOTIFICATION_OF_FRAUD = 226;
const NOTIFICATION_OF_CHARGEBACK = 227;
const INFORMATION_SUPLIED = 228;
const DISPUTE_DEFENSE_PERIOD_ENDED = 229;
const PENDING = 300;
const PROCESSING_ASYNC = 301;
const REFUSED = 400;
Expand Down Expand Up @@ -80,6 +85,11 @@ class PaymentStatus
self::CHARGEBACK_LOST => 'Prearbitration lost',
self::CHARGEBACK_REVERSED => 'Chargeback reversed',
self::SECOND_CHARGEBACK => 'Charged back again',
self::REQUEST_FOR_INFORMATION => 'Request for information',
self::NOTIFICATION_OF_FRAUD => 'Notification of fraud',
self::NOTIFICATION_OF_CHARGEBACK => 'Notification of chargeback',
self::INFORMATION_SUPLIED => 'Information Suplied',
self::DISPUTE_DEFENSE_PERIOD_ENDED => 'Dispute Defense Period Ended',
self::PENDING => 'Pending',
self::PROCESSING_ASYNC => 'Processing asynchronously',
self::REFUSED => 'Refused',
Expand Down Expand Up @@ -140,6 +150,11 @@ class PaymentStatus
self::CHARGEBACK_LOST => 'The chargeback prearbitration was lost.',
self::CHARGEBACK_REVERSED => 'The chargeback was reversed.',
self::SECOND_CHARGEBACK => 'The transaction was charged back again.',
self::REQUEST_FOR_INFORMATION => 'The issuer requested more information about the transaction.',
self::NOTIFICATION_OF_FRAUD => 'The transaction notified about fraud activity.',
self::NOTIFICATION_OF_CHARGEBACK => 'A chargeback has been initiated by the issuer.',
self::INFORMATION_SUPLIED => 'The provider received the supporting documents and forwards them to the scheme.',
self::DISPUTE_DEFENSE_PERIOD_ENDED => 'The dispute was not defended within the timeframe, or the defense period ended because liability was accepted.',
self::PENDING => 'The transaction is pending.',
self::PROCESSING_ASYNC => 'The transaction is being completed asynchronously.',
self::REFUSED => 'The transaction was refused.',
Expand Down
Loading