#nirav-rathod_code
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/1318139284485570590
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
๐ happy to help
I have my own UI for creating oayment intent. In that I am taking card details such as cardNumber, cvc, expired month and all.
So how can I manage that for creating payment_method
you're not using Stripe.js?
From the frontend I have mobile application. In that they are providing me cardNumber, cardHolderName, Wpiry and cvc from that I want to create payment intent
in that case you need to use the mobile elements (aka PaymentSheet)
you can either use react native or the native iOS and Android SDKs
No i don't want to use elements I have my own UI from that only I want to make payments
if you're PCI compliant you can't use your own UI
What if I want to use my own UI
you need to be PCI compliant and then contact https://support.stripe.com/?contact=true to check if you're eligible or not
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
you need to get PCI Compliance certification
and then contact https://support.stripe.com/?contact=true
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
we don't provide help with that
if you need more info you can contact https://support.stripe.com/?contact=true
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Okay.
how may I help?
just to explain you the scenario may I share a video?
I understand your scenario
you want to use your own UI components on the mobile
and based on the entered data you want to create a Payment Method to confirm a PaymentIntent
unless you're PCI compliant you can't use your own UI
It's a mobile app that we are building. Somwthing like https://paymentforstripe.com/ , on this website I can't see if they are PCI compliant but they are stripe verified partner.
Just want to understand what exactly is the restriction
the restriction is the PCI compliance
if you're talking about the screenshot, then the error message explains what's happening, you're using a magic string that only works in test mode while confirming a PaymentIntent in live mode
Okay, if we remove our UI and redirect to stripe hosted checkout it should work right?
Yes I am talking about the screenshot.
what do we need to do for live mode then?
we don't recommend it in a mobile app
I've shared with you the mobile PaymentSheet which is the right way to integrate with Stripe in a mobile app
if you're just targeting mobile websites then yes feel free to use Stripe Checkout in that case
we are not targeting the mobile sites, its a flutter mobile app.
there are community libraries that use PaymentSheet for flutter
sure