{"id":15296286,"url":"https://github.com/hexageek1337/tripay-library","last_synced_at":"2025-04-13T19:41:21.131Z","repository":{"id":56983986,"uuid":"322615160","full_name":"hexageek1337/TriPay-Library","owner":"hexageek1337","description":"Library untuk TriPay (Payment Gateway Lokal Indonesia) menggunakan bahasa pemrograman PHP versi 7 dan database MariaDB","archived":false,"fork":false,"pushed_at":"2021-09-01T13:11:18.000Z","size":263,"stargazers_count":9,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T10:21:18.581Z","etag":null,"topics":["gateway","gateway-api","library","payment","payment-gateway","php","php7","tripay"],"latest_commit_sha":null,"homepage":"https://denny.my.id/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hexageek1337.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://saweria.co/hexageek1337","https://sociabuzz.com/hexageek1337/tribe","https://paypal.me/hexageek1337"]}},"created_at":"2020-12-18T14:18:18.000Z","updated_at":"2024-07-26T09:30:03.000Z","dependencies_parsed_at":"2022-08-21T12:50:07.636Z","dependency_job_id":null,"html_url":"https://github.com/hexageek1337/TriPay-Library","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexageek1337%2FTriPay-Library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexageek1337%2FTriPay-Library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexageek1337%2FTriPay-Library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexageek1337%2FTriPay-Library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hexageek1337","download_url":"https://codeload.github.com/hexageek1337/TriPay-Library/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248770463,"owners_count":21158982,"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":["gateway","gateway-api","library","payment","payment-gateway","php","php7","tripay"],"created_at":"2024-09-30T18:09:58.017Z","updated_at":"2025-04-13T19:41:21.102Z","avatar_url":"https://github.com/hexageek1337.png","language":"PHP","funding_links":["https://saweria.co/hexageek1337","https://sociabuzz.com/hexageek1337/tribe","https://paypal.me/hexageek1337"],"categories":[],"sub_categories":[],"readme":"# TriPay-Library\nLibrary untuk TriPay (Payment Gateway Lokal Indonesia) menggunakan bahasa pemrograman PHP versi 7 dan database MariaDB\n\n# Installation\n\ninstall with composer\n```bash\n$ composer require hexageek1337/tripay-library\n```\n\nmanual install with git\n```bash\n$ git clone https://github.com/hexageek1337/TriPay-Library\n$ cd TriPay-Library-main\n$ cp lib/Tripay.php your_application_folder\n```\n\n# Usage\n- Pertama registrasi akun tripay terlebih dahulu, bisa melalui link https://denny.my.id/go/tripay\n- Dapatkan API Key dan Private Key pada menu Merchant\n\nSandbox\n![Sandbox Merchant Key](https://github.com/hexageek1337/TriPay-Library/blob/main/tripaykey_sandbox.PNG?raw=true)\nProduction\n![Production Merchant Key](https://github.com/hexageek1337/TriPay-Library/blob/main/tripaykey_production.PNG?raw=true)\n\n- Kemudian pada file ```lib/Tripay.php``` atur koneksi database mysql Anda di ```$this-\u003edbH = new mysqli(\"localhost\", \"root\", \"\", \"bs\");```\n- Lalu perhatikan juga pada file ```lib/Tripay.php``` terdapat ```$field_status,$field_kodetrans,$tabel_trans```, Sesuaikan dengan kondisi database Anda\n- Anda bisa melihat contoh menggunakan library ini di folder ```example```\n\n# List Variable Link\n// URLs Channel\n```\npublic $URL_channelPs = 'https://payment.tripay.co.id/api-sandbox/payment/channel';\npublic $URL_channelPp = 'https://payment.tripay.co.id/api/payment/channel';\npublic $URL_channelMs = 'https://payment.tripay.co.id/api-sandbox/merchant/payment-channel';\npublic $URL_channelMp = 'https://payment.tripay.co.id/api/merchant/payment-channel';\n```\n// URLs Calculator\n```\npublic $URL_calcMs = 'https://payment.tripay.co.id/api-sandbox/merchant/fee-calculator';\npublic $URL_calcMp = 'https://payment.tripay.co.id/api/merchant/fee-calculator';\n```\n// URLs Transaction\n\n// Create\n```\npublic $URL_transMs = 'https://payment.tripay.co.id/api-sandbox/transaction/create';\npublic $URL_transMp = 'https://payment.tripay.co.id/api/transaction/create';\npublic $URL_transOpenMs = '';\npublic $URL_transOpenMp = 'https://payment.tripay.co.id/api/transaction/open-payment/create';\n```\n// Detail Close Sistem\n```\npublic $URL_transDetailMs = 'https://payment.tripay.co.id/api-sandbox/transaction/detail';\npublic $URL_transDetailMp = 'https://payment.tripay.co.id/api/transaction/detail';\n```\n// Detail Open Sistem with uuid\n```\npublic $URL_transDetailOpenMs = '';\npublic $URL_transDetailOpenMp = 'https://payment.tripay.co.id/api/transaction/open-payment/';\npublic $URL_transPembOpenMs = '';\npublic $URL_transPembOpenMp = 'https://payment.tripay.co.id/api/transaction/open-payment/';\n```\n# Regards\nDenny Septian Panggabean\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexageek1337%2Ftripay-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhexageek1337%2Ftripay-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexageek1337%2Ftripay-library/lists"}