#daniyal_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/1346781345690554499
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- daniyal_api, 1 day ago, 12 messages
Hi, let me help you with this.
The PaymentIntent seems to support Twint, perhaps it's not supported by the Mobile Payment Element yet. Let me check...
hi! I'm taking over this thread.
ok
TWINT is not supported on the Mobile Payment Element: https://docs.stripe.com/payments/payment-methods/payment-method-support#bank-redirects-product-support
is there a way i can accept twint payment via mobile react native or is it not possible?
you would need to redirect users to their browser, and then use Payment Element or Checkout Session for this.
but i do not have my products on stripe and i dont want to create all of them there how i can make it happen with doing this step?
I don't understand. if you are using the Mobile Payment Element, then you could also use Payment Element or Checkout Session.
i am using mobile payment sheet which works with payment intent id. Can i use checkout session with same payment intent id?
with Payment Element, yes. with Checkout Session, no, it's a different implementation.
ok can you guide me a bit how i can use payment element in mobile?
here's our guide for the Payment Element: https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements
this guide shows that i need to have a webpage i do not have that i am working in react native
yes, that's what I said earlier:
you would need to redirect users to their browser, and then use Payment Element or Checkout Session for this.
TWINT is not supported on native mobile apps, that's why you need to redirect users to a web browser
so i have to build a seprate webpage for that
if you want to use the Payment Element, yes. for Checkout Session, the page is hosted by Stripe.
on checkout session how can i pass a variable amount without passing stripe price_id for example in 1 request i would like to charge 2 chef on another i want to charge 3 chef etc
with price_data and product_data: https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-line_items-price_data
can i also take application fees as i can do with payment intent
okay thanks
These price_data and product data will create products on my stripe right?
yes, but they will be automatically archived.
okay thanks again because i dont want create too many non manageable products on the clients stripe account