forked from solidusio/solidus_stripe
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This method is now the preferred way in Solidus for canceling a payment and supersedes the old #cancel method. If a payment for a Payment Intent was captured, it cannot be cancelled anymore, but needs to be refunded. For this refund we're using the default order cancel reason named after `Spree::Payment::Cancellation::DEFAULT_REASON`.
- Loading branch information
1 parent
09a2633
commit b0b1a8d
Showing
2 changed files
with
59 additions
and
1 deletion.
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