Order Management

Capture

If you have configured an automatic capture using the Hybris backoffice then we capture your payment automatically. However, if you prefer manual capture flow you should send a capture request before the authorisation expires.

 

Some payment methods do not support manual capture, check with Adyen Support Team to know more. Your capture flow settings in Hybris should match with your merchant account settings in the Adyen Customer Area (CA).

This extension provides an implementation of the de.hybris.platform.payment.commands.CaptureCommand for capturing payments. 

Using adyenCheckCaptureAction, you can check if the capture of a payment has been completed. 

 You can expect the below states:

  • OK – Payment was captured
  • NOK – Capture failed
  • WAIT – Waiting for capture completion (listening to AdyenCaptured event)

Cancellations/Refunds

This extension provides an implementation of the de.hybris.platform.payment.commands.VoidCommand to cancel the payment, if required. This command uses the our cancelOrRefund API call and refunds a the payment. 

Refunds

This extension provides an implementation of the de.hybris.platform.payment.commands.FollowOnRefundCommand to refund a payment.

You can integrate AdyenCancelOrRefundAction to check if a refund is complete. You can expect the below states:

  • OK – Payment was refunded
  • NOK – Refund failed
  • WAIT – Waiting for refund completion (listening to AdyenRefunded event)