Skip to content

Support

Ales Fizesan edited this page Mar 8, 2021 · 6 revisions

Webhooks

What are webhooks?

Webhooks are used to connect different systems over the internet.

So whenever there is an update for an order, Mollie will fire a webhook and notify WooCommerce about any updates, such as a payment status. This means that WooCommerce will need to provide a webhook endpoint for these notifications. And that is done by the Mollie plugin.

Configuration

In most cases it's not necessary to configure anything to receive notifications.

However, if you are in a testing or staging environment, please make sure this URL is publicly available:

"http(s)://{{your domain}}/wc-api/{{gateway class}}?order_id={{id number}}&key=wc_order_{{order key}}"

What IPs will the webhook requests be originating from?

If you want to create a whitelist for the IP range of Mollie, please refer to this page:

https://help.mollie.com/hc/en-us/articles/213470829

Refunds

In WooCommerce itself you can process refunds in two ways:

  • Automatic: Refunds change the WooCommerce order status and also reverse the charge so your customer gets their money.
  • Manual: Refunds change the WooCommerce order status, but you need to return the money manually to your customer.

Automatic Refunds

These are called Automatic refunds as when you process refunds that are connected to your payment gateway. Once you’ve processed this type of refund in your WooCommerce Admin, no further actions are necessary.

  1. Check: Review the documentation or support of your payment gateway on whether automatic refunds are available. Most automatic payments fully 1. support this.
  2. Scope: Refunds normally extend to products, taxes, and shipping fees. However, transaction fees charged by the payment gateway will likely be lost and not refunded.
  3. Setup: Make sure that your API settings are set and test your payment gateway and refunds while in sandbox or test mode:
  4. WooCommerce: Refunds can be processed through the Orders.
    • Go to: WooCommerce > Orders.
    • Select the order to refund.
    • Go to the order summary, and select “Refund” to start.
    • Specify the quantity of the product(s) to be refunded in the text box(es) that appear for each line item. The refund amount will automatically adjust based on the products refunded. If inventory levels are not managed, you can also enter the Refund amount, without adjusting the product quantity.
    • If the quantities of items are not set when issuing a refund then the order is not marked as refunded and the email that is sent will say “partial refund.”
    • Add refund notes, if desired.
    • Select “Refund $XX.XX via [your gateway]”.
Clone this wiki locally