#julius-schmid_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/1352276603958333493
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
This is the thing I see in my dashboard. Also the default should be on ("an" in german) and not off ("aus"). And it is in fact on as default in my parent account as you can see in the second image.
hey there, can you share an example connected account ID?
In your platform account, whats the dashboard URL you're looking at there?
And what kind of payments are you using, can you share an example ?
Since you're creating Express accounts, they don't have payment method settings to modify, that's entirely platform controlled, and which settings apply depend on whether your destination payments are using on_behalf_of or not
Ok, so this is an example connected account id: acct_1PlaWqIkvXiP1WiQ
Ok i see but whats weird is that i checked this setting to not let them override (seems that they can not even the other way as you say) and it still says something like "use parent setting (off)" even though in my parent account "TWINT" is on
yes, something like this
const paymentIntent = await stripe.paymentIntents.create({
amount: startAmount,
currency: currency_code,
customer: customerId,
description: "KARUSO: The Rotating Bike Park System",
receipt_email: customer.email,
application_fee_amount: KARUSO_FEE_AMOUNT,
automatic_payment_methods: {
enabled: true
},
capture_method: 'manual',
transfer_data: {
destination: stripe_connected_account_id
},
metadata: {
userId: userId,
karusoId: karusoId,
doorId: doorId,
rateId: rateId
}
});
Ok, can you share a specific example payment intent ID?
pi_3R4jnoIeII9iCqHn16T03bxu
That is the way i am accessing the dashboard. This is the resulting link: https://dashboard.stripe.com/acct_1PlaWqIkvXiP1WiQ/test/dashboard
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Thank you for looking into it, appreciate it :-)
Express accounts don't have stripe dashboard access, don't use that view
ok i see
but why does it disable twint by default as i shared in the earlier screens
it is on on my main account
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
the issue is that you're including capture_method=manual and Twint doesnt support that
so it is excluded
I am not sure that this is it as it didn't work with automatic capture when i tested it a few weeks ago
One moment i will try to make such an request...
That might have a different issue then, if you try that i can take a look at the example
just did one
pi_3R4k0MIeII9iCqHn24Mqsvsd
Still didn't show twint
i really think it has to do something with this
This payment method does include twint: https://dashboard.stripe.com/test/logs/req_hfmXKIMxrPOXLy
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
You can see it in the payment_method_types result in the response
But why doesn't it display it in my app? How can i make sure that it is shown? Possibly without removing automatic payment methods...
When you say app, can you be more precise?
Are you refering to a mobile app using our android/ios SDKs, or a web app using Stripe.js/ELements?
Mobile iOS App
Using the stripe sdk
I have apple pay setup also but is there a way so the user sees the apple pay button and the twint button?
Ah, ok, then unfortunately the issue is that Twint isn't yet supported on the mobile payment element: https://docs.stripe.com/payments/bank-redirects#product-support
Not just one of the payment methods
let me check
ohh
ok
Is there any way to work around this?
This is really important for the markets we are going into
like redirecting the user to a web checkout?
๐ stepping in here as synthrider needs to step away.
Yeah the best way to handle this is going to be to create a separate button in your app for Twint and then you would create a Twint PaymentMethod server-side and create/confirm the PaymentIntent with that PaymentMethod and show a webview in your app to handle the authentication.
Basically this flow: https://docs.stripe.com/payments/twint/accept-a-payment?platform=web&ui=direct-api#handle-redirect
Hmm one sec
What version of the Stripe iOS SDK are you using?
Wait a sec i am looking it up
The following are the versions i use:
Stripe (23.28.3):
- StripeApplePay (= 23.28.3)
- StripeCore (= 23.28.3)
- StripePayments (= 23.28.3)
- StripePaymentsUI (= 23.28.3)
- StripeUICore (= 23.28.3)
And you are using Payment Sheet here, correct?
Yes, correct.
Can you share your client-side code snippet?
Yes, please note that i am using the sheet through react native.
I do see that Twint is supported in our iOS SDK but that doesn't mean it is yet supported for React Native
Let me check
Ok, thanks
Yep, doesn't look like it is yet supported for React Native which is why you aren't seeing it.
So we are back to my previous statement
I'd recommend handling this server-side and using a Webview for now
The other thing you can do is file an issue on https://github.com/stripe/stripe-react-native with your desire to get it added. Or if you are really interested you could look to put up a PR there to get it added but not sure about the actual feasability for that (not sure if we need to make internal changes as well here).
I don't think that would work with PaymentSheet, no.
Hmmm yeah I'm not sure actually, I'm not too familiar with building native modules and how it would interact here.
ok
One last question
If i would add it via pr what is the typical time to implement this? Given there is already an ios and android implementation
Can't really say, sorry.