• Resolved idunatek

    (@idunatek)


    Whenever I try to pay, I get the error message “We could not authenticate your payment method. Please select another payment method and try again.” In the stripe error message “payment_intent_authentication_failure” the billing details are empty. It happens both with the setting “Redirect customers to Stripe checkout” and without

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Paolo

    (@paoltaia)

    When Stripe throws that error, there could be a couple of reasons.

    1 The most common, the card used is not valid.

    2 There could be a javascript error on the page where the form is, that is preventing Stripe Javascript from doing its job.

    Do you see any errors in the browser console?

    If you don’t know where to look, please provide a link to the page with the form, and we will have a look.

    Thanks,

    Thread Starter idunatek

    (@idunatek)

    Thank u for the fast reply, i get these errors in the console:

    “Refused to apply inline style because it violates the following Content Security Policy directive: “style-src ‘self'”. Either the ‘unsafe-inline’ keyword, a hash (‘sha256-1bd1ss83rhoRESXnUSD+xUzVPZzKrKQPYKkWOj5TJIc=’), or a nonce (‘nonce-…’) is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the ‘unsafe-hashes’ keyword is present.”

    “[Report Only] Refused to apply inline style because it violates the following Content Security Policy directive: “style-src ‘self'”. Either the ‘unsafe-inline’ keyword, a hash (‘sha256-1bd1ss83rhoRESXnUSD+xUzVPZzKrKQPYKkWOj5TJIc=’), or a nonce (‘nonce-…’) is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the ‘unsafe-hashes’ keyword is present.”

    and

    1. {error: {…}}
      1. error:
        1. code: “setup_intent_authentication_failure”
        2. doc_url: “https://stripe.com/docs/error-codes/setup-intent-authentication-failure”
        3. message: “Wir konnten Ihre Zahlungsmethode nicht authentifizieren. W?hlen Sie eine andere Zahlungsmethode und versuchen Sie es erneut.”
        4. payment_method: {id: ‘pm_1Mg9aIHOl5IFUQKwJJV7GCha’, object: ‘payment_method’, billing_details: {…}, card: {…}, created: 1677515395, …}
        5. setup_intent: {id: ‘seti_1Mg9ZsHOl5IFUQKwWKVfQYrv’, object: ‘setup_intent’, cancellation_reason: null, client_secret: ‘seti_1Mg9ZsHOl5IFUQKwWKVfQYrv_secret_NR1dKiVWEDB1zYsuP7sSQeTMXjOeLRE’, created: 1677515368, …}
        6. type: “invalid_request_error”
        7. Prototype: Object
      2. Prototype: Object
    Plugin Contributor Paolo

    (@paoltaia)

    Did you try testing this in sandbox with a Stripe test credit card?

    If it works, the problem is with the card provider. If you get the same problem, we’ll need to follow up.

    If the problem persist, please create a ticket on our site for further support: https://wpgetpaid.com/support

    Thanks,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Failed Authentication “payment_intent_authentication_failure” with Mastercard’ is closed to new replies.