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')
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. 🤓
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.
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
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!
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?
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?
This was my own mistake. See if yours is the same issue. const { useConfirmPayment, loading } = useConfirmPayment(); should be: const { confirmPayment, loading } = useConfirmPayment();
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?
@@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.
@@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?
@@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.
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.
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
this was my own mistake const { useConfirmPayment, loading } = useConfirmPayment(); should be: const { confirmPayment, loading } = useConfirmPayment();
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
U r the best instructor ever. Your old fan 👍😬
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')
Payment Confirmation Error Network request failed.
What should you use for API_URL in physical device vs simulator vs production app?
Great Video. Quick question - How does the deployment works for server for iOS and Android? Does the server part is deployed separately?
Yes! the API server is deployed separately.
Do you have any tutorial about how to integrate Apple Pay with stripe?
You saved my life
Very nice tutorial. Thank you.
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. 🤓
I used that param, but still getting same error? Did you solve it?
Thanks for the vid. Should I setup the server folder in a separate VS code project than the client side?
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.
worked perfectly, thank
nice one bro, massive thanks
Could I place the StripeProvider only arround the component that handle the payment/card information instead of be on ?
Thank you for video. I love you vs settings. Can you tell me the template and font used on your configuration vscode?
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
what VS code extension has the "imrnfc" snippet?
I am working with expo and firebase. Will this video be helpful for me?
Does this work on react native web? because I need to make this work on all platforms
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
Payment confirmation error please provide cardDetails token or payment method id,, do you have the solution of this error ?
Need to send token to payment intent you get from stripe expo front end
plz show how to do subscription based payment .. in app purchase ..
Will this be accepted by apple as payment method in cross to in app-purchases?
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!
I think you should use firebase cloud functions to setup your server
I got error LOG [TypeError: Network request failed] could you please help me with it. Thanks
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?
Hey man great stuff! I'm making an app to publish is it okay if I use some of the code in this tutorial?
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?
Can we use in react-native-cli?
i am getting payment confirmation error:null in sdk 50,how to solve it
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?
Thanks a lot for this video
Hi,I get this error (SyntaxError: JSON Parse error: Unrecognized token '
Please make a video on picking image and uploading it to expo please !!
Kindly do one with plaid also, required for bank transfers
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?
There might be a misspelling in the code
I am getting same issue. Did you ever find the resolution?
This was my own mistake. See if yours is the same issue.
const { useConfirmPayment, loading } = useConfirmPayment();
should be:
const { confirmPayment, loading } = useConfirmPayment();
very nice
Payment Confirmation Error You must provide cardDetails, token or paymentMethodId Does anyone know how to resolve this error
have you solved it? kindly share the details
Have you resolve?
Edit: resolve with update Expo 42
I am gee=tting this error at timme of payment process completed, "You must provide PaymentMothodType"
can anyone help me ?
the expo stripe modeule has changed. Change type:"Card", to paymentMethodType: "Card",
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?
Are you using the correct api keys?
@@UnsureProgrammer yes. Taken straight from my stripe dashboard.
@@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.
@@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?
@@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.
"Payment Confirmation Error: You must provide paymentMethodType,"
When I upgrade Expo and Stripe also.
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.
I'm getting network error
how can I soul this ?
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
I am getting stuck on error: "useConfirmPayment is not a function"
this was my own mistake
const { useConfirmPayment, loading } = useConfirmPayment();
should be:
const { confirmPayment, loading } = useConfirmPayment();
Where did you go? Your videos were priceless
Coming back soon :)
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
source code is death
hey thanks, working now !
@@UnsureProgrammer plss soon.