{"_id":"@dmasifur/sslcommerz-ts","_rev":"16-7afcbb0d8ab8e3c61cda38da5ce9a953","name":"@dmasifur/sslcommerz-ts","dist-tags":{"latest":"2.3.0"},"versions":{"1.0.0":{"name":"@dmasifur/sslcommerz-ts","version":"1.0.0","keywords":["sslcommerz","payment","gateway","typescript","nodejs"],"author":{"name":"Asifur Rahman"},"license":"MIT","_id":"@dmasifur/sslcommerz-ts@1.0.0","maintainers":[{"name":"dmasifur","email":"dmasifur@gmail.com"}],"dist":{"shasum":"9ebc4265b74d15b554c108d58334d0ea9d88ffe6","tarball":"https://registry.npmjs.org/@dmasifur/sslcommerz-ts/-/sslcommerz-ts-1.0.0.tgz","fileCount":11,"integrity":"sha512-3BpdMxdVCohPi4CkEVirXwOSzmnC/uFB5R8Zyfhl/4qTOEgg6BDdWn8ccPpZkuAxQHt2BhgKmBPDfN3g8O1MIw==","signatures":[{"sig":"MEUCIADZAFuvSUkwVszQGHsTSoF/cztYxRt6MFmkXhBfrLbiAiEA2YFptOBK8y7VWUBhwtDbQXTjGJVXFJLMUlqP193nc4s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15392},"main":"dist/sslcommerz.js","types":"dist/sslcommerz.d.ts","gitHead":"4d6ea89be9dab2625e09a44cefcdcaa8eac1c459","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"dmasifur","email":"dmasifur@gmail.com"},"_npmVersion":"11.0.0","description":"A modern TypeScript wrapper for the SSLCommerz payment gateway.","directories":{},"_nodeVersion":"22.19.0","dependencies":{"form-data":"^4.0.0","node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.8.4","@types/node":"^18.0.0","@types/node-fetch":"^2.6.2"},"_npmOperationalInternal":{"tmp":"tmp/sslcommerz-ts_1.0.0_1758810714676_0.23806898317748892","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@dmasifur/sslcommerz-ts","version":"1.0.2","keywords":["sslcommerz","payment","gateway","typescript","nodejs"],"author":{"name":"Asifur Rahman"},"license":"MIT","_id":"@dmasifur/sslcommerz-ts@1.0.2","maintainers":[{"name":"dmasifur","email":"dmasifur@gmail.com"}],"homepage":"https://github.com/dmasifur/sslcommerz-ts#readme","bugs":{"url":"https://github.com/dmasifur/sslcommerz-ts/issues"},"dist":{"shasum":"86d5a3e1889c8686cd0ee0f99306aad2a37e48d6","tarball":"https://registry.npmjs.org/@dmasifur/sslcommerz-ts/-/sslcommerz-ts-1.0.2.tgz","fileCount":11,"integrity":"sha512-vM5fP5ElqosXKs7FvbPEjxaTl5jsG+KNO6BR/BQVkQgcs/1t7LKv0X03qma6iaqfT+w1vMFYg8vpsE/Ia0SNLw==","signatures":[{"sig":"MEUCIQCvrqvBb1aO6WRywshM38haoSmIgVs2+1dM9npxncRREAIgXL1neKsNDA1MzbzVkiqorONcxFbR1BSgeFBCDoHJkuc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15643},"main":"dist/sslcommerz.js","types":"dist/sslcommerz.d.ts","gitHead":"68f7d7c9f3705a9efa75d363e44db29499af035e","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"dmasifur","email":"dmasifur@gmail.com"},"repository":{"url":"git+https://github.com/dmasifur/sslcommerz-ts.git","type":"git"},"_npmVersion":"11.0.0","description":"A modern TypeScript wrapper for the SSLCommerz payment gateway.","directories":{},"_nodeVersion":"22.19.0","dependencies":{"form-data":"^4.0.0","node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.8.4","@types/node":"^18.0.0","@types/node-fetch":"^2.6.2"},"_npmOperationalInternal":{"tmp":"tmp/sslcommerz-ts_1.0.2_1758811827069_0.07080130078107438","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@dmasifur/sslcommerz-ts","version":"1.0.3","keywords":["sslcommerz","payment","gateway","typescript","nodejs"],"author":{"name":"Asifur Rahman"},"license":"MIT","_id":"@dmasifur/sslcommerz-ts@1.0.3","maintainers":[{"name":"dmasifur","email":"dmasifur@gmail.com"}],"homepage":"https://github.com/dmasifur/sslcommerz-ts#readme","bugs":{"url":"https://github.com/dmasifur/sslcommerz-ts/issues"},"dist":{"shasum":"9f1117cdf683c8d8d2f6f2ef3026fe93579b7cd9","tarball":"https://registry.npmjs.org/@dmasifur/sslcommerz-ts/-/sslcommerz-ts-1.0.3.tgz","fileCount":12,"integrity":"sha512-anhqHrBGrGv8p8gD001SLqxdz+Jer2noR9OoFwZneaRUbK61aGg01hyDGM0qhioxNZnAsSKyJTtBSMkgeEVR5A==","signatures":[{"sig":"MEUCIQDPJYNfBux9UumY5Ou0HL9wh2HzSZSp2tI5I3Le0o5Y0gIgGIuaq+kV4JdrrXSgCp7ithBCkGVeAsaBcB8CsNnV8TE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16866},"main":"dist/sslcommerz.js","types":"dist/sslcommerz.d.ts","exports":{".":{"types":"./dist/sslcommerz.d.ts","import":"./dist/sslcommerz.js","require":"./dist/sslcommerz.js"}},"gitHead":"0b662412bd09d65955e7401e1e1b3e6c20d69ab0","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"dmasifur","email":"dmasifur@gmail.com"},"repository":{"url":"git+https://github.com/dmasifur/sslcommerz-ts.git","type":"git"},"_npmVersion":"11.0.0","description":"A modern TypeScript wrapper for the SSLCommerz payment gateway.","directories":{},"_nodeVersion":"22.19.0","dependencies":{"form-data":"^4.0.0","node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.8.4","@types/node":"^18.0.0","@types/node-fetch":"^2.6.2"},"_npmOperationalInternal":{"tmp":"tmp/sslcommerz-ts_1.0.3_1758829704751_0.45059673215192864","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@dmasifur/sslcommerz-ts","version":"1.0.4","keywords":["sslcommerz","payment","gateway","typescript","nodejs"],"author":{"name":"Asifur Rahman"},"license":"MIT","_id":"@dmasifur/sslcommerz-ts@1.0.4","maintainers":[{"name":"dmasifur","email":"dmasifur@gmail.com"}],"homepage":"https://github.com/dmasifur/sslcommerz-ts#readme","bugs":{"url":"https://github.com/dmasifur/sslcommerz-ts/issues"},"dist":{"shasum":"d1ccbfa7f50c9c35621ec71f5bc70ed350330127","tarball":"https://registry.npmjs.org/@dmasifur/sslcommerz-ts/-/sslcommerz-ts-1.0.4.tgz","fileCount":15,"integrity":"sha512-Wq3lvF64hN1559CRITOeoEG9aGy3KLKWlx/Y7xuD27MTdiczq3UfHkIpHQ8ILMZ2HJ+pHy/BLYNrnyDQxBaYDQ==","signatures":[{"sig":"MEUCIQDw4XN//6bgisRjaJt09tSqhvlUW19d6mTXSC6l2LoUSwIgK0/huJbnLgPwk4L+BeNU4GlldKhuBdXnigONzZdCK30=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20574},"main":"dist/sslcommerz.js","types":"dist/sslcommerz.d.ts","exports":{".":{"types":"./dist/sslcommerz.d.ts","import":"./dist/sslcommerz.js","require":"./dist/sslcommerz.js"}},"gitHead":"b20c9b8a55a93f1299f9bf004a4b3d7e142f4e18","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"dmasifur","email":"dmasifur@gmail.com"},"repository":{"url":"git+https://github.com/dmasifur/sslcommerz-ts.git","type":"git"},"_npmVersion":"11.0.0","description":"A modern TypeScript wrapper for the SSLCommerz payment gateway.","directories":{},"_nodeVersion":"22.19.0","dependencies":{"form-data":"^4.0.0","node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.8.4","@types/node":"^18.0.0","@types/node-fetch":"^2.6.2"},"_npmOperationalInternal":{"tmp":"tmp/sslcommerz-ts_1.0.4_1758830871374_0.9080678801723281","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@dmasifur/sslcommerz-ts","version":"1.0.6","keywords":["sslcommerz","payment","gateway","typescript","nodejs"],"author":{"name":"Asifur Rahman"},"license":"MIT","_id":"@dmasifur/sslcommerz-ts@1.0.6","maintainers":[{"name":"dmasifur","email":"dmasifur@gmail.com"}],"homepage":"https://github.com/dmasifur/sslcommerz-ts#readme","bugs":{"url":"https://github.com/dmasifur/sslcommerz-ts/issues"},"dist":{"shasum":"f2c0c651feb6536ff7b1ce8d96bd67a003e03983","tarball":"https://registry.npmjs.org/@dmasifur/sslcommerz-ts/-/sslcommerz-ts-1.0.6.tgz","fileCount":6,"integrity":"sha512-n3SwVzUko3vT7g7aHcVwhGs/J7gPxwD1BuXfxLvCJhXMPwP/4W8+jnDSGtffS9A+VUH+oWqd0I5XXLT0Tgy8yg==","signatures":[{"sig":"MEUCIQC/slyuDZDb8xIWZlTaKMl4YkSc63Sk6TluW3zPFuK8WQIgagQbBrdQCq2I991zwMSlxQuK9orjCQy7eGxPye0J9b8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6343},"main":"dist/sslcommerz.js","types":"dist/sslcommerz.d.ts","exports":{".":{"types":"./dist/sslcommerz.d.ts","import":"./dist/sslcommerz.js","require":"./dist/sslcommerz.js"}},"gitHead":"db08d7c5b6ddd47188f7b5cf09d2579b0e9ab28a","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"dmasifur","email":"dmasifur@gmail.com"},"repository":{"url":"git+https://github.com/dmasifur/sslcommerz-ts.git","type":"git"},"_npmVersion":"11.0.0","description":"A modern TypeScript wrapper for the SSLCommerz payment gateway.","directories":{},"_nodeVersion":"22.19.0","dependencies":{"form-data":"^4.0.0","node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.8.4","@types/node":"^18.0.0","@types/node-fetch":"^2.6.2"},"_npmOperationalInternal":{"tmp":"tmp/sslcommerz-ts_1.0.6_1758831540089_0.5315720543423916","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@dmasifur/sslcommerz-ts","version":"1.0.7","keywords":["sslcommerz","payment","gateway","typescript","nodejs"],"author":{"name":"Asifur Rahman"},"license":"MIT","_id":"@dmasifur/sslcommerz-ts@1.0.7","maintainers":[{"name":"dmasifur","email":"dmasifur@gmail.com"}],"homepage":"https://github.com/dmasifur/sslcommerz-ts#readme","bugs":{"url":"https://github.com/dmasifur/sslcommerz-ts/issues"},"dist":{"shasum":"d996daa09dd7016a101fa7de9508f141cb421ba1","tarball":"https://registry.npmjs.org/@dmasifur/sslcommerz-ts/-/sslcommerz-ts-1.0.7.tgz","fileCount":6,"integrity":"sha512-LOXOGbcCkz2mvPy72dHFb/2R9TcabRR0AQ6Rla7bnhQ9SuYLKVvdYL7P6+1I+mEJelQwbAzy3ClPhVWP7qdT3g==","signatures":[{"sig":"MEUCIChi49OaXGh+FKTd6ymS8aDbUhEP5CrE4RDE0Na5ffLvAiEAoFKHpjIW3bFIeVhqODVv+yOg2OChWmlWGnYcy2khupQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6227},"main":"dist/sslcommerz.js","types":"dist/sslcommerz.d.ts","exports":{".":{"types":"./dist/sslcommerz.d.ts","import":"./dist/sslcommerz.js","require":"./dist/sslcommerz.js"}},"gitHead":"a0710bd65cb642d7b09eddc335121f3818a931e5","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"dmasifur","email":"dmasifur@gmail.com"},"repository":{"url":"git+https://github.com/dmasifur/sslcommerz-ts.git","type":"git"},"_npmVersion":"10.8.2","description":"A modern TypeScript wrapper for the SSLCommerz payment gateway.","directories":{},"_nodeVersion":"18.20.8","dependencies":{"form-data":"^4.0.0","node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.8.4","@types/node":"^18.0.0","@types/node-fetch":"^2.6.2"},"_npmOperationalInternal":{"tmp":"tmp/sslcommerz-ts_1.0.7_1758834589029_0.6669233017624008","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@dmasifur/sslcommerz-ts","version":"1.0.9","keywords":["sslcommerz","payment","gateway","typescript","nodejs"],"author":{"name":"Asifur Rahman"},"license":"MIT","_id":"@dmasifur/sslcommerz-ts@1.0.9","maintainers":[{"name":"dmasifur","email":"dmasifur@gmail.com"}],"homepage":"https://github.com/dmasifur/sslcommerz-ts#readme","bugs":{"url":"https://github.com/dmasifur/sslcommerz-ts/issues"},"dist":{"shasum":"3e2d9ee9e3948ea5e2bf2b29a91648c88bdae319","tarball":"https://registry.npmjs.org/@dmasifur/sslcommerz-ts/-/sslcommerz-ts-1.0.9.tgz","fileCount":6,"integrity":"sha512-hfpSGFzXm6aKrOciFHnCbvr5FZGMXfR9aVL8yuupK+NFwLuFJEE46llqNNfZKKcWG7LZ86FLUWdhwl3rXzTwdA==","signatures":[{"sig":"MEUCIQCBcuQ65PAzaS4YxlYQQgBPnZqwMCnYvKxXslVWlhibPAIgNurwcjBrGq3ywYLR2lsQNhLKCC3zwunrY+1L+oHHSSw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6227},"main":"dist/sslcommerz.js","types":"dist/sslcommerz.d.ts","exports":{".":{"types":"./dist/sslcommerz.d.ts","import":"./dist/sslcommerz.js","require":"./dist/sslcommerz.js"}},"gitHead":"ad8350cc52b30a124bdb9507a40244f173cc73c8","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"dmasifur","email":"dmasifur@gmail.com"},"repository":{"url":"git+https://github.com/dmasifur/sslcommerz-ts.git","type":"git"},"_npmVersion":"10.8.2","description":"A modern TypeScript wrapper for the SSLCommerz payment gateway.","directories":{},"_nodeVersion":"18.20.8","dependencies":{"form-data":"^4.0.0","node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.8.4","@types/node":"^18.0.0","@types/node-fetch":"^2.6.2"},"_npmOperationalInternal":{"tmp":"tmp/sslcommerz-ts_1.0.9_1758835347138_0.11827882860683725","host":"s3://npm-registry-packages-npm-production"}},"1.0.10":{"name":"@dmasifur/sslcommerz-ts","version":"1.0.10","keywords":["sslcommerz","payment","gateway","typescript","nodejs"],"author":{"name":"Asifur Rahman"},"license":"MIT","_id":"@dmasifur/sslcommerz-ts@1.0.10","maintainers":[{"name":"dmasifur","email":"dmasifur@gmail.com"}],"homepage":"https://github.com/dmasifur/sslcommerz-ts#readme","bugs":{"url":"https://github.com/dmasifur/sslcommerz-ts/issues"},"dist":{"shasum":"c9536435e3f04aad425b08faeb92fc907ab789bc","tarball":"https://registry.npmjs.org/@dmasifur/sslcommerz-ts/-/sslcommerz-ts-1.0.10.tgz","fileCount":6,"integrity":"sha512-7CGeN3eRUyxuhNHqZnx8e368ps/eE3pgeoTNakHlwVwbceV31WPsDjj40i9d0Houl4taPZrZ9QrvgUz1hNxpNw==","signatures":[{"sig":"MEUCIQDIW+lZnzzY+QhkeB7AhFlVuwsuALDFTf64azwZTQukhgIgMpxJlA46htwktXz4oCwbvBFnL+VLCcPBt7l8vHtKu+4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6344},"main":"dist/sslcommerz.js","types":"dist/sslcommerz.d.ts","exports":{".":{"types":"./dist/sslcommerz.d.ts","import":"./dist/sslcommerz.js","require":"./dist/sslcommerz.js"}},"gitHead":"ba1fb920c9b41bcf7e29287f947f704ebc745f10","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"dmasifur","email":"dmasifur@gmail.com"},"repository":{"url":"git+https://github.com/dmasifur/sslcommerz-ts.git","type":"git"},"_npmVersion":"11.0.0","description":"A modern TypeScript wrapper for the SSLCommerz payment gateway.","directories":{},"_nodeVersion":"22.19.0","dependencies":{"form-data":"^4.0.0","node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.8.4","@types/node":"^18.0.0","@types/node-fetch":"^2.6.2"},"_npmOperationalInternal":{"tmp":"tmp/sslcommerz-ts_1.0.10_1758836096368_0.21884482474408085","host":"s3://npm-registry-packages-npm-production"}},"1.0.11":{"name":"@dmasifur/sslcommerz-ts","version":"1.0.11","keywords":["sslcommerz","payment","gateway","typescript","nodejs"],"author":{"name":"Asifur Rahman"},"license":"MIT","_id":"@dmasifur/sslcommerz-ts@1.0.11","maintainers":[{"name":"dmasifur","email":"dmasifur@gmail.com"}],"homepage":"https://github.com/dmasifur/sslcommerz-ts#readme","bugs":{"url":"https://github.com/dmasifur/sslcommerz-ts/issues"},"dist":{"shasum":"0cf840cfd022132fb3e180d4b9227736a811c21c","tarball":"https://registry.npmjs.org/@dmasifur/sslcommerz-ts/-/sslcommerz-ts-1.0.11.tgz","fileCount":12,"integrity":"sha512-ZVSrzle5F3WnLN+YM6s7vRqmiEDL/pvDKRS41zf1NmGJw35Wt16hXpS9KNMmxZA26y89RyBagh7wFsiTj8yb6g==","signatures":[{"sig":"MEYCIQC/9uEE1kvH381+OErlbVpwK6YgTS42RUEmnfrHitoOHAIhAJpk2Wh2klyJEBh0kyV4l0wdxLnos3T0OrPUnUTuwVi6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16588},"main":"dist/sslcommerz.js","types":"dist/sslcommerz.d.ts","exports":{".":{"types":"./dist/sslcommerz.d.ts","import":"./dist/sslcommerz.js","require":"./dist/sslcommerz.js"}},"gitHead":"c1cc1aa6f25cf520fdfccb8d8dcb458b82e25fbd","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"dmasifur","email":"dmasifur@gmail.com"},"repository":{"url":"git+https://github.com/dmasifur/sslcommerz-ts.git","type":"git"},"_npmVersion":"10.8.2","description":"A modern TypeScript wrapper for the SSLCommerz payment gateway.","directories":{},"_nodeVersion":"18.20.8","dependencies":{"form-data":"^4.0.0","node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.8.4","@types/node":"^18.0.0","@types/node-fetch":"^2.6.2"},"_npmOperationalInternal":{"tmp":"tmp/sslcommerz-ts_1.0.11_1758837042829_0.2984546139752198","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@dmasifur/sslcommerz-ts","version":"2.0.2","keywords":["sslcommerz","payment","gateway","typescript","nodejs"],"author":{"name":"Asifur Rahman"},"license":"MIT","_id":"@dmasifur/sslcommerz-ts@2.0.2","maintainers":[{"name":"dmasifur","email":"dmasifur@gmail.com"}],"homepage":"https://github.com/dmasifur/sslcommerz-ts#readme","bugs":{"url":"https://github.com/dmasifur/sslcommerz-ts/issues"},"dist":{"shasum":"827ce56edd703828ba09b9ad149bf5ab4437c0d6","tarball":"https://registry.npmjs.org/@dmasifur/sslcommerz-ts/-/sslcommerz-ts-2.0.2.tgz","fileCount":12,"integrity":"sha512-LKVnRG3B3PUX04ckAbtn1kQz7Ap0H2Dc0JCaDaXJqIriiQoQVIZVoRTb2fFbPpN37oJQbAe8QHio1Q9/uDqGvg==","signatures":[{"sig":"MEQCIGdtScCAaM8gm9Iy6hPh+lTu0rb4SypI2zamJl27B4fVAiBR+y1y5iBiKF2cP3m6US2Wp5+cMBKULpMRvKJChKSnvA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16835},"main":"dist/sslcommerz.js","types":"dist/sslcommerz.d.ts","exports":{".":{"types":"./dist/sslcommerz.d.ts","import":"./dist/sslcommerz.js","require":"./dist/sslcommerz.js"}},"gitHead":"7b5ca9cdd3b0e73df9eadde91225a1200f7acfe9","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"dmasifur","email":"dmasifur@gmail.com"},"repository":{"url":"git+https://github.com/dmasifur/sslcommerz-ts.git","type":"git"},"_npmVersion":"10.8.2","description":"A modern TypeScript wrapper for the SSLCommerz payment gateway.","directories":{},"_nodeVersion":"18.20.8","dependencies":{"form-data":"^4.0.0","node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.8.4","@types/node":"^18.0.0","@types/node-fetch":"^2.6.2"},"_npmOperationalInternal":{"tmp":"tmp/sslcommerz-ts_2.0.2_1758837842375_0.18354712542102325","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"@dmasifur/sslcommerz-ts","version":"2.1.0","keywords":["sslcommerz","payment","gateway","typescript","nodejs"],"author":{"name":"Asifur Rahman"},"license":"MIT","_id":"@dmasifur/sslcommerz-ts@2.1.0","maintainers":[{"name":"dmasifur","email":"dmasifur@gmail.com"}],"homepage":"https://github.com/dmasifur/sslcommerz-ts#readme","bugs":{"url":"https://github.com/dmasifur/sslcommerz-ts/issues"},"dist":{"shasum":"b840a04d26be13d1a27ae80d4fec7338f33e8793","tarball":"https://registry.npmjs.org/@dmasifur/sslcommerz-ts/-/sslcommerz-ts-2.1.0.tgz","fileCount":12,"integrity":"sha512-5A6ftJJuhtJtThRbPxagMkHbXIv91EB4Gp2Nr3S+BRaiTLnabsCMthaI3ggAAa2UDzgJfLzuhpvJFspnmlk3NA==","signatures":[{"sig":"MEYCIQDgamVMCNwzqK0miYAe7rfghnsvM+uyHwgApuH6Gjdx/wIhAJ3tFDKJQtluG+f1Nm7q7+OS5+0vKZltPPdM4RkV3OSX","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27575},"main":"dist/sslcommerz.js","types":"dist/sslcommerz.d.ts","exports":{".":{"types":"./dist/sslcommerz.d.ts","import":"./dist/sslcommerz.js","require":"./dist/sslcommerz.js"}},"gitHead":"83f45e7374b8a87421ea118d5e102ec9b9d56348","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"dmasifur","email":"dmasifur@gmail.com"},"repository":{"url":"git+https://github.com/dmasifur/sslcommerz-ts.git","type":"git"},"_npmVersion":"10.8.2","description":"A modern TypeScript wrapper for the SSLCommerz payment gateway.","directories":{},"_nodeVersion":"18.20.8","dependencies":{"form-data":"^4.0.0","node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.8.4","@types/node":"^18.0.0","@types/node-fetch":"^2.6.2"},"_npmOperationalInternal":{"tmp":"tmp/sslcommerz-ts_2.1.0_1758843134721_0.599113668897582","host":"s3://npm-registry-packages-npm-production"}},"2.2.0":{"name":"@dmasifur/sslcommerz-ts","version":"2.2.0","keywords":["sslcommerz","payment","gateway","typescript","nodejs"],"author":{"name":"Asifur Rahman"},"license":"MIT","_id":"@dmasifur/sslcommerz-ts@2.2.0","maintainers":[{"name":"dmasifur","email":"dmasifur@gmail.com"}],"homepage":"https://github.com/dmasifur/sslcommerz-ts#readme","bugs":{"url":"https://github.com/dmasifur/sslcommerz-ts/issues"},"dist":{"shasum":"2773911b32994a29bbe8111fd830c8b7689258b6","tarball":"https://registry.npmjs.org/@dmasifur/sslcommerz-ts/-/sslcommerz-ts-2.2.0.tgz","fileCount":12,"integrity":"sha512-hcJRirSOvD1QQN6uixZaSemKXHo2946TNZhkQVkvseRdMRpHbLrIyTGSGDOx04n+Y+ZU9NIGzjClu5iRRzT4Zw==","signatures":[{"sig":"MEUCIDrmz0qECyhZHTjptAvrGKFc+PRK3bSVaLLK5aW/RtaiAiEA2LgnIpztbtx2nmW/49rOHb/tIWED1uw+31KVpJgN+5Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27575},"main":"dist/sslcommerz.js","types":"dist/sslcommerz.d.ts","exports":{".":{"types":"./dist/sslcommerz.d.ts","import":"./dist/sslcommerz.js","require":"./dist/sslcommerz.js"}},"gitHead":"3d2cdfffd30407a5a05a22d1affe6a7e7d3b9114","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"dmasifur","email":"dmasifur@gmail.com"},"repository":{"url":"git+https://github.com/dmasifur/sslcommerz-ts.git","type":"git"},"_npmVersion":"10.8.2","description":"A modern TypeScript wrapper for the SSLCommerz payment gateway.","directories":{},"_nodeVersion":"18.20.8","dependencies":{"form-data":"^4.0.0","node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.8.4","@types/node":"^18.0.0","@types/node-fetch":"^2.6.2"},"_npmOperationalInternal":{"tmp":"tmp/sslcommerz-ts_2.2.0_1758843539152_0.5262876350715355","host":"s3://npm-registry-packages-npm-production"}},"2.3.0":{"name":"@dmasifur/sslcommerz-ts","version":"2.3.0","description":"A modern TypeScript wrapper for the SSLCommerz payment gateway.","main":"dist/sslcommerz.js","types":"dist/sslcommerz.d.ts","exports":{".":{"import":"./dist/sslcommerz.js","require":"./dist/sslcommerz.js","types":"./dist/sslcommerz.d.ts"}},"repository":{"type":"git","url":"git+https://github.com/dmasifur/sslcommerz-ts.git"},"bugs":{"url":"https://github.com/dmasifur/sslcommerz-ts/issues"},"homepage":"https://github.com/dmasifur/sslcommerz-ts#readme","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"keywords":["sslcommerz","payment","gateway","typescript","nodejs"],"author":{"name":"Asifur Rahman"},"license":"MIT","dependencies":{"form-data":"^4.0.0","node-fetch":"^2.6.7"},"devDependencies":{"@types/node":"^18.0.0","@types/node-fetch":"^2.6.2","typescript":"^4.8.4"},"_id":"@dmasifur/sslcommerz-ts@2.3.0","gitHead":"699c040408de05ad101829954f327be4148e5de1","_nodeVersion":"18.20.8","_npmVersion":"10.8.2","dist":{"integrity":"sha512-VfeOeiJb0xib14NmEIxVMkdXXGxXH0pMJ3Wf2r1XBzL3R6JtrmyBhus/uhlwNg3c55E/nIfyzhAsDZ18ZkLlYw==","shasum":"ea87b6a1390a3551a08872e42c58889d0eeb441d","tarball":"https://registry.npmjs.org/@dmasifur/sslcommerz-ts/-/sslcommerz-ts-2.3.0.tgz","fileCount":12,"unpackedSize":27575,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCZgFwoUU7WxWvxkPWRww18B3MxsNpOsZWBnhXSNzL8JQIhAOhUDlZI5FepBl47zqrAWooy4SJgvYXnU/gVtTgE2SX5"}]},"_npmUser":{"name":"dmasifur","email":"dmasifur@gmail.com"},"directories":{},"maintainers":[{"name":"dmasifur","email":"dmasifur@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sslcommerz-ts_2.3.0_1758844280642_0.807229515644408"},"_hasShrinkwrap":false}},"time":{"created":"2025-09-25T14:31:54.608Z","modified":"2025-09-25T23:51:21.021Z","0.1.0":"2025-09-25T14:26:22.421Z","0.1.1":"2025-09-25T14:29:18.668Z","1.0.0":"2025-09-25T14:31:54.878Z","1.0.2":"2025-09-25T14:50:27.251Z","1.0.3":"2025-09-25T19:48:24.937Z","1.0.4":"2025-09-25T20:07:51.563Z","1.0.6":"2025-09-25T20:19:00.290Z","1.0.7":"2025-09-25T21:09:49.208Z","1.0.9":"2025-09-25T21:22:27.330Z","1.0.10":"2025-09-25T21:34:56.553Z","1.0.11":"2025-09-25T21:50:43.035Z","2.0.2":"2025-09-25T22:04:02.597Z","2.1.0":"2025-09-25T23:32:14.930Z","2.2.0":"2025-09-25T23:38:59.385Z","2.3.0":"2025-09-25T23:51:20.831Z"},"bugs":{"url":"https://github.com/dmasifur/sslcommerz-ts/issues"},"author":{"name":"Asifur Rahman"},"license":"MIT","homepage":"https://github.com/dmasifur/sslcommerz-ts#readme","keywords":["sslcommerz","payment","gateway","typescript","nodejs"],"repository":{"type":"git","url":"git+https://github.com/dmasifur/sslcommerz-ts.git"},"description":"A modern TypeScript wrapper for the SSLCommerz payment gateway.","maintainers":[{"name":"dmasifur","email":"dmasifur@gmail.com"}],"readme":"# SSLCommerz-TS (`@dmasifur/sslcommerz-ts`)\r\n\r\n**This is a modern, TypeScript-first rewrite of the official `sslcommerz-nodejs` library.**\r\n\r\nThis version provides full type safety, a promise-based API using `async/await`, robust error handling, and a much-improved developer experience.\r\n\r\n\r\n\r\n# SSLCommerz for Node.js (TypeScript)\r\n\r\n**This is a modern, TypeScript-first rewrite of the official `sslcommerz-nodejs` library.**\r\n\r\n*Special thanks to the original authors at [sslcommerz/SSLCommerz-NodeJS](https://github.com/sslcommerz/SSLCommerz-NodeJS).*\r\n\r\n[![npm version](https://img.shields.io/npm/v/@dmasifur/sslcommerz-ts.svg)](https://www.npmjs.com/package/@dmasifur/sslcommerz-ts)\r\n\r\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\r\n\r\nA modern, lightweight, and fully-typed TypeScript wrapper for the SSLCommerz payment gateway. This library simplifies integration with a clean, promise-based API and strong type safety, allowing you to build reliable payment flows with confidence.\r\n\r\n## Features\r\n\r\n- ✅ **Modern API:** Uses `async/await` for clean, readable code.\r\n- ✅ **Fully Typed:** Written in TypeScript for excellent autocompletion and compile-time safety.\r\n- ✅ **Lightweight:** Minimal dependencies to keep your project lean.\r\n- ✅ **Promise-Based:** No legacy callback-based code.\r\n- ✅ **Comprehensive:** Covers common SSLCommerz APIs including Payment Initialization, Validation, Refunds, and Transaction Queries.\r\n\r\n## Installation\r\n\r\n```bash\r\n# Using npm\r\nnpm install @dmasifur/sslcommerz-ts\r\n\r\n# Using pnpm\r\npnpm add @dmasifur/sslcommerz-ts\r\n\r\n# Using yarn\r\nyarn add @dmasifur/sslcommerz-ts\r\n```\r\n\r\n## Quick Start: Usage Recipes\r\n\r\nHere are complete, runnable examples for both TypeScript and JavaScript to get you started in minutes.\r\n\r\n---\r\n\r\n### 📜 TypeScript (ESM) Recipe\r\n\r\nThis example shows how to use the library in a modern TypeScript project with ES Modules.\r\n\r\n**1. Install Dependencies:**\r\n```bash\r\nnpm install @dmasifur/sslcommerz-ts express dotenv\r\nnpm install -D typescript ts-node @types/express @types/node\r\n```\r\n\r\n**2. Configure `tsconfig.json`:**\r\n\r\n```json\r\n{\r\n  \"compilerOptions\": {\r\n    \"module\": \"NodeNext\",\r\n    \"moduleResolution\": \"NodeNext\",\r\n    \"target\": \"ES2022\",\r\n    \"strict\": true,\r\n    \"esModuleInterop\": true,\r\n    \"skipLibCheck\": true,\r\n    \"forceConsistentCasingInFileNames\": true\r\n  }\r\n}\r\n```\r\n\r\n**3. Set up your env variables (`.env`):**\r\n\r\n\r\n```bash\r\n// .env\r\n\r\nSTORE_ID=\r\nSTORE_PASSWORD=\r\n\r\n```\r\n\r\n**4. Set up your server (`index.ts`):**\r\n\r\n```ts\r\n// index.ts\r\n\r\nimport 'dotenv/config';\r\nimport express from 'express';\r\nimport { SslCommerzPayment, } from '@dmasifur/sslcommerz-ts';\r\nimport type {PaymentData,} from '@dmasifur/sslcommerz-ts'\r\n\r\n\r\nconst app = express();\r\nconst port = 3000;\r\n\r\n\r\n\r\napp.use(express.urlencoded({ extended: true }));\r\n\r\n\r\napp.get('/', (req, res) => {\r\n  res.send(`\r\n    <h1>SSLCommerz NodeJS TypeScript Library</h1>\r\n    <p>Click the button to start a test payment.</p>\r\n    <form action=\"/init\" method=\"post\">\r\n      <button type=\"submit\">Pay 10 BDT</button>\r\n    </form>\r\n  `);\r\n});\r\n\r\nconst store_id = process.env.STORE_ID!;\r\nconst store_passwd = process.env.STORE_PASSWORD!;\r\nconst is_live = false; // false for sandbox\r\n\r\nconsole.log(store_id,store_passwd)\r\nconst sslCommerzPayment = new SslCommerzPayment(store_id, store_passwd, is_live);\r\n\r\n\r\napp.post('/init', async (req, res) => {\r\n  console.log('-> [/init] Received payment initiation request');\r\n\r\n  const data: PaymentData = {\r\n    total_amount: 10,\r\n    currency: 'BDT',\r\n    tran_id: 'TEST' + new Date().getTime(),\r\n    success_url: `http://localhost:${port}/success`,\r\n    fail_url: `http://localhost:${port}/fail`,\r\n    cancel_url: `http://localhost:${port}/cancel`,\r\n    ipn_url: `http://localhost:${port}/ipn`,\r\n    shipping_method: 'N/A',\r\n    product_name: 'Test Product',\r\n    product_category: 'General',\r\n    product_profile: 'general',\r\n    cus_name: 'Test Customer',\r\n    cus_email: 'test@example.com',\r\n    cus_add1: 'Dhaka',\r\n    cus_city: 'Dhaka',\r\n    cus_postcode: '1000',\r\n    cus_country: 'Bangladesh',\r\n    cus_phone: '01711111111',\r\n    num_of_item: 1,\r\n    ship_name:'test_ship',\r\n    ship_add1:'ship_addr',\r\n    ship_city:'ship_city',\r\n    ship_postcode:'1111',\r\n    ship_country:'ship_country'\r\n  };\r\n\r\n  try {\r\n    const apiResponse = await sslCommerzPayment.init(data);\r\n    //console.log(apiResponse)\r\n    if (apiResponse.GatewayPageURL) {\r\n      console.log('--> Redirecting to:', apiResponse.GatewayPageURL);\r\n      res.redirect(apiResponse.GatewayPageURL);\r\n    } else {\r\n      res.status(500).send('Failed to get Gateway Page URL.');\r\n    }\r\n  } catch (error) {\r\n    res.status(500).send(`Error: ${error}`);\r\n  }\r\n});\r\n\r\napp.post('/success', async (req, res) => {\r\n\r\n  try {\r\n    const validation = await sslCommerzPayment.validate(req.body.val_id);\r\n    if (validation.status === 'VALID' || validation.status === 'VALIDATED') {\r\n      res.status(200).send(`\r\n        <h1>Payment Successful!</h1>\r\n        <p>Transaction ID: ${req.body.tran_id}</p>\r\n        <p>Validation Status: ${validation.status}</p>\r\n      `);\r\n    } else {\r\n      res.status(400).send(`\r\n        <h1>Payment Successful, but Validation Failed!</h1>\r\n        <p>Transaction ID: ${req.body.tran_id}</p>\r\n      `);\r\n    }\r\n  } catch (error) {\r\n    res.status(500).send(`Error during validation: ${error}`);\r\n  }\r\n});\r\n\r\napp.post('/fail', (req, res) => {\r\n  console.log('-> [/fail] Payment failed');\r\n  res.status(200).send('<h1>Payment Failed!</h1>');\r\n});\r\n\r\napp.post('/cancel', (req, res) => {\r\n  console.log('-> [/cancel] Payment cancelled');\r\n  res.status(200).send('<h1>Payment Cancelled!</h1>');\r\n});\r\n\r\n// The IPN listener is crucial for confirming transactions that might have been interrupted\r\napp.post('/ipn', (req, res) => {\r\n  console.log('-> [/ipn] Received IPN notification');\r\n  console.log('   IPN Body:', req.body);\r\n  // Here you would typically validate the IPN data and update your database\r\n  // For this example, we'll just acknowledge it\r\n  res.status(200).send('IPN Received');\r\n});\r\n\r\n\r\napp.listen(port, () => {\r\n  console.log(`Example app listening on port ${port}`);\r\n  console.log(`Visit http://localhost:${port} to start`);\r\n});\r\n\r\n```\r\n\r\n**5. Run your server (`index.ts`):**\r\n\r\n```bash\r\n  npx ts-node index.ts\r\n```\r\n\r\n\r\n\r\n\r\n### 📜 JavaScript (CommonJS) Recipe\r\n\r\nThis example shows how to use the library in a traditional Node.js project with CommonJS (`require`).\r\n\r\n**1. Install Dependencies:**\r\n```bash\r\nnpm install @dmasifur/sslcommerz-ts express dotenv\r\n```\r\n\r\n```bash\r\n// .env\r\n\r\nSTORE_ID=\r\nSTORE_PASSWORD=\r\n\r\n```\r\n\r\n**2. Set up your server (`index.js`):**\r\n\r\n```js\r\n// index.js\r\n\r\nrequire('dotenv').config();\r\nconst express = require('express');\r\nconst app = express();\r\nconst port = 3000;\r\n\r\n\r\nconst {SslCommerzPayment} = require('@dmasifur/sslcommerz-ts')\r\n\r\n\r\napp.use(express.urlencoded({ extended: true }));\r\n\r\n\r\napp.get('/', (req, res) => {\r\n  res.send(`\r\n    <h1>SSLCommerz NodeJS TypeScript Library</h1>\r\n    <p>Click the button to start a test payment.</p>\r\n    <form action=\"/init\" method=\"post\">\r\n      <button type=\"submit\">Pay 10 BDT</button>\r\n    </form>\r\n  `);\r\n});\r\n\r\nconst store_id = process.env.STORE_ID;\r\nconst store_passwd = process.env.STORE_PASSWORD;\r\nconst is_live = false; // false for sandbox\r\n\r\nconst sslCommerzPayment = new SslCommerzPayment(store_id, store_passwd, is_live);\r\n\r\n\r\napp.post('/init', async (req, res) => {\r\n\r\n  const data = {\r\n    total_amount: 10,\r\n    currency: 'BDT',\r\n    tran_id: 'TEST' + new Date().getTime(),\r\n    success_url: `http://localhost:${port}/success`,\r\n    fail_url: `http://localhost:${port}/fail`,\r\n    cancel_url: `http://localhost:${port}/cancel`,\r\n    ipn_url: `http://localhost:${port}/ipn`,\r\n    shipping_method: 'N/A',\r\n    product_name: 'Test Product',\r\n    product_category: 'General',\r\n    product_profile: 'general',\r\n    cus_name: 'Test Customer',\r\n    cus_email: 'test@example.com',\r\n    cus_add1: 'Dhaka',\r\n    cus_city: 'Dhaka',\r\n    cus_postcode: '1000',\r\n    cus_country: 'Bangladesh',\r\n    cus_phone: '01711111111',\r\n    num_of_item: 1,\r\n    ship_name:'test_ship',\r\n    ship_add1:'ship_addr',\r\n    ship_city:'ship_city',\r\n    ship_postcode:'1111',\r\n    ship_country:'ship_country'\r\n  };\r\n\r\n  try {\r\n    const apiResponse = await sslCommerzPayment.init(data);\r\n\r\n    if (apiResponse.GatewayPageURL) {\r\n      console.log('--> Redirecting to:', apiResponse.GatewayPageURL);\r\n      res.redirect(apiResponse.GatewayPageURL);\r\n    } else {\r\n      res.status(500).send('Failed to get Gateway Page URL.');\r\n    }\r\n  } catch (error) {\r\n    res.status(500).send(`Error: ${error.message}`);\r\n  }\r\n});\r\n\r\napp.post('/success', async (req, res) => {\r\n\r\n  try {\r\n    const validation = await sslCommerzPayment.validate(req.body.val_id);\r\n    if (validation.status === 'VALID' || validation.status === 'VALIDATED') {\r\n      res.status(200).send(`\r\n        <h1>Payment Successful!</h1>\r\n        <p>Transaction ID: ${req.body.tran_id}</p>\r\n        <p>Validation Status: ${validation.status}</p>\r\n      `);\r\n    } else {\r\n      res.status(400).send(`\r\n        <h1>Payment Successful, but Validation Failed!</h1>\r\n        <p>Transaction ID: ${req.body.tran_id}</p>\r\n      `);\r\n    }\r\n  } catch (error) {\r\n     res.status(500).send(`Error during validation: ${error.message}`);\r\n  }\r\n});\r\n\r\napp.post('/fail', (req, res) => {\r\n  console.log('-> [/fail] Payment failed');\r\n  res.status(200).send('<h1>Payment Failed!</h1>');\r\n});\r\n\r\napp.post('/cancel', (req, res) => {\r\n  console.log('-> [/cancel] Payment cancelled');\r\n  res.status(200).send('<h1>Payment Cancelled!</h1>');\r\n});\r\n\r\n// The IPN listener is crucial for confirming transactions that might have been interrupted\r\napp.post('/ipn', (req, res) => {\r\n  console.log('-> [/ipn] Received IPN notification');\r\n  console.log('   IPN Body:', req.body);\r\n  // Here you would typically validate the IPN data and update your database\r\n  // For this example, we'll just acknowledge it\r\n  res.status(200).send('IPN Received');\r\n});\r\n\r\n\r\napp.listen(port, () => {\r\n  console.log(`Example app listening on port ${port}`);\r\n  console.log(`Visit http://localhost:${port} to start`);\r\n});\r\n\r\n```\r\n\r\n**4. Run your server (`index.js`):**\r\n\r\n```bash\r\n  node index.js\r\n```\r\n\r\n\r\n## API Reference\r\n\r\n### `new SslCommerzPayment(store_id, store_passwd, is_live)`\r\nCreates a new client instance.\r\n- `store_id` (string): Your store ID.\r\n- `store_passwd` (string): Your store password.\r\n- `is_live` (boolean): `false` for Sandbox, `true` for Live. Defaults to `false`.\r\n\r\n### `init(data: PaymentData): Promise<InitResponse>`\r\nInitiates a new payment session. Returns a promise that resolves with the session details, including the `GatewayPageURL`.\r\n\r\n### `validate(val_id: string): Promise<ValidationResponse>`\r\nValidates a transaction after the user returns to your `success_url`.\r\n\r\n### `initiateRefund(data: RefundInitiateData): Promise<RefundResponse>`\r\nInitiates a refund for a completed transaction.\r\n\r\n\r\n## Contributing\r\n\r\nContributions are welcome! Please feel free to submit a pull request or open an issue.\r\n\r\n## License\r\n\r\n\r\nThis project is licensed under the MIT License.\r\n","readmeFilename":"readme.md"}