Plugin screenshot thumbnail 1/4
Plugin screenshot thumbnail 2/4
Plugin screenshot thumbnail 3/4
Plugin screenshot thumbnail 4/4

Monri card payments as a Craft Commerce gateway, over the WSPay form protocol Monri runs since acquiring WSPay. Two years in production on Croatian stores before this release.

What it does

  • Hosted card form: Commerce opens the purchase, the plugin posts the signed request (shop, cart id, amount, customer data) to the hosted form. If the site sets Commerce's gatewayPostRedirectTemplate, that template renders the form.
  • Verified return, completed authorization: the form authorizes the card and returns to the plugin. The signature is verified, the authorization is completed over the transaction API (or voided when the form reports failure) and a purchase transaction is recorded on the order.
  • Installments are configured on the shop in the Monri merchant portal; the hosted form offers them and returns the chosen plan with the result.
  • Refund from the order's Transactions tab.
  • Settings accept environment variables for the shop ID and secret key. Croatian control-panel translations included.

Setup

  1. composer require wmd/craft-monri and install the plugin.
  2. Settings → Plugins → Monri: shop ID, secret key, test or production URLs.
  3. Commerce → Gateways → New gateway, type Monri.

The return, cancel and error URLs travel with every payment request, so nothing has to be configured on the Monri side. Test with the test shop credentials and the formtest URLs.

Requirements

Craft CMS 5.0+, Craft Commerce 5.0+, PHP 8.2+.

Installation Instructions

To install this plugin, copy the command above to your terminal.

Reviews

This plugin doesn't have any reviews.

Active Installs
0
Version
1.0.0
License
MIT
Compatibility
Craft 5
Last release
September 20, 2026
Categories