### How do I modify the monthly payment messaging placement on the product detail or cart page?
To place monthly payment messaging on the product detail:
From the Adobe Commerce admin page, go to **Stores > Configuration > General > Affirm Promos**.
In the **As Low As Additional Developer Settings** section, set **PDP Placement options for As low as** to one of these options:
After Price (selected by default)
End of Product Info
This integration uses the `
Affirm/Block/Promotion/ProductPage/Aslowas` block and the `
To include this block in a specific location on the product or cart page, you will need to select the appropriate handle (the default product page in Adobe Commerce is `
catalog_product_view.xml`) and parent block or container, which will render the as low as block (using `
<referenceBlock name="parent_block_name"> structure` or `
<referenceContainer name="test_content">)`, where `
parent_block_name` - name **parent block** in the layout.
### What should I do if I see an "Invalid header line detected" error message when placing an order with Affirm?
This error is caused by an upgrade to our load balancers from AWS Classic ELB to AWS Application Load Balancer and the new ALB supports both HTTP/1.1 and HTTP/2. As a result, clients that support HTTP/2 will auto upgrade. It is likely that cURL also auto upgrades to HTTP/2, transparently i.e., it sends HTTP/2 request with a HTTP/2 response, on the wire.
We use Adobe Commerce's core Zend Framework library for cURL request and it does not support HTTP/2. We have plans to switch to another library or Adobe Commerce's cURL in the future. In the meantime, you can follow the instructions below to apply a patch to add HTTP/2 support to ZF1 library.
### How do I get Affirm checkout to work with Magento 2.2 or lower?
You can use release [2.1.5](🔗) for Magento 2.2 and lower.
Use the command below for the Composer installation:
### Does Affirm support multishipping checkout?
No, Affirm does not support multishipping checkout as we use the customer's shipping and billing addresses in our underwriting process to validate fraud.
### Apply Gzip Patch
Create a gzip.patch in Magento Root Directory with the following code
In the command-line interface, run the following commands according to the patch extension:
If prompted to enter File to patch enter