{"id":23453790,"url":"https://github.com/elsayed85/banquemisr","last_synced_at":"2025-10-04T13:18:20.380Z","repository":{"id":89148419,"uuid":"607155894","full_name":"elsayed85/banquemisr","owner":"elsayed85","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-06T20:15:38.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-09T04:39:58.574Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elsayed85.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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-02-27T12:36:43.000Z","updated_at":"2023-02-27T12:36:52.000Z","dependencies_parsed_at":"2023-06-14T03:15:21.827Z","dependency_job_id":null,"html_url":"https://github.com/elsayed85/banquemisr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"spatie/package-skeleton-laravel","purl":"pkg:github/elsayed85/banquemisr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elsayed85%2Fbanquemisr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elsayed85%2Fbanquemisr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elsayed85%2Fbanquemisr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elsayed85%2Fbanquemisr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elsayed85","download_url":"https://codeload.github.com/elsayed85/banquemisr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elsayed85%2Fbanquemisr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278317143,"owners_count":25967087,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-12-24T02:29:50.286Z","updated_at":"2025-10-04T13:18:20.362Z","avatar_url":"https://github.com/elsayed85.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"misr\u003cbr\u003e\nTestMERCHANT_CBA \u003cbr\u003e\n405de7461df50083d3ce803c91c5bf05\u003cbr\u003e\n\nmeeza\u003cbr\u003e\n10000001117\u003cbr\u003e\n100083\u003cbr\u003e\n\n# QNB Payment Integration Package\n\nbanquemisr Payment Integration Package is a Package for Integrated Payment via banquemisr Bank.\n\n# Install\n\nTo install Package use composer\n\n```php\n  composer require elsayed85/banquemisr:dev-master\n```\n\n# Add service provider \u0026 alias\n\nAdd the following service provider to the array in: ``` config/app.php ```\n  ```php\n  Elsayed85\\Banquemisr\\BanquemisrServiceProvider::class\n  ```\n  \nAdd the following alias to the array in: ``` config/app.php```\n  ```php\n  'Banquemisr' =\u003eElsayed85\\Banquemisr\\Facades\\Banquemisr::class\n  ```\n  \n# Publish the config file\n\n  ```php\n  php artisan vendor:publish\n  ```\n  config file have name ``` BankPayment.php ``` it return an array of payment options like ``` apiOperation, currency, ApiUrl ```\n\n## Usage\n\n```php\n\n\t// Create Session for Payment SandBox Mode\n\tBanquemisr::createSessionSandBox();\n\n\t// Create Session for Payment Live Mode\n\tBanquemisr::createSessionLive();\n\n\t// Start Payment via MasterCard or Visa in SandBox Mode\n\tBanquemisr::createPaymentSandBox();\n\n\t// Start Payment via MasterCard or Visa in Live Mode\n\tBanquemisr::createPaymentLive();\n\n\t// Get Order Details in SandBox Mode\n\tBanquemisr::getOrderDetailsSandBox();\n\n\t// Get Order Details in Live Mode\n\tBanquemisr::getOrderDetailsLive();\n\n\t// Start Payment via Meeza Digital in SandBox Mode\n\tBanquemisr::createPaymentMeezaSandBox();\n\n\t// Start Payment via Meeza Digital in Live Mode\n\tBanquemisr::createPaymentMeezaLive();\n```\n\n## Example of Payment Method via Master Card or Visa in SandBox Mode\n```php\n\n\t// Create Session for Payment\n\t$sessionID = Banquemisr::createSessionSandBox('125550', 'TESTQNBAATEST001', '9c6a123857f1ea50830fa023ad8c8d1b');\n\n\t// Start Payment via MasterCard or Visa\n\t{!! Banquemisr::createPaymentSandBox('success.php', 'fail.php', 'TESTQNBAATEST001', '125550', 20.00, $sessionID, 'Test QNB', 'Cairo', 'ahmedtaherinfo0@gmail.com', 0123456789, 'https://yourdomian.com/images/logo.png') !!}\n\n\t// Get Order Details\n\tdd(Banquemisr::getOrderDetailsSandBox('125550', 'TESTQNBAATEST001', '9c6a123857f1ea50830fa023ad8c8d1b'));\n\n\n```\n\n## Create Session should have contain: \n\n- Your Order ID in your System, Ex: '125550'.\n- Merchant ID  in QNB System, Ex: 'TESTQNBAATEST001'.\n- Merchant Password in QNB System, Ex: '9c6a123857f1ea50830fa023ad8c8d1b'.\n\n## Response of Create Session Method\n- Create and Retrieve Session ID.\n\n## Create Payment Method should have contain: \n\n- Success URL Upon completion of the Request Success Payment, you will be redirect to this URL.\n- Failer URL Upon completion of the Request Failer Payment, you will be redirect to this URL.\n- Merchant ID  in QNB System, Ex: 'TESTQNBAATEST001'.\n- Your Order ID in your System, Ex: '125550'.\n- The Total Price for Order, Ex: '20.00'.\n- Session ID, your Created in last step can you get it via Create Session Method.\n- Site Name, Ex: 'Test QNB'.\n- Site Address, Ex: 'Cairo', can you set null.\n- Site Email, Ex: 'ahmedtaherinfo0@gmail.com', can you set null.\n- Site Phone, Ex: '0123456789', can you set null.\n- Site Logo URL, Ex: 'https://yourdomian.com/images/logo.png', can you set null.\n\n## Get Order Details should have contain: \n\n- Your Order ID in your System, Ex: '125550'.\n- Merchant ID  in QNB System, Ex: 'TESTQNBAATEST001'.\n- Merchant Password in QNB System, Ex: '9c6a123857f1ea50830fa023ad8c8d1b'.\n\n## Response of Get Order Details\n- All Information of Payment, Ex: 'Payment Method, Total Price, Card Number, Transaction Date, ...'.\n\n## Example of Payment Method via Meeza Digital in SandBox Mode\n```php\n\n\t// Start Payment via Meeza Digital\n\t{!! createPaymentMeezaSandBox('success.php', 'fail.php', 10000001117, 100083, 123456, 80) !!}\n\n```\n\n## Create Payment Method should have contain: \n\n- Success URL Upon completion of the Request Success Payment, you will be redirect to this URL.\n- Failer URL Upon completion of the Request Failer Payment, you will be redirect to this URL.\n- The Configured Merchant ID from UPG, Ex: '10000001117'.\n- The Configured Terminal ID from UPG for the Merchant, Ex: '100083'.\n- Your Order ID in your System, Ex: '123456'.\n- The Total Price for Order, Ex: '80.00'.\n\n## Response of Complete Payment\n- Send information of Payment To Success URL via Ajax Post Data.\n\n## Response of Failer Payment\n- Redirect to Failer URL.\n\n## Contributing\n- For major changes, please open an issue first to discuss what you would like to change.\n- Please make sure to update tests as appropriate.\n\n## License\n[GNU General Public License](http://www.gnu.org/licenses/old-licenses/gpl-1.0.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felsayed85%2Fbanquemisr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felsayed85%2Fbanquemisr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felsayed85%2Fbanquemisr/lists"}