Expo And Stripe | Handling Card Payments | React Native

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ย. 2024

ความคิดเห็น • 87

  • @Puneet352
    @Puneet352 3 ปีที่แล้ว +4

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

  • @richardogujawa-oldaccount1336
    @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')

  • @michaelchambers236
    @michaelchambers236 ปีที่แล้ว +2

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

  • @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 8 หลายเดือนก่อน

      Yes! the API server is deployed separately.

  • @TheLonare
    @TheLonare 3 ปีที่แล้ว +1

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

  • @Daysinn20
    @Daysinn20 3 ปีที่แล้ว +1

    You saved my life

  • @teodordimitrov7062
    @teodordimitrov7062 4 หลายเดือนก่อน

    Very nice tutorial. Thank you.

  • @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 10 หลายเดือนก่อน

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

  • @reidhommedahl2180
    @reidhommedahl2180 2 ปีที่แล้ว +2

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

  • @geekthegeek730
    @geekthegeek730 2 ปีที่แล้ว +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.

  • @giovanniotr8657
    @giovanniotr8657 2 ปีที่แล้ว +1

    worked perfectly, thank

  • @FaysalBDev
    @FaysalBDev 2 ปีที่แล้ว +1

    nice one bro, massive thanks

  • @Gustavo-bi4hv
    @Gustavo-bi4hv 2 ปีที่แล้ว

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

  • @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?

  • @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?

  • @malika2082
    @malika2082 2 ปีที่แล้ว

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

  • @atakpuikhide45
    @atakpuikhide45 3 ปีที่แล้ว +1

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

  • @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

  • @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

  • @arupde6320
    @arupde6320 3 ปีที่แล้ว +1

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

  • @umarmughal5554
    @umarmughal5554 3 ปีที่แล้ว

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

  • @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

  • @tanvimutha4049
    @tanvimutha4049 หลายเดือนก่อน

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

  • @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?

  • @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?

  • @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?

  • @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

  • @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?

  • @prabeshkhati4398
    @prabeshkhati4398 2 ปีที่แล้ว

    Thanks a lot for this video

  • @livandiaz6425
    @livandiaz6425 ปีที่แล้ว

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

  • @vineethemmanuel2967
    @vineethemmanuel2967 3 ปีที่แล้ว

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

  • @gaurav63105
    @gaurav63105 3 ปีที่แล้ว

    Kindly do one with plaid also, required for bank transfers

  • @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();

  • @sweekark
    @sweekark 3 ปีที่แล้ว

    very nice

  • @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

  • @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",

  • @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.

  • @ShahidShabir-xp5lk
    @ShahidShabir-xp5lk ปีที่แล้ว

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

    • @Goutham-qd6ly
      @Goutham-qd6ly 10 หลายเดือนก่อน

      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.

  • @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

  • @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