File: D:/HostingSpaces/SBogers10/shop.komma.nl/app/Payment/TransactionStatus.php
<?php
namespace App\Payment;
use Komma\KMS\Base\Enum;
class TransactionStatus extends Enum
{
const OPEN = 'open'; //The payment is created and the user needs to pay it
const EXPIRED = 'expired'; //The payment has expired at the psp side. A new transaction must be done
const REDIRECTED_USER_TO_PSP = 'redirected_customer_to_psp'; //The payment is created and the user needs to pay it
const CANCELED_CUSTOMER = 'canceled_by_customer';
const AUTHORISATION_REJECTED = 'authorization_rejected'; //The financial institute (usually a bank) rejected the authorisation
const AUTHORIZED = 'authorized'; //The financial institute (usually a bank) authorized the transaction. This means that the money may be transfered.
const AUTHORISATION_PENDING = 'authorisation_pending'; //The financial institute (usually a bank) must determine if the customer is allowed to make the payment
const AUTHORISATION_UNKNOWN = 'authorisation_unknown'; //While authorising a technical problem occurred and it now is uncertain what the authorisation status really is. Do not allow the user to start over the payment.
const CANCELED = 'canceled_by_shop'; //The shop did cancel the transaction
const CANCEL_PENDING = 'cancel_pending';
const REFUNDED = 'refunded'; //The shop did a refund to the customer
const REFUND_PENDING = 'refund_pending'; //The shop did a refund to the customer
const CHARGEDBACK = 'charged_back'; //The user has instructed the financial institute (usually a bank) to get their money back and that process is completed
const CHARGEBACK_PENDING = 'chargeback_pending'; //The user has instructed the financial institute (usually a bank) to get their money back
const PAYMENT_PAID = 'paid'; //The payment was completed
const PAYMENT_PENDING = 'payment_pending'; //Waiting for payment.
const PAYMENT_UNKNOWN = 'payment_unknown'; //A technical problem occurred while processing the payment. Do not allow the user to start over the payment. It may be payed already.
}