A node.js package for making payment transactions with different Iranian IPGs with one single API. (Previously known as "Polypay")
مونوپِی یک پکیج نود جی اس برای انجام تراکنشهای آنلاین با سرویس های درگاه پرداخت مختلف با یک رابط واحد است.
در صورتی که از پکیج خوشتون اومده، بهش استار بدید تا بیشتر دیده بشه و مشکلاتش زودتر برطرف بشن. 🙏
لطفا قبل از استفاده در پروداکشن، از پایدار بودن درایور مطمئن شوید. - جدول پشتیبانی درایور ها
For npm users:
npm install monopay
For yarn users:
yarn add monopay
const driver = getPaymentDriver('zibal', {
merchantId: 'merchant-id',
sandbox: true,
});
const paymentInfo = await driver.requestPayment({
amount: 200000, // IRR
callbackUrl: 'mysite.com/callback',
});
app.all('/callback', async (req, res) => {
const receipt = await driver.verifyPayment(
{
amount: 200000, // IRR
referenceId: 1234,
},
{ ...req.query, ...req.body }
);
res.json({
referenceId: receipt.referenceId,
success: true,
message: 'The payment transaction was successful.',
});
});
A full example with express can be found here
Please read Contribution and Code Of Conduct.
MIT License - Please see License File for more information.
دوست داری بدونی چند ساعت واسه خرید یه چیز باید کار کنی؟
درگاه اتصال به بانک های ایرانی ( درگاه پرداخت بانک ملی ایران،بانک سامان، بانک ملت، درگاه پرداخت زرین پال و ... ) با استفاده از پایتون
DNSLab سایت داینامیک دیاناس
ZarinPal driver for the Omnipay PHP payment processing library
virustotal api wrapper
:lion: Django Persian Pastebin Service + ⚡ RESTful APIs
Integrates the Solar Hijri (Persian) calendar in WordPress
Parse and interact with jalali date