Order manipulation

Last update: February 28, 2024

The module adds several statuses to the order management in your store's back-office. These specific statuses are dedicated to orders placed with Oney payment methods and allow your back-office to communicate with Oney Web Service:

  • Pending payment 3x4x Oney (module status): Indicates that order is created, and no payment has been captured.
  • Favorable opinion 3x 4x Oney (module status): Oney accepts the payment. Oney wait for the merchant confirmation that he is ready to deliver the items.
  • On backorder (not paid) (Prestashop status): Oney has accepted the payment but the items composing the order in Prestashop are not within stock (stock verification). The process is "paused" until the merchant applies manually the next status: Ready to deliver 3x4x Oney or add stock into his Prestashop back office (Catalog/product/product page/quantity).
  • Ready to deliver 3x4x Oney (module status): The merchant indicates that he has the item(s).
  • Payment accepted (Prestashop status): Is shown when the FUNDED callback is received. The payment has been accepted by Oney.
  • Refund (Prestashop status): Is assigned by the merchant to indicate the order must be refund entirely to the customer.
  • Refunded partially (Prestashop status): Is assigned by the merchant to indicate that some items in the order must be refund to the customer.
  • Canceled (Prestashop status): Is assigned by a merchant or the payment gateway if an order has not been paid for.

Order process diagram

Important note: The following diagram represents the status process imposed by the Oney payment module. Each order must respect the sequence and orchestration of these. No other process is tolerated by the module due to constraints related to the legislation and the license of Oney Bank.

Oney's statuses are tied to Prestashop's statuses. Oney's statuses can't be changed which is the exact opposite of Prestashop's statuses that can be renamed, also new status can be created (refer to the Prestashop's documentation below).

It is strictly forbidden to modify statuses displayed on the following diagram into your Prestashop.

Note:

  • The color and the type of the arrow are important as they show where you can act to change status (green color) and not (blue color).
  • For the automatic confirmation ON/OFF, please refer to the general configuration of this user's guide.

Confirm shipping to Oney

When configuring your Prestashop, you chose whether your shipping confirmations should be processed automatically or manually. Automatic Confirmation is a mode provided by this module. This feature allows you to confirm a shipment to Oney automatically if the following conditions are met:

  • Oney is sending a FAVORABLE status for the financing of the order
  • Stocks are available in the Prestashop inventory for all products in the order

If one of these conditions are not met, order must be shipped with manual usual Prestashop Shipment process. Status will stop to "favorable 3x 4x Oney". In order to get the next status, you will have to alert Oney when shipment is ready, by selecting the status "Ready to deliver 3x 4x Oney". Let illustrate this with the following diagram:

Order's cancellation

The cancellation feature is available for any orders at any steps of the order's process.

Depending on the status, you have two different ways to cancel an order:

  1. Select the "Cancel" status in the "State" tab and click on "Update state" button.
  2. Use the refund method (please refer to next section)

Cancelled orders.

Important note: In any case, the refund request will be sent to Oney's service. The total amount of the order will be refunded.

Order's refund

The refund feature is available for any orders only when the order has been funded by Oney when the status "Payment accepted" has been applied to the order.

To refund partially or totally an order, you may proceed as follow:

  1. Partial refund:

    • Click on "Partial refund",
    • Select the number of products to refund and click on "Partial refund" button.
    • You can tape the amount to be refund (optional), if not the price (included taxes and product's discount) will be sent.

    Important notes:

    • A request with the amount to refund will be sent to Oney's services and the status "Partial refund" will be automatically applied to the order. You may apply as many times as a partial refund is needed.
    • Oney will refund the selected product price (including taxes and product's discount). However, if a discount is applied to the order, as a global discount, Oney will not consider this discount amount, also as a merchant, you will have to apply manually the correct amount (refer to part 3 of this chapter).
    • When no more product is to be refunded the "Cancelled" status will automatically applied to the order
    • The total refund amount must be inferior or equal (<=) to the total order amount.

  2. Standard refund:

    • Click on "Standard refund",
    • Tape the number of products to be refund. Take in consideration the left quantities if you already have refunded product/s. - MANDATORY
    • Check "generate a credit note" and "include shipping cost" - MANDATORY
    • click on "Refund products" button.

    Prestashop 1.7.7

    Important notes:

    • Only available after payment accepted – please refer to the diagram.

    • In Prestashop Back Office configuration, refund must be allowed, otherwise the standard refund button will not be displayed. Prestashop's configuration as follow:

    • Oney will refund the selected product price (included taxes and product's discount). However, if a discount is applied to the order, as a global discount, Oney will not consider this discount amount, also as a merchant, you will have to apply manually the correct amount (refer to part 3 of this chapter).

    • The cancellation of the order will be automatically applied after à standard refund.

    • The total refund amount must be inferior or equal (<=) to the total order amount.

  3. Standard refund in case of order discount:

    • Click on "Standard refund".
    • Tape the number of products to be refund. Take in consideration the left quantities if you already have refunded product/s. - MANDATORY
    • Check "generate a credit note" and "include shipping cost" - MANDATORY
    • Check "deduce discount" ("exclure le montant du bon de reduction initial…"), so 48,96 euros into the example below.
    • click on "Refund products" button.

    Important notes: As a merchant, please make sure the refund will never be higher than the total order's amount. If the filled-up amount is higher than the order amount, the status will not be applied to the order and no amount will be communicated to Oney. A log in error will be generated into Oney Module.