#diarra

1 messages · Page 1 of 1 (latest)

idle runeBOT
trail crypt
#

hi! it would depend exactly which interface you are referring to, we have multiple frontends, they should all be customisable to various extents.

naive wasp
#

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

}

trail crypt
#

so to be clear, that is our PaymentSheet component in our Android SDK

naive wasp
#

yes

trail crypt
naive wasp
#

I would also like to add a field there for the name of the cardholder to be written

naive wasp
#

ok thank i'm going this