忠诚度插件 · 免费

Magento 2

Magento 2.4+ CE / Commerce

Standard Magento module — drop into app/code/Deakee/Loyalty, run setup:upgrade, configure once. Listens for sales_order_save_after, credits the centralized ledger, exposes a Loyalty section under My Account.

接入步骤

  1. 1

    Download the .zip and unzip. Inside you'll find a magento2/ folder.

  2. 2

    Copy magento2/ → app/code/Deakee/Loyalty/ in your Magento root.

  3. 3

    bin/magento module:enable Deakee_Loyalty && bin/magento setup:upgrade && bin/magento cache:flush.

  4. 4

    Stores → Configuration → Deakee Loyalty: paste your Client ID + Secret from deakee.com/partners/oauth2.

  5. 5

    Set the callback to https://YOUR-STORE.com/deakee/callback in your Deakee partner app — test with a sandbox order.

快速命令

# Download the .zip above, unzip it, then:
mkdir -p app/code/Deakee && cp -r magento2 app/code/Deakee/Loyalty
bin/magento module:enable Deakee_Loyalty
bin/magento setup:upgrade
bin/magento cache:flush

连接到 Deakee

插件需要一个 Deakee 合作伙伴 OAuth2 应用 — 几分钟在 deakee.com/partners/oauth2 创建一个。

所有交互都通过标准 OAuth2 — 用户在你店铺点"用 Deakee 登录",授权后回到你这里。

客户积分有两份:一份在你的本地数据库(你完全掌控),一份同步到他们的 Deakee 钱包。

推送积分用 /api/oauth/transfer-tokens — 凭幂等键安全重试。

不涉及区块链 / 加密货币 — 这是普通的 OAuth2 + REST,跟 Stripe Connect 一样简单。

打开 OAuth2 后台