#dirtyred_api
1 messages ยท Page 1 of 1 (latest)
๐ 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.
Hi there
hello
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
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/
ok - is it ok to ask additional questions regarding the iframe hosting the stripe elements?
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
You can configure it to only accept a single payment method, which will make it only show those input fields and no other options.
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 ! ๐
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?
yea i would be using a paymentintent serverside and getting a client secret in return
up front, not later in the flow
You can configure the payment_method_types on the Payment Intent to only include card: https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_types
excellent thank you
Happy to help!
hello again,
so this function is no longer supported?
Stripe.card.createToken({number:ccn, cvc:cvv, exp_month:exm, exp_year:exy}
That's a legacy approach we do not recommend.
That won't work for a lot of modern card payments.
got it - thank you for the clarification