#dirtyred_api

1 messages ยท Page 1 of 1 (latest)

sharp ermineBOT
#

๐Ÿ‘‹ 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/1303133098946465866

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

stable mural
#

Hi there

lusty mesa
#

hello

stable mural
#

No, it's not possible to do this without being PCI compliant

lusty mesa
#

so there is no way to pass information to your frontend js? it has to be html input elements hosted by you via iframe?

#

we dont plan on storing anything - for example, Authorize.net allows us to create the forms however we want, then we call their js to get a token for processing, then use that token for all further communication and we dont store anything server or browser side or via logs

stable mural
#

Got it. You can use Stripe.js without Elements but that requires PCI compliance. I recommend reaching out to our Support team about your use case in case there are alternatives: https://support.stripe.com/contact/

sharp ermineBOT
lusty mesa
#

ok - is it ok to ask additional questions regarding the iframe hosting the stripe elements?

ionic zenith
#

Hello! I'm taking over and catching up...

#

Yep, you can ask other questions!

lusty mesa
#

is it possible to hide the additional payment types shown in the accordion inside the elements iframe? We are very particular about our checkout flow look and need a very basic input form that we can customize entirely

#

we are only interested in processing credit card transactions

ionic zenith
#

You can configure it to only accept a single payment method, which will make it only show those input fields and no other options.

lusty mesa
#

ok that sounds good, thank you very much

could i bother you to point me to that setting in the documentation?

i appreciate your very quick help.

#

best developer help ive ever encountered ! ๐Ÿ™‚

ionic zenith
#

It depends on how you're integrating. Are you creating a Payment Intent up front and using the client secret, or are you creating the Payment Intent later in the flow?

#

Or something else?

lusty mesa
#

yea i would be using a paymentintent serverside and getting a client secret in return

#

up front, not later in the flow

ionic zenith
lusty mesa
#

excellent thank you

ionic zenith
#

Happy to help!

lusty mesa
#

hello again,

so this function is no longer supported?

Stripe.card.createToken({number:ccn, cvc:cvv, exp_month:exm, exp_year:exy}
ionic zenith
#

That's a legacy approach we do not recommend.

#

That won't work for a lot of modern card payments.

lusty mesa
#

got it - thank you for the clarification