-
Notifications
You must be signed in to change notification settings - Fork 482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Continue Button On Payment Method Screen Not Working #87
Comments
check sumbithandler. |
const submitHandler = (e) => {
e.preventDefault();
dispatch(savePaymentMethod(paymentMethod));
props.history.push(‘/placeorder’);
};
…Sent from my iPhone
On May 5, 2021, at 8:16 PM, mohitshahu108 ***@***.***> wrote:
check sumbithandler.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
where did you have put that on form or button |
mohitshahu, I appreciate your reply. I believe on form but I am not sure. Please take a look at my code if you can and thank you very much for your help. import React, { useState } from 'react' export default function PaymentMethodScreen(props) { |
Do I need to have history as a prop? |
sorry for the late response buddy Do I need to have history as a prop? |
After going through your code I didn't find any issue. Here is my code, if it can help export default function PaymentMethodScreen(props) { Payment<input type="radio" id="paypal" value="PayPal" name="paymentMethod" required checked onChange={(e) => setPaymentMethod(e.target.value)} /> Paypal <input type="radio" id="stripe" value="Stripe" name="paymentMethod" required onChange={(e) => setPaymentMethod(e.target.value)} /> Stripe Continue ); } |
Try it multiple times don't give up it will work code didn't help then you should check |
i have completed that application deployed over heruko |
Hllo mohitsahu I will also got error after deploying on heroku my products not showing after deploy on heroku in local host it will saw but when I connect with online MongoDB atlas it will not show please help me |
Hllo please help me when I deploy it to heroku and when I will connect with MongoDB atlas it will not insert my sample users and product into online MongoDB atlas database so i will copy paste products data manually it will show product but when I click on product It will show error product not found can you help me to solve this. |
mohitshahu108,
I apologize for the very late response. I also have since completed the project and I really appreciate your help. Great job with the website!
Thank you
…Sent from my iPhone
On May 23, 2021, at 3:13 AM, mohitshahu108 ***@***.***> wrote:
i have completed that application
deployed over heruko
https://tech360i.herokuapp.com/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hey DmoniqueMCasteneda ,please help me when I deploy it to heroku and when I will connect with MongoDB atlas it will not insert my sample users and product into online MongoDB atlas database so i will copy paste products data manually it will show product but when I click on product It will show error product not found can you help me to solve this. |
GarvitSharma870,
Please make sure that you are creating the product from a profile that is a Seller and that the ID’s for the user and product match in MongoDB. If they do not match you will receive an error message.
…Sent from my iPhone
On Aug 14, 2021, at 10:57 PM, GarvitSharma870 ***@***.***> wrote:
mohitshahu108, I apologize for the very late response. I also have since completed the project and I really appreciate your help. Great job with the website! Thank you
…
Sent from my iPhone
On May 23, 2021, at 3:13 AM, mohitshahu108 @.***> wrote: i have completed that application deployed over heruko https://tech360i.herokuapp.com/ — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Hey DmoniqueMCasteneda ,please help me when I deploy it to heroku and when I will connect with MongoDB atlas it will not insert my sample users and product into online MongoDB atlas database so i will copy paste products data manually it will show product but when I click on product It will show error product not found can you help me to solve this.
And when I register as newbuddy it insert data in online database and also signin works with that .
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
The Continue button on Payment Method Screen (PayPal/Stripe) is not working or redirecting to Place Order Screen.
The text was updated successfully, but these errors were encountered: