• Resolved manwithpowers

    (@manwithpowers)


    Stripe’s documentation for testing a successful/failed payment using SOFORT states:

    You can mimic a successful or failed charge by creating a test source with one of the following values for the owner[name] parameter. Use this source to create a test charge that either succeeds or fails.

    succeeding_charge: The charge status transitions from pending to succeeded
    failing_charge: The charge status transitions from pending to failed

    Unfortunately, I’ve found no way to input this, as both the frontend checkout form for WooCommerce/Storefront and the backend get_owner_details function require a First and Last Name and I’m unable to enter in Stripe’s requested owner name. Even when I’m able to get around the First and Last Name validation check on the frontend form, the get_owner_details function adds a blank space (Line 517 in abstract-wc-stripe-payment-gateway.php).

    Is there a method for testing a successful/failed SOFORT charge? Is there some way to allow for using a test owner[name] when Stripe is in Test Mode? I’m open to any suggestions, we just need a relatively easy way to thoroughly test the SOFORT payment path.

    • This topic was modified 6 years, 5 months ago by manwithpowers.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Need method for testing succeeded/failed payments with SOFORT’ is closed to new replies.