I made a stripe payment on my new webpage hosted by aws. After that the page shut down (it always returns error 500: internal server error. I tried a lot of things, also shutting down the instance and rebooting it. It still returns error 500. I'm not very experienced in this topic so I don't know what information you may need so feel free to ask. I would be very happy if someone could help me to get my webpage back running normally. Thank you in advance!
This could be any number of things and debugging it will require a great deal more detail. You should start by reviewing your server logs to see what is causing that 500 error.
You also need to more clearly describe the flow being used here. Is this a redirect to your site from eg Stripe Checkout? Is this an API call from your own app to your own backend?
Related
I work for a company that has a store built on Magento and hosted in AWS, the version we are currently on is 2.3.4. For a few weeks now the website has been producing an error in the console which comes into effect when a customer wants to check out the items in their cart. They can add the item, proceed to check out, enter their shipping information, and when they confirm their shipping information the following error appears when they are on the credit card information page:
Uncaught ReferenceError: Unable to process binding "if: function({
return(addressOptions.length > 1) }"
Message: addressOptions is not defined
at if (eval at createBindingsStringEvaluator (knockout.min.js:280), <anonymous>:3:55)
at ko.computed.disposeWhenNodeIsRemoved (knockout.min.js:376)
at Function.evaluateImmediate_CallReadThenEndDependencyDetection (knockout.min.js:208)
at Function.evaluateImmediate_CallReadWithDependencyDetection (knockout.min.js:204)
at Function.evaluateImmediate (knockout.min.js:202)
at Object.ko.computed.ko.dependentObservable (knockout.min.js:193)
at init (knockout.min.js:376)
at knockout.min.js:312
at Object.ignore (knockout.min.js:140)
at knockout.min.js:312
I've been given the task of remedying the problem. It should be said that the website was made by a freelance developer with whom the company no longer has ties. So it is fair to say that I have no idea what to do. My thoughts are to create a staging site, implement solutions from other people who faced the same issue, fix the problem, push changes into production and be the Hero the office needs, but doesn't deserve. yay.
This brings me to my second batch of problems. I have SSHd into the server and I can not locate the application directory to copy so that I may create a staging site. Heck, I don't even know If there is an application dir. The website is hosted on AWS, I have looked online for tutorials and documentation about Magento file structure but have returned defeated.
What do I want from this forum? Help. lots of help. I would like help with:
Why is this error being triggered?
Where can I locate the source code for the Magento site and how can I copy it to my local machine. I've found that SCP seems to be the most efficient method.
After I copy where do I find the Models, Views, and Controller folders? I have zero experience with PHP but I am not intimidated to learn. (I have some experience with Angular and Django frameworks.)
After I make the changes how do I push the changes to the live site? Can I use git? How?
I request detail. Lots and lots of detail with links and examples would be great.
Thank you! And I look forward to all the help
I have been using the Maps API service for a month now. This morning I found that the service has stopped working. Any request to maps.googleapis.com causes my server to hang for a moment and then display the internal server 500 error.
At first I thought I was blocked / banned by google and there must be something I have overlooked with the t and c's but having looked further there are no notifications in my google api dev console.
If I make a request from another server using the same API key it works.
If I make a request directly in the url bar with the same API key it also works.
It only hangs and causes a 500 error for the domain maps.googleapis.com and not any other. I am guessing that Google has blocked my server IP but it seems odd that they would do this and my API key still works fine. If they had blocked me it wouldn't it be the whole API account?
Firstly, how do I know if I am blocked?
Secondly, why do I not get a error from google saying what the issue is?
Why does it cause my server to issue a 500 error? If my server is blocked it wouldn't just respond to say whatever the API problem is?
All seem very strange to me. It only started today. I am hitting the API with file_get_contents using php 5.1 on an apache server.
To clarify, the 500 error is on my server, I cannot see any response from the http request because it hangs and then spits out the 500 error.
And now after 3 hours of debugging it works for no explained reason. The only possibility that i can think of is that the hosting company has been doing maintenance and something they changed caused this. after waiting on hold for 20 minuts they disconnected but perhaps they looked into it behind the scenes for me. Pretty annoyed a whole morning waisted and although im happy it has resolved its still frustrating to not know what or why
I'm using PayPal-PHP-SDK Package. When I go live, some of my customers (not everyone) are telling me they see an error after the payment (when I try to execute).
I tested the execution in my localhost (WampServer) and it worked. It's not a problem in my credentials because the payment itself worked. The method I use is paypal. What can cause this error?
You might be getting an error of two possible reasons.
You didnt change the clientId and Secret of Live Environment. You should be able to find one on the developer dashboard.
You have not change the mode to live instead of sandbox in your configuration.
In very rare cases, you dont have the permission in live to accept payments.
You can follow instructions here about Going Live.
I have finally come to the last stage of developing this store and would like to have it up and running today. However, after I installed stripe payment gateway and did the final test by purchasing the goods with PDF file attachement ready to download, it appeared that the checkout page won't stop spinning and did not take me anywhere. When I inspected element to see the error it showed up like in the picture below.
"Failed to load resource : the server responded with a status of 500 (Internal Server Error)"
You can see the store at http://www.pata.org/shop
I did examine at System status of woo commerce and found that my PHP limit is too low so I set it up to 96MB. Still it has the same problem. I am using shared hosting plan with bluest right now. I am not sure if that cause the problem.
I disable AJAX but Stripe payment gateway did not let me process the payment.
Has anybody ever experienced this? How to fix this?
Thank you.
I'm trying to run the example.php file that comes with the facebook sdk. I do have a hosting server that runs php, and also changed the ID's to the corresponding one on my app. Here is the message i'm getting:
This webpage is not available
The webpage at https://filipeximenes.com/facebook/ might be temporarily down or it may have moved permanently to a new web address.
Error 501 (net::ERR_INSECURE_RESPONSE): Unknown error.
i'm pointing the canvas to this adress: http://filipeximenes.com/facebook/
Thanks.
Based on your description, I think that this is your problem:
Do you have a valid security certificate on the hosting server? I ran into that problem recently when deploying an FB app. Since October, you have to have a valid cert even in sandbox mode for the FB app to run properly. If you don't have one it causes weird problems.
Just a thought that I hope helps.
One other thing to do from a debugging perspective is to take a look at the actual app running on your hosting server without viewing it via FB. If you get the same error message there, you know that it has nothing to do with the FB SDK.
Thanks!
Matt