Skip to content
Intents Checkout plugins

Magento

The Intents Checkout payment module for Magento Open Source 2.4.7 to 2.4.9, set up in test mode first.

Download Intents Checkout for Magento (always the latest version)

Build File Released Tested on SHA-256
Magento 2.4 1.0.1 intentsfi-magento2-1.0.1.zip 2026-11-26 Magento Open Source 2.4.7–2.4.9, PHP 8.2–8.5 343dd193e51035fa323847e55b1f4abe3e4f26fd1df814c754f47a0579dd1235

Each versioned file never changes once published, so its link and checksum are safe to pin.

  1. Install the module, IntentsFi_Checkout. From the zip above, unzip it into app/code/IntentsFi/Checkout; with Composer, composer require intentsfi/module-checkout. Then:

    Terminal window
    bin/magento module:enable IntentsFi_Checkout
    bin/magento setup:upgrade
    bin/magento cache:flush
  2. In Magento admin, open Stores → Configuration → Sales → Payment Methods → Intents Checkout and press Connect intents.fi. Sign in to (or sign up for) the dashboard and approve. You come back to the same page connected in test mode: the module saved a test key, registered its webhook URL and saved the webhook secret. Nothing to copy. (How Connect works.)

  3. Set Enabled to Yes and Save Config.

  4. Place an order. The hosted page shows a Complete the test payment button for a test invoice; press it, and the order is invoiced and moves to Processing when the webhook says the invoice is paid.

  5. When the go-live checklist on the dashboard is done (a verified email and a payout wallet), press Go live. The live key replaces the test one only when that round trip finishes.

Connect needs the store on https://. To set it up by hand instead, use Enter keys manually:

  1. In the dashboard, check your settlement asset and address, and copy your test API key (ik_test_…).
  2. Paste it into API key, and copy the Webhook URL the page shows. The Mode row reads Test or Live from the key’s prefix.
  3. Add that URL as a webhook endpoint for the same key, subscribed to the invoice.* events, either on the dashboard’s Webhooks page or with the API, and paste the whsec_… secret it returns into Webhook secret:
curl
curl https://api.intents.fi/v0/webhooks \
-X POST \
-H 'authorization: Bearer $INTENTS_SECRET_KEY' \
-H 'content-type: application/json' \
-d '{
"url": "https://northwood.example/hooks/intents"
}'
TypeScript
const response = await fetch("https://api.intents.fi/v0/webhooks", {
method: "POST",
headers: {
authorization: `Bearer ${process.env.INTENTS_SECRET_KEY}`,
"content-type": "application/json",
},
body: JSON.stringify({
"url": "https://northwood.example/hooks/intents"
}),
});
if (!response.ok) {
const { error } = await response.json();
throw new Error(`${error.code}: ${error.message}`);
}
const data = await response.json();
Python
import os
import httpx
response = httpx.post(
"https://api.intents.fi/v0/webhooks",
headers={"authorization": f"Bearer {os.environ['INTENTS_SECRET_KEY']}"},
json={
"url": "https://northwood.example/hooks/intents"
},
)
response.raise_for_status()
data = response.json()
  1. Save Config, then press Test connection: it checks the saved key and shows the merchant, the mode and the settlement address it belongs to.

The module is tested on Magento Open Source 2.4.7 and 2.4.8 with PHP 8.2 and 8.3, and on 2.4.9 with PHP 8.3, 8.4 and 8.5, with the standard (Luma-based) checkout. It has not been tested on Adobe Commerce yet. Hyvä Checkout is not supported yet.

The store currency must be USD. Invoices are priced in USD and the module never converts, so the method stays hidden at checkout unless the website’s base currency and the currency the customer is charged in are both USD. The configuration page says so, per store view. The method is also hidden while no valid secret key is saved.

  1. The customer chooses the payment method (titled Pay with crypto unless you change it). The checkout shows the amount, then places the order at Pending Payment without charging anything.
  2. The module creates an invoice for the order’s grand total with reference = the order’s increment ID plus a short key for your store (for example 000000042-1a2b3c4d) and sends the customer to the hosted payment page.
  3. The customer pays there; the module has no payment UI of its own.
  4. intents.fi sends signed invoice.* webhooks to https://<your store>/intentsfi/webhook, and the module updates the order.

