question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

confirmSetupIntent always return Card details not complete

See original GitHub issue

Describe the bug When I try to call confirmSetupIntent with the given params in the documentation I always get the same response:

´Card details not complete´

To Reproduce Follow the documentation here https://stripe.com/docs/payments/save-and-reuse?platform=react-native#react-native-collect-card-details

Expected behavior The card is saved on stripe

Example of my code

      const billingDetails: PaymentMethods.BillingDetails = {
        email,
      };
      const { setupIntent, error } = await confirmSetupIntent(
        setupIntentResponse.data?.client_secret as string,
        {
          type: 'Card',
          billingDetails,
        },
      );

How do I send the card data to the setupIntent?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
Sunhatcommented, Jul 1, 2021

Any luck here @fdelacruzsoto ?

2reactions
fdelacruzsotocommented, Jun 21, 2021

@thorsten-stripe did you have a chance to check my reply?

Read more comments on GitHub >

github_iconTop Results From Across the Web

@stripe/stripe-react-native
A boolean indicating whether or not the sheet was successfully closed. Will return false if the Apple Pay sheet was not open.
Read more >
confirmSetupIntent - Stripe JS Reference
Use stripe.confirmSetupIntent(clientSecret, data) to confirm the SetupIntent when you are not gathering payment information from an Element . Call this ...
Read more >
Stripe React Native Migration Function by Function - Tipsi ...
You can set dangerouslyGetFullCardDetails to true in order to have a full card number returned in the onCardChange handler.
Read more >
Stripe Android - Attach Card To Customer After Setup Intent
For entering card details i'm using stripe's default AddPaymentMethodActivityStarter . After setup intent my card is not attached to the ...
Read more >
Using Stripe for subscription services in a Flutter app | by David ...
Payment integration has always been a hot topic in Flutter. ... users to enter their card number and other details without compromising their...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found