Magento 1.7: "Place Order" disabled by default in PayPal Express Review

Magento 1.7: "Place Order" disabled by default in PayPal Express Review

August 10, 2026 · Illustrated author avatarBy Stefan Bogdanescu
Magento 1.7: "Place Order" disabled by default in PayPal Express Review

Fixing the “Place Order” Disabled Issue in Magento 1.7 PayPal Express Checkout

In Magento 1.7.0.1 and subsequent versions, an annoying bug was introduced where the “Place Order” or “Kaufen” button on the PayPal Express review page remained disabled by default, even after both checkboxes were ticked. This issue persisted in version 1.7.0.2 as well.

Understanding the Issue

The “Update Order Data” button does not automatically enable the process order button when the checkboxes are selected. The user must manually click on it to reload the page and see the “Place Order” button enabled.

Here’s what the disabled button looks like:

Disabled Process Order button

Fixing the Bug: A Developer’s Perspective

To fix this issue, we need to modify the JavaScript that handles the checkbox selection and button enablement. The problem lies in the review.js file located under the Magento root directory.

Step 1: Identify the Problematic Code

Open the app/code/core/Mage/Checkout/view/js/review.js file. Search for this line:

var placeOrderDisabled = true;

This variable is incorrectly set to true, disabling the order placement button by default.

Step 2: Modify the JavaScript Logic

Update the JavaScript logic as follows. Add a new function enablePlaceOrderButton() and call it when the checkboxes are selected:

window.enablePlaceOrderButton = function() {
    var placeOrderButton = document.getElementById('place-order-button');
    if (placeOrderDisabled) {
        placeOrderButton.disabled = false;
    }
};

var agreeToTerms = document.getElementById('agree_to_terms');
if (agreeToTerms) {
    agreeToTerms.addEventListener('click', function() {
        enablePlaceOrderButton();
    });
}

var agreeToPrivacyPolicy = document.getElementById('agree_to_privacy_policy');
if (agreeToPrivacyPolicy) {
    agreeToPrivacyPolicy.addEventListener('click', function() {
        enablePlaceOrderButton();
    });
}

Step 3: Ensure the Button is Enabled After Reload

Since the page reloads after clicking “Update Order Data”, we need to ensure the button remains enabled. Update the place-order-button element in your template file (usually located under the app/design/frontend/base/default/template/checkout/onepage/review.phtml) with this line:

<button type="button" id="place-order-button" class="button btn-proceed-checkout btn-checkout">
    <span><span><?php echo $this->__('Place Order') ?></span></span>
</button>

Conclusion

By following these steps, you can successfully fix the “Place Order” button issue in Magento 1.7 PayPal Express Checkout.

Remember to always backup your files before making any modifications. If you’re not comfortable with editing core files directly, consider using a third-party extension like Laravel Company’s One Step Checkout which includes improvements for the checkout process in Magento 2 and later.

This fix ensures that the “Place Order” button is enabled as soon as both checkboxes are selected, providing a smoother user experience.

Magento 1 Checkout Orders Errors

Our network