#julius-schmid_code

1 messages ยท Page 1 of 1 (latest)

patent meadowBOT
#

๐Ÿ‘‹ 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.

plucky horizon
#

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.

velvet thistle
#

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

plucky horizon
#

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

plucky horizon
# velvet thistle And what kind of payments are you using, can you share an example ?

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
}
});

velvet thistle
#

Ok, can you share a specific example payment intent ID?

plucky horizon
#

pi_3R4jnoIeII9iCqHn16T03bxu

#

Thank you for looking into it, appreciate it :-)

velvet thistle
#

Express accounts don't have stripe dashboard access, don't use that view

plucky horizon
#

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

velvet thistle
#

the issue is that you're including capture_method=manual and Twint doesnt support that

#

so it is excluded

plucky horizon
#

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

velvet thistle
#

That might have a different issue then, if you try that i can take a look at the example

patent meadowBOT
plucky horizon
#

just did one

#

pi_3R4k0MIeII9iCqHn24Mqsvsd

#

Still didn't show twint

#

i really think it has to do something with this

velvet thistle
#

You can see it in the payment_method_types result in the response

plucky horizon
#

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

velvet thistle
#

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?

plucky horizon
#

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?

velvet thistle
plucky horizon
#

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?

rain apex
#

๐Ÿ‘‹ stepping in here as synthrider needs to step away.

#

Hmm one sec

#

What version of the Stripe iOS SDK are you using?

plucky horizon
#

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)

rain apex
#

And you are using Payment Sheet here, correct?

plucky horizon
#

Yes, correct.

rain apex
#

Can you share your client-side code snippet?

plucky horizon
#

Yes, please note that i am using the sheet through react native.

rain apex
#

Ah!

#

That's different

plucky horizon
#

In what sense

#

I can build a native module around it if needed

rain apex
#

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

plucky horizon
#

Ok, thanks

rain apex
#

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

plucky horizon
#

Ok, i see

#

But i do have the option to build a naitve module around it, right?

rain apex
#

I don't think that would work with PaymentSheet, no.

plucky horizon
#

Why not? it is native code, no?

#

Pure swift

rain apex
#

Hmmm yeah I'm not sure actually, I'm not too familiar with building native modules and how it would interact here.

plucky horizon
#

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

rain apex
#

Can't really say, sorry.