Installation and configuration

Last updated on
24 January 2019

Drupal 7 will no longer be supported after January 5, 2025. Learn more and find resources for Drupal 7 sites

INSTALLATION

  • Install as you would normally install a contributed drupal module.
    See: Installing modules (Drupal 7) documentation page for further information.

CONFIGURATION

  • Permissions: There are no specific permissions for this module.
    The Payments permissions are to be used for configurations.
  • Enable the default Affirm Payment method or create a new one of this type.
  • Configure Affirm Payment payment.
  • Edit Enable payment method: Affirm Payment action (settings).
    • Mode: To perform checkout in a popup window, select the "Modal" radio button. Select "Redirect" for checkout to redirect to Affirm instead.
    • Transaction mode: either if a test/development store or a production one.
      Available options: Live transactions in a live account
      and Test transactions in a sandbox account. Note that API keys are different for test and live modes.
    • Public Key: Merchant public key for the payment gateway;
    • Private Key: Merchant private key for the payment gateway;
    • Financial Product Key: Merchant financial product key for the payment gateway;
    • Default credit card transaction type:
      Available options:
      - Authorization and capture
      - Authorization only (requires manual or automated capture after checkout)
  • Affirm promotional messaging components
    • Monthly payment messaging offers price-specific information and contains a link that triggers an educational product modal. It is available as
      • an addition to the Add to Cart form on the full view mode of the product display node
      • a views field to show in product list
      • a views area handler to show in car or order displays
    • Site modals offer general information about Affirm and do not include pricing information
  • Enhanced analytics support can be enabled at /admin/commerce/config/affirm.

Help improve this page

Page status: No known problems

You can: