Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Payment failed webhook handler ignores IPP payment method #9220

Closed
mgascam opened this issue Aug 6, 2024 · 1 comment · Fixed by #9198 or #9705
Closed

Payment failed webhook handler ignores IPP payment method #9220

mgascam opened this issue Aug 6, 2024 · 1 comment · Fixed by #9198 or #9705
Assignees
Labels

Comments

@mgascam
Copy link
Contributor

mgascam commented Aug 6, 2024

Describe the bug

The method that handles the payment_intent.payment_failed webhook takes not action when the payment method is specified as 'card_present'.

As a consequence, there is no note added to the order informing the merchant of the failure and the order status does not change to Failed

To Reproduce

  1. Place an order using Woocommerce mobile app
  2. Try to capture it in a way that triggers a payment_failederror.

Actual behavior

The order does not transition to failed status. There is no note added to the details of the order informing the merchant of the error.

Expected behavior

The order transitions to failed status. A note is added to the order informing the merchant of the error.

Additional context

We need to add the card_present payment method to the array of actionable payment methods in process_webhook_payment_intent_failed method.

@mgascam
Copy link
Contributor Author

mgascam commented Nov 12, 2024

@mgascam mgascam linked a pull request Nov 12, 2024 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants