Пікірлер
@MusicbyAnt
@MusicbyAnt 18 күн бұрын
hey Eli, i knwo thixs video was posted a long time ago, but im using it as a base for now :) its very helpful. Would you happent o know what to do when you get this error: Error processing webhook: Error: Cannot find module 'strip
@rezwansaki
@rezwansaki Ай бұрын
But even if I remove folders and files from local and github, it remains in cPanel!
@user-wy9gh3lw3q
@user-wy9gh3lw3q Ай бұрын
How do you set POST requests in such an app. For example, await useFetch('/api/products', { method: 'POST', body: someBody }).data; } I get 200 status code, but i don't see a new object in my collection Thanks!
@kuranaguzuto6522
@kuranaguzuto6522 Ай бұрын
Hey bro I am currently trying to set it up but I am receiving C:\Users\stripe2.0\functions\index.js 1:1 error 'module' is not defined no-undef C:\Users\stripe2.0\functions\index.js 65:19 error 'require' is not defined no-undef 66:15 error 'require' is not defined no-undef 69:1 error 'exports' is not defined no-undef 69:62 error 'data' is defined but never used no-unused-vars 69:68 error 'context' is defined but never used no-unused-vars 71:18 error 'require' is not defined no-undef 99:1 error 'exports' is not defined no-undef 100:18 error 'require' is not defined no-undef ✖ 9 problems (9 errors, 0 warnings) Waiting for the debugger to disconnect... Waiting for the debugger to disconnect... Waiting for the debugger to disconnect... node:events:492 throw er; // Unhandled 'error' event ^ Error: spawn npm --prefix "%RESOURCE_DIR%" run lint ENOENT at notFoundError (C:\Users eja prusti\AppData\Roaming pm ode_modules\firebase-tools ode_modules\cross-env ode_modules\cross-spawn\lib\enoent.js:6:26) at verifyENOENT (C:\Users eja prusti\AppData\Roaming pm ode_modules\firebase-tools ode_modules\cross-env ode_modules\cross-spawn\lib\enoent.js:40:16) at cp.emit (C:\Users eja prusti\AppData\Roaming pm ode_modules\firebase-tools ode_modules\cross-env ode_modules\cross-spawn\lib\enoent.js:27:25) at ChildProcess._handle.onexit (node:internal/child_process:294:12) Emitted 'error' event on ChildProcess instance at: at cp.emit (C:\Users eja prusti\AppData\Roaming pm ode_modules\firebase-tools ode_modules\cross-env ode_modules\cross-spawn\lib\enoent.js:30:37) at ChildProcess._handle.onexit (node:internal/child_process:294:12) { code: 'ENOENT', errno: 'ENOENT', syscall: 'spawn npm --prefix "%RESOURCE_DIR%" run lint', path: 'npm --prefix "%RESOURCE_DIR%" run lint', } Node.js v20.10.0 can you please advice
@ALYV0
@ALYV0 Ай бұрын
someone can help?
@agambhullar8259
@agambhullar8259 2 ай бұрын
Hey bro, this is a great video. Can you do a video that explains how to receive payments with stripe using swift ui? I'm woking on an app right now and need this integration. Thanks a lot
@osawereao
@osawereao 2 ай бұрын
I love that the video is less than 5 mins and everything is explained. I recommend that you post a link to the code on your .yml file
@GarthFransman
@GarthFransman 4 ай бұрын
Hi . Great video . Is there a tut on how to achieve this with WP WooCommerce as well ?
@Ful1tilt
@Ful1tilt 4 ай бұрын
Does this also require an active subscription for users to be authenticated, and there fore view pages where requiresAuth must be true? Also worth noting, the latest Firebase version requires you to import your app and also declare the region to create a portal link - 'const functions = getFunctions(firebaseApp, 'us-east1') '
@pauloamserrano
@pauloamserrano 4 ай бұрын
deploy a laravel app to a ftp will be great
@limsiryuean5040
@limsiryuean5040 4 ай бұрын
for those running into webhook errors follwing this video, the code corrections are as below functions index.js= await admin.firestore().collection("orders").doc().set({ checkoutSessionId: dataObject.id, paymentStatus: dataObject.payment_status, shippingInfo: dataObject.shipping_details, amountTotal: dataObject.amount_total, }); Firebase rules: rules_version = '2'; service cloud.firestore { match /database/{database}/documents { match /{document=**} { allow write: if true; allow read: if true; } } }
@bxdroid
@bxdroid 4 ай бұрын
Anyone still able to make it working in 2024? Tried it and it shows an error
@ev-olution8597
@ev-olution8597 5 ай бұрын
Thanks! This helped a lot in my project.
@moeyali123
@moeyali123 7 ай бұрын
Awesome dude, finally got this part working. Will start next part tomorrow!
@user-zx5jo3sh5i
@user-zx5jo3sh5i 8 ай бұрын
thanks, you saved my life dude!
@smoothbrainproductions
@smoothbrainproductions 9 ай бұрын
I gave this video a thumbs up until i saw the light theme IDE. I’m now blind 😂
@roc_kstark
@roc_kstark 10 ай бұрын
its mandatory the slint part?
@elilopezdev
@elilopezdev 10 ай бұрын
Nope, eslint is just for code formatting, keeps it neat and prevents common errors. But you could uninstall the eslint library and plugins :)
@michael-strain
@michael-strain 11 ай бұрын
Do we really have to initialize the admin sdk on each endpoint using firestore? Is there a way that you know of to initialize once on the server and have endpoints use it?
@elilopezdev
@elilopezdev 11 ай бұрын
Hi, since this is not a regular Node.js server that's always on, you do need to check if you have to initialize admin SDK every time you call it. That's because Firebase Cloud Functions are stateless, meaning the execution environment is often initialized from scratch (this is called a cold start). If you stop using the function for a while, you'll see your endpoint takes longer to respond the first time you call it again because it's booting your function again.
@KyleBondo
@KyleBondo 11 ай бұрын
I think what this video FINALLY taught me is that Stripe requires TWO secret keys to make the connection. It's like having a Storage Unit. You need an account key to get through the gate and onto the property. Then you need a storage unit door key to unlock the door. Nobody tells you that you need BOTH keys to make a webhook work. But... now I know... and knowing is half the battle! Thank you - Cheers!
@linhmai6266
@linhmai6266 11 ай бұрын
great video. very useful. thank you for publishing!
@Errorbeat
@Errorbeat Жыл бұрын
Thank you so much!! I'm pretty sad that there are no more new vids on your channel :(
@elilopezdev
@elilopezdev Жыл бұрын
Hey thanks a lot for the comment. I've been working on other projects, but planning to start uploading again some more content on Nuxt 3 this time. 😊
@Errorbeat
@Errorbeat Жыл бұрын
@@elilopezdev Nice! Can't wait for it. I really appreciate all the effort you put into these teaching-sessions :))
@soumyajitsaha9740
@soumyajitsaha9740 Жыл бұрын
stripe is free? or not?
@elilopezdev
@elilopezdev Жыл бұрын
Yes, it is!
@0xiah
@0xiah Жыл бұрын
How do you use cert when deploying if the cert file is in git ignore?
@courtneyperigo1021
@courtneyperigo1021 Жыл бұрын
Fantastic tutorial. Keep this up. You're a great teacher.
@Dhanushsaji
@Dhanushsaji Жыл бұрын
I'm using MongoDB as the database. When I use stripe CLI it's working fine, but after deploying the backend and then giving the endpoint in the webhook it's not working. Do u have any idea about this? Thank you
@diegoleandrokapfer9751
@diegoleandrokapfer9751 Жыл бұрын
muchas gracias!!! me esta ayudando un montón el video
@Draconian53
@Draconian53 Жыл бұрын
Where does the Stripe() method come from on the 15th line on the client side?
@verynice.mp4613
@verynice.mp4613 Жыл бұрын
How to do it for multiple servers with different passwords n usernames?
@lMagickl
@lMagickl Жыл бұрын
did you found a solution for that ?
@John-ge2ne
@John-ge2ne Жыл бұрын
I did not see two cloud functions in firebase. I only saw one,. What happened to the other one, paypalHandleOrder?
@John-ge2ne
@John-ge2ne Жыл бұрын
Thank you Eli. I was wondering if you could do one like this but with stripe instead of paypal.
@jsfhzlrvr
@jsfhzlrvr Жыл бұрын
Where can I find the stripe token ?
@marcelohenriquedasilvafons781
@marcelohenriquedasilvafons781 Жыл бұрын
👏🏼👏🏼👏🏼👏🏼👏🏼👏🏼👏🏼👏🏼👏🏼
@r.s.e.9846
@r.s.e.9846 Жыл бұрын
Mr. Lopez, many thanks for this!
@josemaker5252
@josemaker5252 Жыл бұрын
I stumbled upon your Firebase security video the other day. Fantastic content, I hope you keep it coming! 😊
@jonathanbornell6966
@jonathanbornell6966 Жыл бұрын
Simply outstanding. Thanks a ton for this man, lifesaver!
@manny8816
@manny8816 Жыл бұрын
I have no URLs in my firebase functions dashboard? how do i get them in the first place?
@ismaelyassin8882
@ismaelyassin8882 Жыл бұрын
Is using both return value from stripe and updating my backend + using webhooks as a redundant a good solution?
@mintzed3409
@mintzed3409 Жыл бұрын
Nice video!
@unomenah
@unomenah Жыл бұрын
In which language it is written? Javascript?
@mrm8896
@mrm8896 8 ай бұрын
they use custom language to write but it is similar javascript
@kdjd6768
@kdjd6768 Жыл бұрын
So is it necessary to keep the project stored locally or keeping it on GitHub is enough
@brianthornton6269
@brianthornton6269 Жыл бұрын
npm ERR! code EUSAGE is what I get. Googling says this need npm setup. I'm lost.
@ErnestoFlames
@ErnestoFlames Жыл бұрын
what about laravel app in shared host?
@rookybeats
@rookybeats Жыл бұрын
Hey! Thanks for this video :) Anybody else getting hit with a "Uncaught (in promise) Error: INTERNAL" error when clicking checkout?
@nthnaudio7615
@nthnaudio7615 Жыл бұрын
did you figure this out?
@rookybeats
@rookybeats Жыл бұрын
@@nthnaudio7615 unfortunately not!
@martinjoyce5670
@martinjoyce5670 Жыл бұрын
Thanks Eli - very interesting video that's taught me a lot. But it's quite possible to implement a working Paypal button in Javascript without going anywhere near Cloud Functions. Given the complexity that these introduce, I think this is quite an important point. It would be good if you said something about why you might want to do this.
@mbaljeetsingh
@mbaljeetsingh Жыл бұрын
Hi Thanks for the video. I have succeeded implemented stripe by following this video. I have a query, If I need to create multiple plans (yearly/monthly). Do I have to create multiple products in stripe or create just one product with all the payment options. I'm planning to show as a pricing table (plan1, plan2, plan3) based on monthly as well as yearly.
@0shaad
@0shaad Жыл бұрын
how to make firebase authentication, in which user have to sign up with email, password and pay $10, then they have to login with same credentials to access my web application (in short, i want only paid user to access my web application ) or (firebase authentication with subscription) or any other ways that you can refer me to love to see tutorial on this.....or please redirect me to any useful youtube tutorial on this
@danarichards9380
@danarichards9380 Жыл бұрын
How can I use stripe elements?
@danielwatson6529
@danielwatson6529 Жыл бұрын
at 6:00 you say if you change a field in fire store we will see it on the front end. This is only true if I refresh, I was hoping for the same effect as unsubscribe/realtime listener, I can't seem to find anything on this other than putting it on the client side, which defeats the object I think
@armans4306
@armans4306 Жыл бұрын
your github link is not working
@azareswYT
@azareswYT Жыл бұрын
how to fix Sorry, -- name can only contain URL-friendly characters. package name: (friends)