fix(payment): Double idempotent capture called with auto capture beha… (#14073)

* fix(payment): Double idempotent capture called with auto capture behaviour

* Create sweet-peaches-dress.md

* naming

* feedback

* naming
This commit is contained in:
Adrien de Peretti
2025-11-18 10:50:50 +01:00
committed by GitHub
parent 6746fecd72
commit 62d103b44f
4 changed files with 187 additions and 26 deletions
+10 -1
View File
@@ -1,6 +1,10 @@
import { BigNumberInput } from "../totals"
import { PaymentCollectionStatus, PaymentSessionStatus } from "./common"
import { PaymentAccountHolderDTO, PaymentCustomerDTO, PaymentProviderContext, } from "./provider"
import {
PaymentAccountHolderDTO,
PaymentCustomerDTO,
PaymentProviderContext,
} from "./provider"
/**
* The payment collection to be created.
@@ -147,6 +151,11 @@ export interface CreateCaptureDTO {
* a user's ID.
*/
captured_by?: string
/**
* Whether the capture was automatically captured.
*/
is_captured?: boolean
}
/**