#diarra
1 messages · Page 1 of 1 (latest)
hi! it would depend exactly which interface you are referring to, we have multiple frontends, they should all be customisable to various extents.
okay I use this function to display my interface : Future<void> makePayment() async {
try {
paymentIntent = await createPaymentIntent('100', 'USD');
//STEP 2: Initialize Payment Sheet
await Stripe.instance
.initPaymentSheet(
paymentSheetParameters: SetupPaymentSheetParameters(
paymentIntentClientSecret:
paymentIntent!['client_secret'], //Gotten from payment intent
style: ThemeMode.dark,
merchantDisplayName: 'Mon shopper',
))
.then((value) {});
//STEP 3: Display Payment sheet
displayPaymentSheet();
} catch (err) {
throw Exception(err);
}
}
so to be clear, that is our PaymentSheet component in our Android SDK
yes
you can customise it by passing the appearance option, there's docs at https://stripe.com/docs/elements/appearance-api?platform=android
I would also like to add a field there for the name of the cardholder to be written
ok thank i'm going this