local:shop:structure:classes:bill

This is an old revision of the document!


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 have a life cycle determined by a status and transition engine :

Possible statuses include:

États des factures dans le cycle de réalisation

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.

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:

local/shop/structure/classes/bill.1518779135.txt.gz · Last modified: 2024/04/04 15:50 (external edit)