- Plugins and Extensions
- Magento 2
- WPG plugin for Magento 2
- Multiple partial capture
Multiple partial capture
Worldpay supports partial payment capture for credit card and mobile wallet orders and PayPal.
In general, a payment can only have funds captured once, and that applies to partial captures too. If you make a partial capture, the rest of the authorization is cancelled. To capture the remaining amount, you must submit a new order to the Worldpay payment service for authorization.
Prerequisite: Worldpay supports one-time partial captures by default. For multiple partial captures you must ask Worldpay to enable multiple partial capture for your account.
Implementing multiple partial capture
You can enable or disable multiple partial capture in Stores/Configuration/Sales/Worldpay.
Go to Stores/Configuration/Sales/Worldpay/General Configuration and set Auto Invoice to No. If it is set to Yes, a full capture request is sent to Worldpay automatically from the Magento side.
Go to Stores/Configuration/Sales/Worldpay/Multiple Partial Capture and set Partial Capture to Yes. This enables partial captures to be made multiple times at the line-item level within a single order.
How to execute partial capture from Magento
Do the following:
Go to Sales/Orders - the screen should look the screenshot below.
Click and open an order with Pending status. Click Invoice on the top ribbon to prepare for partial or full capture. See the screenshot below.
Notice that the Qty (quantity) Ordered is 4 but that the Qty to Invoice is an editable field. This is for partial capture and invoicing.
Below, the Qty to Invoice is updated to 2 and the Update Qty`s button at the bottom of the screen is enabled:
The screen below shows the quantity to be invoiced/captured updated to 2, the corresponding Subtotal, Discount Amount and Row Total are also automatically updated. The Submit Invoice button is enabled to start the invoice/capture.
NOTE: Worldpay supports partial capture for payments made by credit card (Direct/HPP), PayPal, Google Pay and Apple Pay.