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

ACH: Raw variable dump appears in customer error message when retrying a payment #3991

Open
rafaelzaleski opened this issue Feb 27, 2025 · 0 comments · May be fixed by #4039
Open

ACH: Raw variable dump appears in customer error message when retrying a payment #3991

rafaelzaleski opened this issue Feb 27, 2025 · 0 comments · May be fixed by #4039
Assignees
Labels
component: LPMs/APMs Issues related to LPMs/APMs type: bug The issue is a confirmed bug.

Comments

@rafaelzaleski
Copy link
Contributor

Describe the bug
When retrying a failed ACH payment, a raw variable dump appears in the customer error message. This issue occurs in both the Blocks and Shortcode checkouts.

To Reproduce
Steps to reproduce the behavior:

  1. Attempt to pay with ACH using the test account 000777777771 and routing number 110000000. The payment should fail.
  2. Without refreshing the page, retry the payment using the account 000000000009 and routing number 110000000.
  3. Observe that the error message includes a raw variable dump.

Note: These test accounts are from Stripe’s documentation: Testing ACH.

Expected behavior
On the second attempt, the payment should be processed successfully without displaying a raw variable dump in the error message.
If an error message is displayed, it must be useful for the shopper.

Screenshots

Screen.Recording.2025-02-27.at.08.57.38.mov

Environment (please complete the following information):

  • WordPress 6.7.2
  • WooCommerce 9.7.0

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: LPMs/APMs Issues related to LPMs/APMs type: bug The issue is a confirmed bug.
Projects
None yet
1 participant