nopCommerce payment plugin scaffold for MakePay checkout.
The plugin is designed for nopCommerce 4.90 and follows the standard plugin layout:
plugin.jsondeclaresPayments.MakePay;MakePayPaymentProcessorimplements a redirection payment method;MakePayCheckoutClientcreates checkout sessions from nopCommerce orders;PaymentMakePayControllerprovides admin settings and a webhook endpoint;- views are copied into
Plugins/Payments.MakePay.
Clone this repository into src/Plugins/Payments.MakePay inside a nopCommerce 4.90 checkout:
git clone https://github.com/makecryptoio/makepay-nopcommerce.git src/Plugins/Payments.MakePayAdd src/Plugins/Payments.MakePay/Nop.Plugin.Payments.MakePay/Nop.Plugin.Payments.MakePay.csproj to the nopCommerce solution, build, then install the plugin from the admin panel.
In Configuration > Local plugins > MakePay:
- enable the plugin;
- set the MakePay API base URL;
- set the API token;
- set the webhook signing secret;
- configure checkout description text.
Configure the MakePay webhook URL as:
https://your-store.example.com/Plugins/PaymentMakePay/Webhook
sequenceDiagram
participant Customer
participant nop as nopCommerce
participant MakePay
Customer->>nop: Place order
nop->>MakePay: Create checkout session
MakePay-->>nop: checkoutUrl
nop-->>Customer: Redirect to checkout
MakePay-->>nop: Paid webhook
nop->>nop: Mark order paid
This standalone repository cannot compile without the nopCommerce host solution. CI validates plugin metadata, expected files, and safety constraints with:
node scripts/validate.mjsFull build validation should run after placing the plugin inside a nopCommerce 4.90 source tree.