#alexzada-react-native-styling

1 messages · Page 1 of 1 (latest)

mild hedge
#

Hello! What is the code you're using to style this currently look like?

hallow karma
#

<CardForm placeholders={{ number: 'Número', expiration: 'Validade', cvc: 'CVV', }} cardStyle={{ textColor: 'C7C7C7', borderColor: 'C7C7C7', borderWidth: 1, borderRadius: 5, }} style={{ width: '100%', height: 200, marginBottom: 15, }} />

#

attributes inside cardStyle don't work

mild hedge
#

Are you testing on Android or ios?

hallow karma
mild hedge
hallow karma
#

but if it doesn't have ios support, I'll need to use another component

mild hedge
hallow karma
mild hedge
#

Are you asking specifically how to add styling to CardField, or have you already added it and are not seeing it reflected while testing?

hallow karma
#

I don't know if I made myself understood 😆

mild hedge
#

Gotcha! You want to see specifically how CardField is implemented in our library, is that correct?

mild hedge
#

Let me see if I can find it, but I'm just wondering - is there a specific reason you need this?

hallow karma
hallow karma
hallow karma
#

Is there any function in Stripe that calculates the value of each installment based on the product value and the minimum value of each installment?

mild hedge
mild hedge
#

I believe that logic lies on our server - it wouldn't be something that's available publicly

hallow karma
#

How can I handle the additional card authentication steps in the Subscription flow? With PaymentIntent I can use stripe.paymentIntents.confirm, but the Subscription api doesn't provide a confirm. I'm implementing the finalization on the server, synchronously.

torn tide
#

hey there, just hopping in for karbi

#

You need to confirm the payment intent on the subscription latest invoice

#

so if you retrieve the subscription (or on create, etc) you can use expansion to get the full invoice object:
https://stripe.com/docs/api/expanding_objects
expand[]=latest_invoice.payment_intent
Then you can confirm that payment intent, and if needed send the client_secret to the client for authentication

#

(We now recommend using the default_incomplete flow with client side confirmation, but the choice is yours!)

hallow karma
#

I don't understand very well, but I'll read it again to see if I can understand 😆

#

is the additional authentication step something that can happen depending on the client or is it something that I set as a default that all clients will have to do or that no client will have to do?

torn tide