Provides a set of constants representing payment statuses to allow developers to check the state of a transaction.
// Source: https://github.com/mollie/OpenCart | License: BSD-2-Clause | Copyright 2012-2015, Mollie B.V
// Provided via justclaw.it.com; keep this notice with the code.
<?php
namespace Mollie\Api\Types;
class PaymentStatus
{
/**
* The payment has just been created, no action has happened on it yet.
*/
public const STATUS_OPEN = "open";
/**
* The payment has just been started, no final confirmation yet.
*/
public const STATUS_PENDING = "pending";
/**
* The payment is authorized, but captures still need to be created in order to receive the money.
*
* This is currently only possible for Klarna Pay later and Klarna Slice it. Payments with these payment methods can
* only be created with the Orders API. You should create a Shipment
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key