-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ACSS: Handle errors and edge cases (#3870)
* PoC: Add ACSS Debit payment method * Work around deferred intents * Changes required for ACSS * Some code cleanup for ACSS * Only mount UPE when the payment element is selected on the classic checkout * Refactor create intent and mandate options * Refactor payment processing * Cleanup * Fix PHP lint issue * Fix JS lint errors * Fix PHP unit tests * Fix missing customer and metadata from PI * Standardizing feature flag condition in direct debit PMs * Fix icon * Add tests / Fix tests * Handle "payment_intent.processing" webhooks. * Add unit test to payment_intent.processing * Add ifs for better coverage * Fix PHP lint issue * Update client/stripe-utils/utils.js Co-authored-by: César Costa <[email protected]> * Update includes/class-wc-stripe-intent-controller.php Co-authored-by: César Costa <[email protected]> * Fix restrict payment method to country * Conditional payment intent creation based on supports deferred intent flag * Submit PI id to checkout * Add link to issue for "wc-stripe-is-deferred-intent" * Fix PE fonts in blocks checkout * Implement loading mask to PM while PI ID isn't available * Add issue about error handling when creating an intent * Display error message when the intent creation fails in the classic checkout * Display error when PI fails to be created * Prevent retrying payments for specific error codes * Add changelog entries * Enhance error handling for payment methods and improve user feedback * Add error handling for payment processor load issues in blocks * Refactor payment processor error handling to display error messages conditionally * Move container check to beginning of function --------- Co-authored-by: Wesley Rosa <[email protected]> Co-authored-by: César Costa <[email protected]>
- Loading branch information
1 parent
0c51fcc
commit df8249c
Showing
8 changed files
with
200 additions
and
38 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
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
Oops, something went wrong.