#hans-as_sepa-debit-confirmation-failure

1 messages · Page 1 of 1 (latest)

sudden shoreBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1222101560398581810

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

hollow treeBOT
devout crag
haughty glen
#

Hey Jack, thank you for your suggestion but CSP has already been set correctly in our application. Every other payment method is working as expected (at least we tested cards and PayPal).
It seems Stripe is blocking loding the page needed for SEPA payments in a frame. Please see screenshot attached!

sudden shoreBOT
peak bay
#

Stepping ion here. Can you confirm the function/code you're using that initialises the API calls that return the CP errors?

#

If you can share the full code that would be helpful

haughty glen
#

the interesting part is:

console.log('now confirming payment');
const { error } = await stripe.confirmPayment({
  elements,
  clientSecret,
  confirmParams: {
    return_url: ourReturnUrl,
  },
 });
console.log('done confirming payment');

The problem is we never reach the "done confirming payment" message

peak bay
#

Can you share all the code including the handler that invokes that function?

#

Every other payment method is working as expected (at least we tested cards and PayPal).
Likely expected as neither of those are redirect PMs

haughty glen
peak bay
#

What is a 'Stimulus Controller'?

haughty glen
#

https://stimulus.hotwired.dev/ is the framework we use to develop our client side Javascript. In general the connect() method is called when opening the payment form and onSubmit() is called when the form is submitted.

peak bay
#

You're probably best off writing in to my team so we can take a deeper look at your issue: https://support.stripe.com/contact/email?topic=api_integration

Worth noting that we don't have first-class support for Stimulus so there might be compatibility issues there. If you can include the link to your code and the CSP policies you configured that'll be great!

haughty glen
#

ok sure, will do that. As I said earlier, the integration was working before and last night it broke out of the blue 😕

peak bay
#

Yeah there's no reports of widespread CSP issues here so unlikely to be something at our end

haughty glen
#

understood. Thank you for your help!

worn kettle
#

Hey, we also get this issue from Stripe's end

haughty glen
#

Hey GazalaM, have they been introduced in the last 12 hours, too?

worn kettle
#

Yes, exactly

vapid vessel
#

From 7pm Yesterday Berlin time (CEST)

worn kettle
#

@peak bay Is there a way to escalate this issue?

peak bay
#

To confirm this is happening on test mode SEPA payments with the Payment Element?

#

@worn kettle have you also configured CSP rules?

haughty glen
worn kettle
#

For us, we noticed it on Live mode as well, right @vapid vessel?

peak bay
#

Is there somewhere I can reproduce this issue?

#

My tests redirect fine. If you can share a pi_xxx ID too

vapid vessel
#

yes on live mode as well. You can test it for a while at www.finn.com/de-DE (try checkout till payment submission)

peak bay
#

OK, I can reproduce now. Escalating

hasty sandal
#

Hi, just want to add we at mieterengel also have the same problem in production and staging. Only for sepa, all other payments work for us so far.

We noticed that we are using an older version of stripe-js and react-stripe-js and are currently testing if using the newest version fixes the problem for us. Can any dev from another company tell us if you are using the newest major version or also something older when experiencing this problem?

haughty glen
peak bay
#

We're working on fixing the issue – will report back once addressed. Appreciate your patience

sudden shoreBOT
#

hans-as_sepa-debit-confirmation-failure

willow veldt
#

Happy to share that this should be fixed now