The Bill class : concept of order and bill statuses

Moodle Integrated Shop : Structural elements

Introduction

La facture est un objet regroupant l'ensemble des éléments constituant :

Une commande, tant que le paiement n'est pas effectif,

Une facture Proforma, tant que le lettrage avec la séquence comptable n'est pas effectif.

Une facture, une fois lettrée avec la séquence comptable.

Orders and bills in life cycle

Orders and bills have a life cycle determined by a status and transition engine :

Possible statuses include:

IN PROGRESS:

When a back office operator manually creates an order, it takes the In progress status.

PLACED:

Orders transmitted by online customers are placed for payment but not confirmed.

PENDIND :

Orders have been confirmed by the customer but payment used is offline or is delayed for an asynchronous response. Offline payments must be handled manually by a back office operator.

PAID :

Bill has been paid in full because an online immediate method of payment was used or because it was marked as such by a back office operator after physical payment was received.

COMPLETED :

Order has been paid and completed (by any method, whether automatically by enabling handlers or manually shipped and sent to customer in case of physical goods.

CANCELLED :

Back office operators can cancel orders that have not yet been officially entered into accounting.

FAILED :

These bills mark a failed online payment process. Le retour négatif de l'interface de paiement a des causes diverses, comme par exemple une erreur de saisie du code bancaire par le client, un serveur bancaire trop occupé momentanément pour répondre, la banque qui refuse le paiement, etc.

PAYBACK :

Orders abusively billed or orders for which a customer can return their purchase, might be marked as payback orders to the benefit of the customer.

ALL:

Listing de toutes les factures, quelque soit leur état.

Back to the Moodle Shop structure documentation summary - Go to Configuration and implementation of a commercial offer - Back to Local Shop componant - Back to catalogue