Upgrade the Magento extension

Before upgrading your Magento extension:

  • Test the upgrade in your staging environment connected to our sandbox before pushing it live
  • Keep a copy of your Magento store and database so that you can rollback to the previous version if necessary
  • You may need to re-index all of the product and category tables after upgrading the extension

You have several options for how to install the Magento extension.

Upgrade using modgit

Upgrade the extension by going to MAGENTO_ROOT and running

modgit update Magento_Affirm

Upgrade using modman

Upgrade the extension by going to MAGENTO_ROOT and running

modman update Magento_Affirm

Upgrade using Magento Connect Manager

  1. In your Magento admin panel, go to System > Magento Connect > Magento Connect Manager.
  2. Under Manage Existing Extensions, select Uninstall under Actions for Affirm_Affirm package name.
  3. Click Commit Changes.
  4. Download the latest package release (the compressed .tgz file).
  5. In your Magento admin panel, go to System > Magento Connect > Magento Connect Manager.
  6. Click Choose File and select the downloaded package release file..
  7. Click Upload.

Upgrade using Affirm's deploy script

1. Download the latest Makefile, which requires git and wge.t
2. Copy the Makefile to MAGENTO_ROOT.
3. To install, run the command make install.
4. To update, run the command make update.

Known installation issues

If you upgrade the extension from version 2.x to 3.x via SSH, you may see Affirm promotional banners displayed twice. To fix this issue, remove the following from the Magento directory:

  • MAGENTO_ROOT/app/code/community/Affirm/Affirm/Model: Pricer.php
  • MAGENTO_ROOT/app/code/community/Affirm: AffirmPromo
  • MAGENTO_ROOT/app/design/frontend/base/default/template: affirmpromo
  • MAGENTO_ROOT/app/etc/modules: Affirm_AffirmPromo.xml
  • MAGENTO_ROOT/lib: Affirm