NeroPay Docs
API & Integrations

NeroPay for Wix

Official App Link

You can install the NeroPay app directly from the official marketplace link below:

Open NeroPay App - https://wix.to/vLFERhz

 

NeroPay is a secure and easy-to-use online payment solution designed for modern businesses. This integration allows merchants to accept payments directly through their website using multiple currencies (GBP, EUR, and IDR). The integration works seamlessly with any site builder or custom front-end using NeroPay’s REST API.

Step 1: Get Your API Keys

  1. Log in to your NeroPay merchant dashboard.
  2. Navigate to API Keys from the sidebar.
  3. Copy your Public Key and Secret Key .
  4. For testing, use the sandbox environment and its test keys.

Step 2: Configure the App

In your website’s payment settings, enter:

  1. Public Key : Your NeroPay public key
  2. Success URL : Page shown after successful payment
  3. Cancel URL : Page shown if payment is cancelled
  4. IPN URL : Endpoint to receive payment confirmations

Step 3: Example Payment Request (Frontend)

// Example: NeroPay REST API call
const payload = {
public_key: "YOUR_PUBLIC_KEY",
identifier: "WEB-" + Date.now(),
currency: "GBP",
amount: 100.00,
details: "Purchase via NeroPay",
ipn_url: "https://yourdomain.com/ipn",
success_url: "https://yourdomain.com/success",
cancel_url: "https://yourdomain.com/cancel",
customer_name: "John Doe",
customer_email: "john@mail.com"
};
 
fetch("https://eu.neropay.app/payment/initiate", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify(payload)
})
.then(res => res.json())
.then(data => {
if (data.success === "ok") {
window.location.href = data.url;
} else {
alert("Payment error: " + data.message);
}
});

Step 4: Testing in Sandbox Mode

Use the following test credentials for simulation:

  1. Email: test_mode@mail.com
  2. Verification Code: 222666

The sandbox endpoint is:

https://eu.neropay.app/sandbox/payment/initiate

 

Step 5: IPN Validation (Optional)

// Server-side validation example
const crypto = require("crypto");
 
app.post("/ipn", (req, res) => {
const { status, signature, identifier, data } = req.body;
const secret = "YOUR_SECRET_KEY";
const customKey = data.amount + identifier;
 
const expectedSig = crypto
.createHmac("sha256", secret)
.update(customKey)
.digest("hex")
.toUpperCase();
 
if (status === "success" && signature === expectedSig) {
console.log(" Payment verified successfully");
}
 
res.sendStatus(200);
});

Step 6: Go Live

Once tested successfully, switch your endpoint to https://eu.neropay.app/payment/initiate and use your live keys.