Amazing @CodeWithStein THANKS for your Vids. I like to learn from you because you are very neat in the code, even in the includes :) . For those who have errors like Uncaught ReferenceError: buy is not defined, or Stripe is not defined, try to move the javascript code at the begining of the code.
Hey Stan! Thank you so much for this Course. It really helpful. I am getting this error checkout page "ReferenceError: Stripe is not defined at buy" kindly assist me. Thanks 🙏
Hey! I have currently planned 20 parts. Part 18 will be an extention of part 17 yes. With success page, clearing the cart and similar. Part 19 will be a bunch of minor fixes around the page. Part 20 will be deployment ;-)
Thank you for this content, I can't import stripe, "(module) stripe Import "stripe" could not be resolved from sourcePylancereportMissingModuleSource" . I installed pip install stripe but also have this problem
Then you probably have a typo somewhere (I don't know where though :P). Try to go back a little bit and make sure that your code is identical to mine :-)
Airin: Then you probably have a typo somewhere (I don't know where though :P). Try to go back a little bit and make sure that your code is identical to mine :-)
For anyone that comes across this in the future, commenting out this line 'console.log(response.json())' resolved this issue for me. Probably not the best solution, but it worked for me.
Uncaught ReferenceError: buy is not defined at HTMLButtonElement.onclick . it is define like your code but I do not know how to fix it. could you help me?
Amazing @CodeWithStein THANKS for your Vids. I like to learn from you because you are very neat in the code, even in the includes :) .
For those who have errors like Uncaught ReferenceError: buy is not defined, or Stripe is not defined, try to move the javascript code at the begining of the code.
Thanks for the feedback 😁😁
this worked for me when i moved the stripe source script to the of base.html
You're amazing Stein. Thank you very much!
Thank you so much :-D
Failed to load resource: the server responded with a status of 404 (Not Found)
checkout/:227 Errors SyntaxError: Unexpected token '
Hey, then you probably have a typo in your code somewhwre 👍🏻
Why there is no message or alert or any notification when add to cart button is clicked and how we can add it?
Just something i didn’t prioritize. Would love to explain, but it requires more than i can write here 😛
Hi! I have this error 'Uncaught ReferenceError: Stripe is not defined' do you have any idea how can i solve this? Thank You!
Hey, were you able to fix this? It sounds like stripe hasn't been installed on your computer..
Hey Stan! Thank you so much for this Course. It really helpful. I am getting this error checkout page "ReferenceError: Stripe is not defined at buy" kindly assist me. Thanks 🙏
still how many parts can we expect to complete this website??
And when can we expect the continuous video of this part?
Hey! I have currently planned 20 parts.
Part 18 will be an extention of part 17 yes. With success page, clearing the cart and similar.
Part 19 will be a bunch of minor fixes around the page.
Part 20 will be deployment ;-)
@@CodeWithStein are you planning to add ratings field for the products in the website...??
Yes and no :P I have not planned that for the 20 parts, but maybe as a follow up part...
Thank you for this content, I can't import stripe, "(module) stripe
Import "stripe" could not be resolved from sourcePylancereportMissingModuleSource" . I installed pip install stripe but also have this problem
Hmm, haven’t seen that error :/ do you use win or Mac?
@@CodeWithStein windows. Now everything is ok :)
@@kote8715 how did you solve this, can you tell me I am facing the same issue.
JSONDecodeError at /create/
Expecting value: line 1 column 1 (char 0)
data = json.loads(request.body)
Then you probably have a typo somewhere (I don't know where though :P). Try to go back a little bit and make sure that your code is identical to mine :-)
I also get same problem
Airin:
Then you probably have a typo somewhere (I don't know where though :P). Try to go back a little bit and make sure that your code is identical to mine :-)
For anyone that comes across this in the future, commenting out this line 'console.log(response.json())' resolved this issue for me. Probably not the best solution, but it worked for me.
Uncaught ReferenceError: buy is not defined
at HTMLButtonElement.onclick . it is define like your code but I do not know how to fix it. could you help me?
Hmm, weird. Are there any more errors? I haven’t seen that before :s
I just ran into this same error
did you figure out what the problem is?
Hi Stein, great tutorials , i got and error when submit , stripe stripe.error.InvalidRequestError: Request req_nCumCT4ApGP6Ai: Not a valid URL
Hmm, weird. Were you able to solve it?