We just had the case, that one at the box office / in the checkout of magento only to step 4 “Payment Method” or. “Payment” came and then only “Loading next step” appeared when you clicked on Next. However, it was always in step 4 hang.
since SUPEE 9767 there is indeed the formkey Validation (the one in the backend under System > Configuration > Advanced / Admin / safety – can enable shape Key Validation On Checkout enable / disable).
For safety reasons, it makes good sense to use this feature – but their own template, it must do. Therefore, under the function also “Important! Enabling this option means that your custom templates used in checkout process contain form_key output. Otherwise checkout may not work.”.
So you have to make sure, that the following line is in the loaded from template files cash:
<?php echo $this->getBlockHtml('formkey') ?>
Best closing ever before
</form>
Some of the files are to be considered
- app / design / frontend /[Eigenes Theme]/[Eigenes Theme]/template/persistent/checkout/onepage/billing.phtml
- app / design / frontend /[Eigenes Theme]/[Eigenes Theme]/template/checkout/onepage/shipping.phtml
- app / design / frontend /[Eigenes Theme]/[Eigenes Theme]/template/checkout/onepage/shipping-method.phtml
- app / design / frontend /[Eigenes Theme]/[Eigenes Theme]/template/checkout/onepage/payment.phtml
This may in some cases (which we had just one) but continues to cause problems. We got more in spite of the injected code in step 4 “Payment” not further.
The solution was to, that we for our theme still own opcheckout.js in the folder skin / frontend /[Eigenes Theme]/[Eigenes Theme]/js used. Here, the key must also be addressed. In addition one is looking for in their own JS file
if (elements[the].name=='payment[method]') {
and replaced by this
if (elements[the].name=='payment[method]' || elements[the].name == 'form_key') {
Now the cashier worked until the end without any problems.
Used in Magento Version 1.9 Comments? Additions? Notes? Gladly!