Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
enkr1 opened this issue Jun 14, 2021 · 6 comments
Open

Comments

@enkr1
Copy link

enkr1 commented Jun 14, 2021

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 enkr1 changed the title [URGENT] How to customize the layout of CardFormPaymentRequest pop-up? [URGENT] How to customize the layout of paymentRequestWithCardForm pop-up? Jun 14, 2021
@deep8292
Copy link

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

@enkr1
Copy link
Author

enkr1 commented Jun 16, 2021

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

Still researching

@deep8292
Copy link

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

@enkr1
Copy link
Author

enkr1 commented Jun 18, 2021

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
Copy link

Thanks mate! I will try the same!

@miguelfagundez
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants