Magento place order button fails after PayPal express checkout is accepted - magento

I am doing a Magento build. I have just used a template and very basic extensions at this stage.
I get this error after testing with a PayPal payment.
app/code/core/Mage/Sales/Model/Resource/Order/Address.php on line 95
And if I don't use PayPal in advance and log in it just lets me press the "Place Order" button, says it is processing the order but then doesn't change pages. The order does not drop into the back end but it does reduce my stock levels for the item. Does anyone know what this is? I have checked my mbstring is turned on as one other site recommended that.

Related

Magento 1.9.1 PayPal Express review page is empty

I am using Magento version 1.9.1.0 and the module FireGento_MageSetup version 2.2.2.
Furthermore I am using a custom theme.
If a customer pay by PayPal the shop redirects him after the shipping information step in onepage checkout to PayPal. After logging in in PayPal the customer will be redirect to the review page of the shop. But this page has not any content, so the customer can not place the order.
Can anybody help me please??
Had the same problem. In my case, it was simply because I'd disabled the Mage_Paypal extension under System -> Configuration -> Advanced -> Disable Modules Output.
if you will enable errors you will see there is Fatal error: Call to a member function setFieldNamePrefix() on a non-object on paypal/express/review.phtml on line 28 of custom template.
quick solution is, delete review.phtml from theme file and it will read from base directory but this may disturb design of order review page.
proper solution is, copy review.phtml from base and fix design according to theme.

PayPal Website Payments Standard Error

I currently have my online store set up using Magento and i’m adding my products, I’ve tried to implement the PayPal Website Payments Standard but there is an error. When the user has passed through to the checkout section, after entering all their details, they fail to submit the order. The button is pressed to confirm order and redirect to the PayPal payment stage, the button will load saying that it's submitting the information, but nothing happens, it starts processing, then never goes through to the page. I've checked that the extension for Mage_paypal is enabled and it is.
If you would like try purchasing one of the test products on www.scarletkisses.com at the moment, you’ll be able to see what I mean.
Thanks.
2 things ..
Make sure that you have index management and cache management done
Try disabling and then enabling Mage_PayPal Module[Reindex the magento database after that]

Magento 1.7 - Can't Create Invoice for Check/Money Order Sales

I have a Magento store, running on 1.7.0.2.
I am unable to move orders from Pending or Processing to Complete if the payment method is Check/Money Order.
Basically, on the Create Invoice screen, clicking on the [Submit Invoice] button at the bottom of the page does nothing. No errors, no JavaScript warnings, just nothing.
I've tried 3 different browsers, and it's occuring on the live site and on my staging site.
Credit Card orders move to Complete automatically once shipped, Purchase Orders move to Complete by selecting "Capture Offline" when creating an invoice, but still the orders paid for with "Check / Money Order" elude all of my abilities to create an invoice.
Any assistance would be much appreciated.
Check payment methods you have enabled in magento admin.
I don't know if this is related to your issue or not, but I had the same issue. After looking at the page source, i saw that there was no onclick event for the submit invoice button.
What i did, which is hardly a solution, but works for me is add another button that adds the correct "onclick" when clicked. I called it "validate invoice".
edit the file /app/design/adminhtml/default/default/template/sales/order/invoice/create/items.phtml
at line 124, right above <?php echo $this->getChildHtml('submit_button') ?>
I added:
<button onclick="$$('div .submit-button').invoke('writeAttribute','onclick','$(\'edit_form\').submit()');alert('Done');">Validate Invoice</button>
Click "Validate Invoice" button, and then you can submit the invoice.
Again, it's hardly a solution, but it definitely works for me.
What browser and OS are you using? Have had the same issue with a customers of mine, they use Explorer and window. I then tried in Chrome on a Mac and that did the trick.

Magento 'place order' redirects to shopping cart

Every time I try to place an order rather than an order actually being placed I simply get redirected to the shopping cart.
Paypal express works fine however paypal standard payments gets the problem as above.
Lucas
You have to examine the ajax request. You can use Firefox with the "HTTPfox" extension to track the single requests. Just look for the step, where the redirect is executed - and start the http tracker. Then you see the response.
In the response you can see, what went wrong. I've got this error some weeks ago and it printed a full html page (with the report-number you can look up in the var/log/reports folder) or you can see a php error (maybe syntax error or bad sql query for example). If you get a blank page, you have to set the error_reporting to E_ALL.
I thinkk that step is help.
Log into Magento Admin
Hover over "System" Click "Configuration"
On the next page in the left menu under "Advanced"
Under the check "Mage_Paypal" is Enable or Disable. if is Disable then Enable this options.
Then After the paypal is not redirect to paypal site. then please check your template code.
hope this will sure help you

Magento: Checkout redirects to cart before 'Place Order' is pressed (should go to payal)

this is my first actual post on StackOverflow. I'm on here quite often because you guys always solve my queries!
We have a problem in a checkout cart on a Magento site.
We have Magento version 1.4.1.1 and are using the one page checkout and Paypal Standard Checkout.
The problem appears when a customer adds lots of different products to their cart (say 7 or more). When they click on the 'Place Order' button, they should be taken to paypal to complete the order. But instead they are redirected to the cart (the default failure URL)
The checkout works fine when you buy a few items or many of the same item. It doesn't work when you buy multiple different items.
Any help/advice/solution/anything! would be much appreciated!
Thanks,
Heather
I to expereinced this issue... We run PHP Version 5.2.10, Magento ver. 1.3.2.4 and use Paypal Website Standard PRO...
We have been optimising the server install APC and tuning MySQL... Uninstalling / reinstalling APC to swap out a version of APC that use spin locks...
After completing these works and running an end to end test the Paypal integration failed to work... Or more to the point on clicking "Place Order" we were redirected to the cart page...
I reviewed the headers sent after pressing "Place order" and found that a 500 error was issued by the server and as Magento is a production configuration this error is not shown and the browser is redirected to the referrer, in this case the basket page...
Our PHP errors are logged to our Apache error_log and on view this I found the following entries:
PHP Fatal error: Class 'DOMDocument' not found in /home/user/htdocs/lib/Zend/Feed/Abstract.php on line 101
I reviewed this further and discovered DOMDocument and found a post stating that the "PHP-XML Module" is required...
As we had been installing / installing software we ran "yum install php-xml"...
This resolved the issue!!! This is odd as this did work so implying this would not be the issue...
A few more options / areas to look at...
I have experencied busy Magento installs with lots of products and orders, taking an extended amount of time to redirect to Paypal on clicking "Place Order". This is probably your actual problem and upgrading is the way forward, try upgrading to 1.4.2.0 (final 1.4 stable release)... but normally in this circumstance the process would complete after an extended wait (60sec long and more!!!)...
The fact that your checkout redirects to the cart page when you have many items may well be a timeout issue. Magento redirects back to cart from checkout submit when an error occures in the transfer to payment gateway page, so the page timing out or PHP running out of memory would result in you being redirected back to cart...
You should check:-
Apache: "Timeout" normally set at around 120 (secs) consider increasing
PHP: "max_execution_time" 18000 (secs) - Magento friendly figure
Also try increasing PHP setting "memory_limit" in the .htaccess file... setup 64, 128, 256 really increasing past 256 should not be an required.
Also start logging yopur PHP errors: log_errors On
Hope this helps
P.s. My original solution is clearly not correct as your failure only happens when you have multiple products in your cart...

Resources