File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ elements.update({
222
222
currency : 'usd' ,
223
223
amount : 1099 ,
224
224
setupFutureUsage : 'off_session' ,
225
- captureMethod : 'automatic ' ,
225
+ captureMethod : 'automatic_async ' ,
226
226
paymentMethodTypes : [ 'card' ] ,
227
227
on_behalf_of : 'acct_id' ,
228
228
} ) ;
Original file line number Diff line number Diff line change @@ -730,14 +730,14 @@ export interface StripeElementsOptionsMode extends BaseStripeElementsOptions {
730
730
*
731
731
* @docs https://stripe.com/docs/api/payment_intents/create#create_payment_intent-capture_method
732
732
*/
733
- captureMethod ?: 'manual' | 'automatic' ;
733
+ captureMethod ?: 'manual' | 'automatic' | 'automatic_async' ;
734
734
735
735
/**
736
736
* Controls when the funds will be captured from the customer’s account.
737
737
*
738
738
* @docs https://stripe.com/docs/api/payment_intents/create#create_payment_intent-capture_method
739
739
*/
740
- capture_method ?: 'manual' | 'automatic' ;
740
+ capture_method ?: 'manual' | 'automatic' | 'automatic_async' ;
741
741
742
742
/**
743
743
* The Stripe account ID which is the business of record.
@@ -872,14 +872,14 @@ export interface StripeElementsUpdateOptions {
872
872
*
873
873
* @docs https://stripe.com/docs/api/payment_intents/create#create_payment_intent-capture_method
874
874
*/
875
- captureMethod ?: 'manual' | 'automatic' ;
875
+ captureMethod ?: 'manual' | 'automatic' | 'automatic_async' ;
876
876
877
877
/**
878
878
* Controls when the funds will be captured from the customer’s account.
879
879
*
880
880
* @docs https://stripe.com/docs/api/payment_intents/create#create_payment_intent-capture_method
881
881
*/
882
- capture_method ?: 'manual' | 'automatic' ;
882
+ capture_method ?: 'manual' | 'automatic' | 'automatic_async' ;
883
883
884
884
/**
885
885
* Instead of using automatic payment methods, declare specific payment methods to enable.
You can’t perform that action at this time.
0 commit comments