reference is the API’s idempotency key, so a reload or a second tab lands on the same invoice. The store key (eight characters derived from the store’s base URL) keeps two stores on one intents.fi account apart: both may have an order 000000042, and neither is ever sent to the other’s invoice. An invoice that comes back made for a different order is never used. If the order total changes, or its invoice expires or is cancelled, the order gets a new invoice (000000042-1a2b3c4d-r2, then -r3) and the old one is cancelled through the API, after the order points at the new one. A payment that still lands on a replaced invoice puts the order On Hold with a comment, so a person decides. The customer coming back to the store never marks an order paid. Only the webhook does.

Cancelling an order in Magento, by hand or through the pending-payment cleanup cron, also cancels its invoice, so it cannot be paid later.

Event Order
invoice.paid invoiced (offline capture), Processing, order email sent
invoice.paid for an amount or currency that is not the order’s On Hold with a comment; never invoiced
invoice.paid after the order was cancelled a comment and an admin notification; never invoiced
invoice.underpaid On Hold with a comment; released and invoiced if the rest arrives
invoice.expired, invoice.canceled Canceled, if nothing was paid
invoice.processing an order comment
invoice.needs_review an order comment and an admin notification

Deliveries can repeat and arrive out of order. The module records each event ID in its own table, in the same database transaction as the order change, so a redelivery changes nothing. It also ranks events, so a late invoice.expired after invoice.paid changes nothing, while invoice.paid arriving before invoice.processing still completes the order.

Setting Notes
Enabled offers the payment method at checkout
Title what the customer sees at checkout
intents.fi account Connect intents.fi; once connected, the business, the store, whether payment notifications work, Go live and Disconnect
API key ik_test_… or ik_live_…, stored encrypted. A publishable pk_ key is refused on save
Mode read-only: Test or Live, from the key’s prefix
Webhook secret the whsec_… returned when the endpoint was registered for that key, stored encrypted
Webhook URL read-only: https://<your store>/intentsfi/webhook
Connection: Test connection checks the saved key and reports the merchant and settlement address. Save first
Applicable countries, Sort order the standard Magento payment settings

Keys can be set per website. A webhook is accepted only if it was signed with the secret of the website the order belongs to.

Live mode needs a verified email and a payout wallet on your intents.fi account. Then:

  • Connected: press Go live. The live key and a live webhook replace the test ones, and the test connection is revoked. If the checklist is not done yet, the page says so and nothing changes.
  • Keys entered manually: register the webhook URL with the live key, paste the live API key and the live endpoint’s secret, and save. Mode reads Live.

Then place a real $5 order from a phone, on the network your customers use, and check it reaches Processing and the money reaches your address.

Disconnect first if the store is connected, so its keys are revoked. Then, for a Composer install, bin/magento module:uninstall IntentsFi_Checkout --remove-data removes the module, its table and its settings (orders keep their payment details). For a zip install in app/code, disable the module, delete app/code/IntentsFi/Checkout and run bin/magento setup:upgrade.

  • Orders stay Pending Payment. The webhook is not arriving or not verifying. Check the secret belongs to the same key, and that the store is reachable over https from the internet: intents.fi delivers only to public https URLs, and the settings page warns when the store is not served over HTTPS. A delivery whose signature does not verify gets a 401 and is retried. var/log/intentsfi_checkout.log shows each delivery; it never contains your key or secret.
  • “Test connection” fails with UNAUTHORIZED. The key is wrong, or it was revoked. The module checks the saved key, so save the settings first.
  • Connect says “Connect needs your store on https://”. intents.fi only sends keys back to an https store. Serve the store over HTTPS, or enter keys manually.
  • “This link has expired” after approving. The request waits 30 minutes, and flushing Magento’s cache in between forgets it. Press Connect intents.fi again.
  • The payment method does not show at checkout. The base or display currency is not USD, the method is not enabled, or no valid secret key is saved for the website.

Questions: support@intents.fi.