-
-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add auto-capture functionality to Stripe integration
With this commit, the Solidus auto-capture feature has been incorporated into the Stripe integration through the use of the auto_capture flag in the Spree::PaymentMethod base model. Stripe `capture_method` is now auto configured during the intent creation with "manual" or "automatic" based on the auto_capture flag in the related payment method. More information can be found in the Stripe documentation: https://stripe.com/docs/api/payment_intents/object#payment_intent_object-capture_method
- Loading branch information
1 parent
265aa6e
commit d465a72
Showing
3 changed files
with
34 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters