jonasbark / flutter_stripe_payment

[DISCONTINUED] A flutter plugin with stripe payment plugin integration
MIT License
307 stars 243 forks source link

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

Open enkr1 opened 3 years ago

enkr1 commented 3 years ago

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()}');
    });
deep8292 commented 3 years ago

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

enkr1 commented 3 years ago

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

Still researching

deep8292 commented 3 years ago

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

enkr1 commented 3 years ago

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.

deep8292 commented 3 years ago

Thanks mate! I will try the same!

miguelfagundez commented 2 years ago

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!