I really hope this video covers the things I need to know, because the stripe documentation is a nightmare, makes little sense in the grand scheme and i don't want to find this stuff in there.
@@brettwestwooddeveloper Totally did, it didnt quite answer all my questions but gave me the knowledge to figure the parts out that you did not cover. I was dealing with some decently advanced stuff tho. This was for a coding contest, I ended up taking 2nd in so pretty happy with the results =)
Firstly congrats for the content, man! I'm getting the same issue where the metadata is coming empty in the event although I make sure I'm passing a value to it and it seems to be random. Do you know a reason for that or another way to pass custom data to the event?
I am using the payment intent and have the stockify app installed in my dashboard. When I submit a successful transaction the stock number does not update? Ideas.. I was told I needed to setup a webhook??
Yes you need to set up a webhook to get information after a payment intent is triggered. You will have to listen to the payment intent event associated with what you are doing. You can send metadata through to your webhook as well
@@brettwestwooddeveloper I have setup the webhook already and working but not sure how to update the stock inventory for the stockify app? I have used the metadata. but would love to have the stockify app show the new inventory count?
@@StudioSupermassiveLLC assuming it updates in your database after the webhook runs. Just run the logic of updating the stock inventory in the webhook file where the event is.
Great tutorial! I'm all set for when a checkout is complete for a subscription, but struggling a bit with the invoice.paid event when the subscription auto renews. Do you know if there will be a session.subscription property in the same way that it's there for checkout.session.complete event? I'm using the current_period_end timestamp to set the expiration date on checkout complete, want to do the same thing when invoice.paid fires. Any help would be appreciated 🙏
i have one question is how can i access the stripe without open the cmd and go to stripe path . no i want when i open cmd be able to access stripe from anywhere how ??
will i have to create different webhooks for each different services like for payment a different webhook and for a subscription model a different webhook or can we use one webhook for multiple services
Thanks for watching! And no you will create one route.ts file and you will define all the event types in one file. So, its the same webhook, only create one webhook
apiVersion: '2024-06-20', it looks like stripe has set their current type definition so that an improper API version throws a type error that actually shows the current API version freakin clever stripe I like it.
Thank you very much for your tutorial. Very usefull 👍👍
Great tutorial! Exactly what I needed. Much appreciated!
No problem and thanks for the support!
I really hope this video covers the things I need to know, because the stripe documentation is a nightmare, makes little sense in the grand scheme and i don't want to find this stuff in there.
Hopefully my video helped you out!
@@brettwestwooddeveloper Totally did, it didnt quite answer all my questions but gave me the knowledge to figure the parts out that you did not cover. I was dealing with some decently advanced stuff tho. This was for a coding contest, I ended up taking 2nd in so pretty happy with the results =)
@@DigitalAlchemyst Awesome job!
Thank you bro, you helped me a lot!!!!
Glad I could help!
Thank you bro worked for me
Awesome! Glad it did
Firstly congrats for the content, man! I'm getting the same issue where the metadata is coming empty in the event although I make sure I'm passing a value to it and it seems to be random. Do you know a reason for that or another way to pass custom data to the event?
yes what event are you trying to receive the metadata in?
I am using the payment intent and have the stockify app installed in my dashboard. When I submit a successful transaction the stock number does not update? Ideas.. I was told I needed to setup a webhook??
Yes you need to set up a webhook to get information after a payment intent is triggered. You will have to listen to the payment intent event associated with what you are doing. You can send metadata through to your webhook as well
@@brettwestwooddeveloper I have setup the webhook already and working but not sure how to update the stock inventory for the stockify app? I have used the metadata. but would love to have the stockify app show the new inventory count?
@@StudioSupermassiveLLC assuming it updates in your database after the webhook runs. Just run the logic of updating the stock inventory in the webhook file where the event is.
where did you find the stripe checkout prebuilt code. I'm having trouble on this part. Any help would be really appreciated!
anyway to specify which webhook to call on checkout?
Great tutorial! I'm all set for when a checkout is complete for a subscription, but struggling a bit with the invoice.paid event when the subscription auto renews. Do you know if there will be a session.subscription property in the same way that it's there for checkout.session.complete event? I'm using the current_period_end timestamp to set the expiration date on checkout complete, want to do the same thing when invoice.paid fires. Any help would be appreciated 🙏
can you make a mongodb + stripe guide ?
thanks :)
You are welcome!
can you provide the git repo!
No git repo no like
great vid
Thank you!
i have one question is how can i access the stripe without open the cmd and go to stripe path . no i want when i open cmd be able to access stripe from anywhere how ??
will i have to create different webhooks for each different services like for payment a different webhook and for a subscription model a different webhook or can we use one webhook for multiple services
Thanks for watching! And no you will create one route.ts file and you will define all the event types in one file. So, its the same webhook, only create one webhook
@@brettwestwooddeveloper yeah ive figured it out its great
@@brettwestwooddeveloper btw thanks
thanks
No problem and thanks for the sub!
apiVersion: '2024-06-20',
it looks like stripe has set their current type definition so that an improper API version throws a type error that actually shows the current API version
freakin clever stripe I like it.
Hey Brett! Where is your Discord?!
In India it is very difficult to get live stripe account
That sucks to hear! Hopefully they make it easier in the future.
Hi, do you have an idea about stripe integration in website
@@RoseShukla-y4n in what terms? I do have a stripe checkout integration for the prebuilt checkout page on my channel
@@brettwestwooddeveloper I'm asking for terminal integration, i.e. card reader integration with website
@@RoseShukla-y4n Oh I see. I have never done a terminal integration
Thanks
No problem!!