{"id":18543302,"url":"https://github.com/fastuptime/fast_paymax","last_synced_at":"2025-05-15T05:10:46.344Z","repository":{"id":65593729,"uuid":"594528516","full_name":"fastuptime/fast_paymax","owner":"fastuptime","description":"Paymax Sanal Pos Link Oluşturma NodeJs","archived":false,"fork":false,"pushed_at":"2023-08-17T22:50:12.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T08:44:58.625Z","etag":null,"topics":["paymax","sanal-pos","sanal-pos-entegrasyonu","sanalpos"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/fast-paymax","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fastuptime.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-28T20:33:27.000Z","updated_at":"2024-05-25T17:49:37.000Z","dependencies_parsed_at":"2024-12-26T05:26:10.441Z","dependency_job_id":"19a7228f-0690-4f0b-9d53-e04d9e4d065d","html_url":"https://github.com/fastuptime/fast_paymax","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"787f7068d3f3580c66fe3090f1c5f99c62812bc4"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastuptime%2Ffast_paymax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastuptime%2Ffast_paymax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastuptime%2Ffast_paymax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastuptime%2Ffast_paymax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fastuptime","download_url":"https://codeload.github.com/fastuptime/fast_paymax/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254276473,"owners_count":22043869,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["paymax","sanal-pos","sanal-pos-entegrasyonu","sanalpos"],"created_at":"2024-11-06T20:13:23.353Z","updated_at":"2025-05-15T05:10:46.316Z","avatar_url":"https://github.com/fastuptime.png","language":"JavaScript","funding_links":["https://github.com/sponsors/fastuptime"],"categories":[],"sub_categories":[],"readme":"# Fast Paymax\r\n\r\n\r\n# 🎈 Images 🎈\r\n\r\n![image](https://user-images.githubusercontent.com/63351166/215289937-b27e1a25-5eaa-473c-bef0-bb9e1136182f.png)\r\n\r\n# 🌱 Example Create Link Paymax 🌱\r\n\r\n```\r\nconst paymax = require('fast-paymax');\r\n\r\nconst data = {\r\n    referer: 'localhost', // Referer Domain example.com\r\n    hash: 'xxxx', // Api Hash Anahtarı\r\n    userName: 'xxxx', // Apı User\r\n    password: 'xxxxxxxxxxx', // Api Key\r\n    shopCode: 'xxx', // Api Mağaza Kodu\r\n    productName: 'productName',\r\n    productData: 'productData',\r\n    productType: 'DIJITAL_URUN',\r\n    productsTotalPrice: 21,\r\n    orderPrice: 20.00,\r\n    currency: 'TRY',\r\n    orderId: '20',\r\n    locale: 'locale',\r\n    conversationId: 'DIJITAL_URUN',\r\n    buyerName: 'buyerName',\r\n    buyerSurName: 'buyerSurName',\r\n    buyerGsmNo: 'buyerGsmNo',\r\n    buyerMail: 'buyerEmail@gmail.com',\r\n    buyerIp: '124.432.423',\r\n    buyerAdress: 'buyerAdress',\r\n    BuyerCountry: 'BuyerCountry',\r\n    BuyerCity: 'BuyerCity',\r\n    buyerDistrict: 'buyerDistrict',\r\n    callbackOkUrl: 'http://localhost/callbackOkUrl',\r\n    callbackFailUrl: 'http://localhost/callbackFailUrl',\r\n};\r\n\r\npaymax.createPaymentLink(data, (err, res) =\u003e {\r\n    console.log(err, res);\r\n});\r\n\r\n```\r\n# 🎏 Example Express Fast-Paymax 🎏\r\n\r\n```js\r\nconst express = require('express');\r\nconst app = express();\r\nconst paymax = require('fast-paymax');\r\n\r\napp.get('/createPaymentLink', (req, res) =\u003e {\r\n    const data = {\r\n        referer: 'localhost', // Referer Domain example.com\r\n        hash: 'xxxx', // Api Hash Anahtarı\r\n        userName: 'xxxx', // Apı User\r\n        password: 'xxxxxxxxxxx', // Api Key\r\n        shopCode: 'xxx', // Api Mağaza Kodu\r\n        productName: 'productName',\r\n        productData: 'productData',\r\n        productType: 'DIJITAL_URUN',\r\n        productsTotalPrice: 21,\r\n        orderPrice: 20.00,\r\n        currency: 'TRY',\r\n        orderId: '20',\r\n        locale: 'locale',\r\n        conversationId: 'DIJITAL_URUN',\r\n        buyerName: 'buyerName',\r\n        buyerSurName: 'buyerSurName',\r\n        buyerGsmNo: 'buyerGsmNo',\r\n        buyerMail: 'buyerEmail@gmail.com',\r\n        buyerIp: '124.432.423',\r\n        buyerAdress: 'buyerAdress',\r\n        BuyerCountry: 'BuyerCountry',\r\n        BuyerCity: 'BuyerCity',\r\n        buyerDistrict: 'buyerDistrict',\r\n        callbackOkUrl: 'http://localhost/callbackOkUrl',\r\n        callbackFailUrl: 'http://localhost/callbackFailUrl',\r\n    };\r\n\r\n    paymax.createPaymentLink(data, (response) =\u003e {\r\n        //console.log(response);\r\n        if (response.status === 'error') return res.send(response.message);\r\n        res.redirect(response.url);\r\n    });\r\n});\r\n\r\napp.get('/callbackOkUrl', (req, res) =\u003e {\r\n    res.send('Ödeme Başarılı');\r\n});\r\n\r\napp.get('/callbackFailUrl', (req, res) =\u003e {\r\n    res.send('Ödeme Başarısız');\r\n});\r\n\r\napp.get('/callback', async (req, res) =\u003e {\r\n    let data = {\r\n        status: req.body.status,\r\n        paymentStatus: req.body.paymentStatus,\r\n        hash: req.body.hash,\r\n        paymentAmount: req.body.paymentAmount,\r\n        paymentType: req.body.paymentType,\r\n        conversationId: req.body.conversationId,\r\n        orderId: req.body.orderId,\r\n    };\r\n\r\n    if (data.status !== 'success') return res.send('Ödeme Başarısız');\r\n\r\n    // Veritabanı işlemleri\r\n    res.send('ok');\r\n});\r\n\r\n\r\napp.listen(80, () =\u003e {\r\n    console.log('Server Started');\r\n});\r\n\r\n```\r\n\r\n\r\n# 🌘 Example Response Fast-Paymax 🌘\r\n\r\n```js\r\n{\r\n  status: 'success',\r\n  data: {\r\n    status: 'success',\r\n    errorMessage: '',\r\n    payment_page_url: 'https://www.vallet.com.tr/payment-center/en/copay/XXXXXXXXX',\r\n    payment_page_url_domestic_card: 'https://www.vallet.com.tr/payment-center/en/copay/XXXXXXXXX/kredi-karti',\r\n    payment_page_url_bank_transfer_card: 'https://www.vallet.com.tr/payment-center/en/copay/XXXXXXXXX/banka-havale',\r\n    payment_page_url_international_card: 'https://www.vallet.com.tr/payment-center/en/copay/XXXXXXXXX/kredi-karti-dunya',\r\n    ValletOrderNumber: '111111111',\r\n    ValletOrderId: '1111111113',\r\n    conversationId: 'DIJITAL_URUN'\r\n  },\r\n  url: 'https://www.vallet.com.tr/payment-center/en/copay/XXXXXXXXX'\r\n}\r\n```\r\n\r\n# 🛠️ Installation 🛠️\r\n\r\n- `npm i fast-paymax`\r\n\r\n- https://www.vallet.com.tr/merchant/api-manager/api-information.html\r\n\r\n## ⛳Tech Stack ⛳\r\n\r\n**🗄️ Server:** Node, Axios, form-data, crypto, buffer\r\n\r\n---\r\n- ✨ [For Support](https://github.com/sponsors/fastuptime) \u003cbr\u003e\r\n- 💕 [Discord](https://fastuptime.com/discord)\u003cbr\u003e\r\n- 🏓 [Fast Uptime](https://fastuptime.com/)\u003cbr\u003e\r\n- 🪄 All kinds of projects are made \u003cbr\u003e\r\n- 🧨 You can contact us to make a paid project\u003cbr\u003e\r\n- 💸 You can contact for paid installation\u003cbr\u003e\r\n- ☄️ [Click For Contact](mailto:fastuptime@gmail.com)\u003cbr\u003e\r\n\r\n# 🎯 License 🎯\r\n- ⚖️ Its protected by Creative Commons ([CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/))\r\n\r\n\u003ca href=\"https://creativecommons.org/licenses/by-nc-sa/4.0/\" title=\"BYNCSA40\"\u003e\u003cimg src=\"https://licensebuttons.net/l/by-nc-sa/4.0/88x31.png\"\u003e\u003c/a\u003e\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastuptime%2Ffast_paymax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffastuptime%2Ffast_paymax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastuptime%2Ffast_paymax/lists"}