#daniyal_api

1 messages ¡ Page 1 of 1 (latest)

fervent epochBOT
#

👋 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.

unique bronze
#

Hi, let me help you with this.

fervent epochBOT
unique bronze
#

The PaymentIntent seems to support Twint, perhaps it's not supported by the Mobile Payment Element yet. Let me check...

little barn
#

hi! I'm taking over this thread.

late tinsel
#

ok

little barn
late tinsel
#

is there a way i can accept twint payment via mobile react native or is it not possible?

little barn
#

you would need to redirect users to their browser, and then use Payment Element or Checkout Session for this.

late tinsel
#

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?

little barn
#

I don't understand. if you are using the Mobile Payment Element, then you could also use Payment Element or Checkout Session.

late tinsel
#

i am using mobile payment sheet which works with payment intent id. Can i use checkout session with same payment intent id?

little barn
#

with Payment Element, yes. with Checkout Session, no, it's a different implementation.

late tinsel
#

ok can you guide me a bit how i can use payment element in mobile?

little barn
late tinsel
#

this guide shows that i need to have a webpage i do not have that i am working in react native

little barn
#

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

late tinsel
#

so i have to build a seprate webpage for that

little barn
#

if you want to use the Payment Element, yes. for Checkout Session, the page is hosted by Stripe.

late tinsel
#

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

little barn
late tinsel
#

can i also take application fees as i can do with payment intent

late tinsel
#

okay thanks

#

These price_data and product data will create products on my stripe right?

little barn
#

yes, but they will be automatically archived.

late tinsel
#

okay thanks again because i dont want create too many non manageable products on the clients stripe account