Skip to content

makepay-io/makepay-nopcommerce

Repository files navigation

MakePay nopCommerce

nopCommerce payment plugin scaffold for MakePay checkout.

The plugin is designed for nopCommerce 4.90 and follows the standard plugin layout:

  • plugin.json declares Payments.MakePay;
  • MakePayPaymentProcessor implements a redirection payment method;
  • MakePayCheckoutClient creates checkout sessions from nopCommerce orders;
  • PaymentMakePayController provides admin settings and a webhook endpoint;
  • views are copied into Plugins/Payments.MakePay.

Install In A nopCommerce Source Tree

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.MakePay

Add 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.

Configure

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

Payment Flow

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
Loading

Validation

This standalone repository cannot compile without the nopCommerce host solution. CI validates plugin metadata, expected files, and safety constraints with:

node scripts/validate.mjs

Full build validation should run after placing the plugin inside a nopCommerce 4.90 source tree.

About

nopCommerce payment plugin scaffold for MakePay checkout and webhook order reconciliation. Cryptocurrency payment gateway for direct self-custody merchant-wallet settlement, decentralized swaps, and 70+ coin/20+ chain auto-conversion.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors