Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

4466 articles

Enable manual capture


Enable manual capture

Allow separate authorization and capture for eligible Stripe payment methods.

Stripe supports manual capture for some payment method types. You can configure this behavior in the application settings page by setting the Payment Action property of an eligible payment method to Authorize Only.

Typically, enabling manual capture for a newly launched payment method that supports it requires upgrading your Stripe module. This guide instructs you how to enable manual capture for eligible payment methods without upgrading the Stripe module by updating the payment method helper file directly.

Create a new module

Create a new module with the following directory structure. Replace Vendor with your preferred vendor name.

Inside registration.php, register your module with Magento.

<?php
\Magento\Framework\Component\ComponentRegistrar::register(
 \Magento\Framework\Component\ComponentRegistrar::MODULE,
 'Vendor_StripeCustomizations',
 __DIR__
);

Inside the relevant part of the product, define the module and set up dependencies to make sure it loads after the Stripe module.

Inside the relevant part of the product, define the following plugin:

Inside the relevant part of the product, create the an afterMethod interceptor:

<?php

namespace Vendor\Module\Plugin;

class PaymentMethodPlugin
{
 public function afterGetPaymentMethodsThatCanCaptureManually(
 \StripeIntegration\Payments\Helper\PaymentMethod $subject,
 $result
 ) {
 // Modify or extend the result to include another payment method code that supports manual capture.
 $result[] = 'new_payment_method_code';

 return $result;
 }
}

Enable the module:

php bin/magento module:enable Vendor_StripeCustomizations
php bin/magento setup:upgrade
php bin/magento cache:clean
php bin/magento cache:flush
Last verified 2026-09-24

Is this helpful?