How to hide Cash App Pay and Klarna from Flutter Stripe payment sheet #1665
Unanswered
alishaircodercrew
asked this question in
Q&A
Replies: 2 comments
-
@alishaircodercrew did you find any solution ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can disable the cash app from the stripe dashboard https://dashboard.stripe.com/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Map<String, dynamic> _paymentIntent = {};
This line declares a map _paymentIntent that will hold the payment intent information fetched from the server. It's initially empty.
This function makePayment initiates the payment process. It first creates a payment intent using the createPaymentIntent function, then initializes the Payment Sheet using the obtained client secret. Finally, it displays the Payment Sheet.
This function displayPaymentSheet actually presents the Payment Sheet to the user. It shows a dialog indicating whether the payment was successful or failed based on the response from the Payment Sheet.
Beta Was this translation helpful? Give feedback.
All reactions