flutter_stripe_payment icon indicating copy to clipboard operation
flutter_stripe_payment copied to clipboard

[URGENT] How to customize the layout of paymentRequestWithCardForm pop-up?

Open enkr1 opened this issue 3 years ago • 6 comments

what I wanna achieve is customizing the pop-up of filling up the credit card details such that the user can input a name, address, etc. as well as the "Save" button's text.

PaymentMethod paymentMethod = PaymentMethod();
    paymentMethod = await StripePayment.paymentRequestWithCardForm(
      CardFormPaymentRequest(),
    ).then((PaymentMethod paymentMethod) {
      return paymentMethod;
    }).catchError((e) {
      log('Errore Card: ${e.toString()}');
    });

enkr1 avatar Jun 14 '21 08:06 enkr1

Hi @enkr1 , I am also looking for same, did you manage to update the UI?

deep8292 avatar Jun 15 '21 06:06 deep8292

Hi @enkr1 , I am also looking for same, did you manage to update the UI?

Still researching

enkr1 avatar Jun 16 '21 03:06 enkr1

Okay, let me know if you find anything and I will do the same If find anything. Cheers!

deep8292 avatar Jun 16 '21 05:06 deep8292

Okay, let me know if you find anything and I will do the same If find anything. Cheers!

I found an alternative solution which is using https://pub.dev/packages/flutter_credit_card to create a card first then, proceed to create the payment method and so.

hopefully it helps.

enkr1 avatar Jun 18 '21 03:06 enkr1

Thanks mate! I will try the same!

deep8292 avatar Jun 18 '21 15:06 deep8292

Okay, let me know if you find anything and I will do the same If find anything. Cheers!

I found an alternative solution which is using https://pub.dev/packages/flutter_credit_card to create a card first then, proceed to create the payment method and so.

hopefully it helps.

Great!! Thank you.. I could implement it like you mentioned and the result was really good! Thank you!

miguelfagundez avatar Jul 21 '21 17:07 miguelfagundez