#Natalia90

1 messages · Page 1 of 1 (latest)

heavy horizonBOT
noble vault
#

Hi! Let me help you with this.

#

Are you looking to embed a 3DS pop-up or an Invoice?

dense sinew
#

in general, we are looking to display any kind of problem that can appear during payment. The most frequent error we get is 3D secure checks

#

the url is taken from stripe event invoice.finalized, so maybe we need Invoice, rather than 3DS

noble vault
#

I am not quite following. Hosted Invoices are very different from 3DS pop-up. I don't think you can put them in one category like this.

#

Could you please share more details about your integration, because I feel like you might be going into a wrong direction.

dense sinew
#

ok, I will try to. In the application we can attach payment methods (using Card Elements). Later, we can buy subscription plan, using the card attached. However, some of the cards require additional verification (3DS), and the payment is not fulfilled. We would like to display in iframe once situations like this occur. On the backend, there is an event listener that takes the event invoice.finalized and returns url like this if the problem occurs: https://invoice.stripe.com/i/acct_id/test_id?s=ap

I am a frontend deleloper, and unfortunately not familiar with the whole process of listening to events, and what exactly is returned

noble vault
#

If you collect the payment method details in the proper way, they will be set up for off-session payments. Meaning, 3DS will be not required.

#

How do you "attach payment methods" now?

dense sinew
#

the problem is not with the collection of the payment

#

the problem is with the display of stripe urls as ifrmaes

#

iframes

noble vault
#

If 3DS is required when you charge the card it means it is not collected properly.

#

If you set up the PM with SetupIntents, 3DS will not be required and you will not have to invent a workaround.

dense sinew
#

I am using your test card to test all cases : 4000002760003184

#

3DS is just an example, there may be other kind of problem: not enough money on the card, etc.

#

I would like to display the url that has been returned from stripe event in the iframe

#

I can redirect the user to another tab in window, but that's not what we would like to do

noble vault
#

"Manage failed payments" > "Customer emails"

#

Stripe will take care of collecting the new PM then.

dense sinew
#

That's also not suitable

#

Do you have information if the Stipe urls can be opened in iframe? I suspect that there are some additional security that does not allow that (at least not with the checkout), however I cannot find anything on Invoices or 3DS or other issues

noble vault
#

No, it's not designed for iframes.

noble vault
dense sinew
#

I asked developers about more information on how the PM are set, maybe there is some issue

#

I am asking about the iframe, as it is a requirement of the client, to display any kind of issue with payment in iframe

noble vault
#

This is wrong and will not work. Why would the client prescribe something like this without knowing the technical aspects of the project?

#

In any case, what you can do is take the customer to a page where they can set up a new Payment Method if the old one fails.

dense sinew
#

I am not sure, I do not have much to say during the decision making. In case it is not possible (the iframe solution), I will give the feedback to the client, we will double check that the PM is collected properly (to eliminate all the issues), and maybe that will be sufficient.

noble vault
dense sinew
#

ok, thank you for you help 🙂

noble vault
#

Happy to help!