Expo And Stripe | Handling Card Payments | React Native

Поділитися
Вставка
  • Опубліковано 12 гру 2024

КОМЕНТАРІ • 87

  • @Puneet352
    @Puneet352 3 роки тому +4

    U r the best instructor ever. Your old fan 👍😬

  • @richardogujawa-oldaccount1336

    Thank you!
    Also if anyone is trying to use express but also gets that import error when they try and do ru the 'nodemo index.js' command in the terminal, another way to do it would be just rewording the import from this --> import express from 'express' ... to this --> const express = require('express')

  • @geekthegeek730
    @geekthegeek730 3 роки тому +5

    Stripe has recently added support for UPI payment. In India UPI payrments are very popular. Although i went through their documentations. I was not able to implement that. I would really be happy, if you can provide some guidance there ( may be some sample code or a video ). Your videos are very helpful to me. Thank you for bringing value to this community.

  • @michaelchambers236
    @michaelchambers236 Рік тому +2

    Payment Confirmation Error Network request failed.
    What should you use for API_URL in physical device vs simulator vs production app?

  • @reidhommedahl2180
    @reidhommedahl2180 2 роки тому +2

    Thanks for the vid. Should I setup the server folder in a separate VS code project than the client side?

  • @medfountapp374
    @medfountapp374 3 роки тому +5

    Great Video. Quick question - How does the deployment works for server for iOS and Android? Does the server part is deployed separately?

    • @arbabhassan1135
      @arbabhassan1135 9 місяців тому

      Yes! the API server is deployed separately.

  • @Daysinn20
    @Daysinn20 3 роки тому +1

    You saved my life

  • @TheLonare
    @TheLonare 3 роки тому +1

    Do you have any tutorial about how to integrate Apple Pay with stripe?

  • @prekenful
    @prekenful 2 роки тому +1

    Thank you for video. I love you vs settings. Can you tell me the template and font used on your configuration vscode?

  • @teodordimitrov7062
    @teodordimitrov7062 4 місяці тому

    Very nice tutorial. Thank you.

  • @giovanniotr8657
    @giovanniotr8657 2 роки тому +1

    worked perfectly, thank

  • @atakpuikhide45
    @atakpuikhide45 3 роки тому +1

    Does this work on react native web? because I need to make this work on all platforms

  • @Gustavo-bi4hv
    @Gustavo-bi4hv 2 роки тому

    Could I place the StripeProvider only arround the component that handle the payment/card information instead of be on ?

  • @muneebahmad973
    @muneebahmad973 3 роки тому +4

    Payment confirmation error please provide cardDetails token or payment method id,, do you have the solution of this error ?

    • @aliraxa198
      @aliraxa198 2 роки тому

      Need to send token to payment intent you get from stripe expo front end

  • @sourabhvaishnav8235
    @sourabhvaishnav8235 Рік тому +1

    For those who are still struggling with :
    "Payment Confirmation error You must provide cardDetails.....
    as per new Doc -
    type: 'Card'
    has been changed now. it's now
    paymentMethodType: 'Card'
    this will solve.
    -----------------------
    if you're getting network error...kindly change the localhost with your IP.
    & Why the people at all the libraries/frameworks keep playing with whatever they once made, i don't understand. 🤓

    • @Goutham-qd6ly
      @Goutham-qd6ly 11 місяців тому

      I used that param, but still getting same error? Did you solve it?

  • @FaysalBDev
    @FaysalBDev 2 роки тому +1

    nice one bro, massive thanks

  • @sungkim1830
    @sungkim1830 3 роки тому +6

    Hi I use firebase for the backend, and I am trying to integrate stripe. Can I follow your way to integrate stripe in my project?
    Thank you for making video!

    • @emeksthecreator
      @emeksthecreator 2 роки тому +1

      I think you should use firebase cloud functions to setup your server

  • @skilllearn904
    @skilllearn904 2 роки тому +1

    thanks for the amazing video i have quarry i am devloping my project recat native app and i want to make user side and admin side app in one app i have to login admin app using firebase can you tell me how to do it once again thank you for the tutorials

  • @martinmendez695
    @martinmendez695 Рік тому

    what VS code extension has the "imrnfc" snippet?

  • @johncmm9759
    @johncmm9759 Рік тому

    Hey man great stuff! I'm making an app to publish is it okay if I use some of the code in this tutorial?

  • @umarmughal5554
    @umarmughal5554 3 роки тому

    Will this be accepted by apple as payment method in cross to in app-purchases?

  • @hallexcosta
    @hallexcosta 3 роки тому

    Good evening Ensure Programmer, can you let me know if stripe allows me to make payouts from a credit card to another card that belongs to a customer?

  • @malika2082
    @malika2082 2 роки тому

    I am working with expo and firebase. Will this video be helpful for me?

  • @lucasolari92
    @lucasolari92 3 роки тому

    Hello, why are you using expo sdk 41 insted of 42 ? I tried following this tutorial with expo 42 but it seems not working properly. Any suggestion?

  • @rvmelo
    @rvmelo 2 роки тому

    how can you control the value the client will pay with his card? Let's suppose I want the cliente to choose between 25 dollars or 50 dollars

  • @arupde6320
    @arupde6320 3 роки тому +1

    plz show how to do subscription based payment .. in app purchase ..

  • @nataliasuarez5600
    @nataliasuarez5600 3 роки тому

    Hi! I have been trying to aplly your method, but when I try to run my app, it send this error:
    "The project's Babel config is invalid: C:\Users
    atu9\Desktop\PROYECTO FINAL\Wallet\client\babel.config.js: Error while loading config - You appear to be using a native ECMAScript module configuration file, which is only supported when running Babel asynchronously."
    Why?

  • @tanvimutha4049
    @tanvimutha4049 2 місяці тому

    I got error LOG [TypeError: Network request failed] could you please help me with it. Thanks

  • @prabeshkhati4398
    @prabeshkhati4398 2 роки тому

    Thanks a lot for this video

  • @livandiaz6425
    @livandiaz6425 Рік тому

    Hi,I get this error (SyntaxError: JSON Parse error: Unrecognized token '

  • @AliHassan-yc2tc
    @AliHassan-yc2tc 2 роки тому

    Can we use in react-native-cli?

  • @kavint1095
    @kavint1095 8 місяців тому

    i am getting payment confirmation error:null in sdk 50,how to solve it

  • @vineethemmanuel2967
    @vineethemmanuel2967 3 роки тому

    Please make a video on picking image and uploading it to expo please !!

  • @kamrul91111
    @kamrul91111 3 роки тому +1

    Hey, amazing tutorial. I followed the whole tutorial but when I press pay it keeps showing Network request failed. I cloned your repo as well and it returns the same issue. All keys are in place and I have tried both HTTP and HTTPS. Do you know whats happening?

    • @UnsureProgrammer
      @UnsureProgrammer  3 роки тому +1

      Are you using the correct api keys?

    • @kamrul91111
      @kamrul91111 3 роки тому

      @@UnsureProgrammer yes. Taken straight from my stripe dashboard.

    • @UnsureProgrammer
      @UnsureProgrammer  3 роки тому +1

      @@kamrul91111 depending on your country you may have to use the keys from the stripe docs. IF you open the docs for accepting a payment - you'll find they are using a set of test keys there. Just copy those.

    • @kamrul91111
      @kamrul91111 3 роки тому +3

      @@UnsureProgrammer I figured out the network request failed issue. On Android, 'localhost' is a reserved word and that's why it was not working. I just had to replace that with my local machine's IP address, in case anyone is having issues on android. However, now I get the following error whilest trying to make payment: "Payment Confirmation error You must provide cardDetails, token or paymentMethodid."' On my Stripe dashboard though, the payment comes as successful. Why is it showing this error on client side?

    • @rrich6547
      @rrich6547 3 роки тому +1

      @@kamrul91111 I am getting the same error on my android devices iOS works fine, mine are failed on the dashboard as "Incomplete" "PaymentIntent status:
      requires_payment_method" haven't been able to solve it.

  • @gleymidia6422
    @gleymidia6422 3 роки тому +1

    Payment Confirmation Error You must provide cardDetails, token or paymentMethodId Does anyone know how to resolve this error

    • @muneebahmad973
      @muneebahmad973 3 роки тому

      have you solved it? kindly share the details

    • @Daysinn20
      @Daysinn20 3 роки тому

      Have you resolve?
      Edit: resolve with update Expo 42

  • @christopherchantulo3584
    @christopherchantulo3584 2 роки тому

    Hallo. Wonderful tutorial. I have followed through this in my application, but i get this error from the useConfirmPayment hook: TypeError: _NativeStripeSdk.default.confirmPayment is not a function. Where am i getting it wrong?

    • @jordanlopez7145
      @jordanlopez7145 2 роки тому

      There might be a misspelling in the code

    • @michaelchambers236
      @michaelchambers236 Рік тому

      I am getting same issue. Did you ever find the resolution?

    • @michaelchambers236
      @michaelchambers236 Рік тому

      This was my own mistake. See if yours is the same issue.
      const { useConfirmPayment, loading } = useConfirmPayment();
      should be:
      const { confirmPayment, loading } = useConfirmPayment();

  • @gaurav63105
    @gaurav63105 3 роки тому

    Kindly do one with plaid also, required for bank transfers

  • @AliRaza-nm3eu
    @AliRaza-nm3eu 2 роки тому

    I am gee=tting this error at timme of payment process completed, "You must provide PaymentMothodType"
    can anyone help me ?

    • @mattgordon4141
      @mattgordon4141 2 роки тому +1

      the expo stripe modeule has changed. Change type:"Card", to paymentMethodType: "Card",

  • @dharasapariya1577
    @dharasapariya1577 Рік тому

    I'm getting network error
    how can I soul this ?

    • @ninaunforgettable3800
      @ninaunforgettable3800 Рік тому

      maybe u already found the answer , but would benifits others maybe , in this case react cannot directly access ur server using the local house , either u install cores that will allow connection between two servers , or use ur machine ip

  • @ShahidShabir-xp5lk
    @ShahidShabir-xp5lk Рік тому

    "Payment Confirmation Error: You must provide paymentMethodType,"
    When I upgrade Expo and Stripe also.

    • @Goutham-qd6ly
      @Goutham-qd6ly 11 місяців тому

      I've been struggling with this error for quite a long time. what i did is..
      First thing your api logic should be like this
      const paymentIntent = await stripe.paymentIntents.create({
      amount : Math.round(10*100),
      currency:"INR",
      automatic_payment_methods: {
      enabled: true,
      },
      // payment_method_types:["card"],
      metadata:{name:"somename"}
      });
      and then as we are from India, i figured out that the test card "4242 4242 4242 4242" is not working , this is for usa,
      but for india you have enter ""4000 0035 6000 0008" , then it should work, and worked for me too.

  • @sweekark
    @sweekark 3 роки тому

    very nice

  • @michaelchambers236
    @michaelchambers236 Рік тому

    I am getting stuck on error: "useConfirmPayment is not a function"

    • @michaelchambers236
      @michaelchambers236 Рік тому

      this was my own mistake
      const { useConfirmPayment, loading } = useConfirmPayment();
      should be:
      const { confirmPayment, loading } = useConfirmPayment();

  • @markclynch
    @markclynch 2 роки тому

    Where did you go? Your videos were priceless

  • @anupkaushik9370
    @anupkaushik9370 2 роки тому

    You have not answered any of the issues faced by your subscribers .Its your duty to fix out common issues in after following your videos tutorial..
    So pls answer the answers to fix the issues

  • @Thanh_Tung2206
    @Thanh_Tung2206 3 роки тому

    source code is death