Skip to content

Pickware

boxblinkracer edited this page May 25, 2021 · 2 revisions

If you are using Mollie in combination with the ERP plugin by Pickware, there are a few things to consider.

Overview

Pickware offers plugins that give you the flexibility of a full goods management system right within Shopware. This includes an improved functionality of the product stocks.

Why is this something we mention in this document? Because checkouts and/or refunds do also affect any stock values of your products.

Please keep in mind, Mollie does not do any direct database changes of stocks or anything, but sticks with the default function of Shopware in any way. Still, neither Mollie nor Pickware can guarantee a perfect combination of both plugins in your shop, even though we both try our best.

What can go wrong?

The only thing that can go wrong, what we know, is that the stock values gets either out-of-sync or it might even change to a negative stock value after some time.

As far as we know, this happens because of either a wrong configuration or wrong usage of the overall shop system in combination with Pickware and a payment plugin such as Mollie.

If we take a close look at the stock problems, then we have to tackle 2 things:

  • Reset of stock if a payment fails or isn't completed
  • Reset of stock on refunds

Please read this guide on how to solve these obstacles/goals in order to correctly use both plugins in your shop.

Goal 1: Correct Stock after Order

The first thing we need to ensure is, that all invalid payments do NOT have a wrong impact on the product stock. Please follow these easy steps, depending on your configuration in Mollie.

Create Order After Payment

If you do use the option to create the order after the payment, then there is nothing required to configure.

Orders will only be created if the payment succeeds, which means failed payments will NOT decrease the stock in any way.

That means your stock should always be correct for valid and invalid payments.

Create Order Before Payment

If you have orders being created before the payment, then the stock is already decreased for the order before the payment happens. This is not about Pickware, but about a basic flow and approach in Shopware.

This means, that it needs to be increased again in case of unsuccessful payments. Unsuccessful payments are defined as payment status: "failed", "cancelled" or "expired".

To have that stock automatically repaired in that case, please configure the setting Reset stock on failed payment to YES.

This will set all quantities of positions in orders to "0" if the payment fails. That action will automatically reset the overall product stock in Shopware (Shopware default behaviour).

Please keep in mind - if you have any other service that automatically adjusts the stock in such workflows or even an interactive system, please do not use this feature. In this case your other system should already increase the stock again on failed payments.

Goal 2: Handling Refunds

The next action where a stock can get out-of-sync is when a refund is done.

Pickware does only allow correct refunds within their prepared actions in the Shopware backend. So for Mollie it's NOT POSSIBLE to start a refund which does the correct stock-handling for refunds that Pickware might require.

This is the reason why we recommend doing these 2 things separately.

It's not mandatory to start with the first or second thing. You can decide if you want to start with the payment refund or with the Pickware refund first. That's completely up to your business.

1. Start Pickware Refund

Start a refund in Pickware as described in their documentation.

That action should also ask if you want to adjust the stock again, in case you got the products back from your customer. If you agree with this, then Pickware is in charge of resetting the stock in a correct way. This adjusts the corresponding values in the order, as well as the overall product stock in Shopware.

Mollie is not involved in this step.

2. Refund Payment

If you are ready to refund the money, please decide what option for refunding is best for you from our guide on Refunds.

Mollie will NOT adjust your stock in that case. It will only modify the payment status, as well as the order status, if that feature is enabled.

Clone this wiki locally