{"id":19390788,"url":"https://github.com/payhelper/payum-mbe4","last_synced_at":"2026-05-15T17:32:36.334Z","repository":{"id":57036782,"uuid":"103504312","full_name":"PayHelper/payum-mbe4","owner":"PayHelper","description":"The Payum extension which provides mbe4 payment integration.","archived":false,"fork":false,"pushed_at":"2017-10-24T09:50:53.000Z","size":1174,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-10T10:25:58.993Z","etag":null,"topics":["payment","payments","payum","payum-extension","php","purchase"],"latest_commit_sha":null,"homepage":null,"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/PayHelper.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-14T08:05:13.000Z","updated_at":"2017-12-06T14:00:08.000Z","dependencies_parsed_at":"2022-08-24T14:11:07.493Z","dependency_job_id":null,"html_url":"https://github.com/PayHelper/payum-mbe4","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PayHelper%2Fpayum-mbe4","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PayHelper%2Fpayum-mbe4/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PayHelper%2Fpayum-mbe4/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PayHelper%2Fpayum-mbe4/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PayHelper","download_url":"https://codeload.github.com/PayHelper/payum-mbe4/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232859822,"owners_count":18587633,"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":["payment","payments","payum","payum-extension","php","purchase"],"created_at":"2024-11-10T10:23:17.576Z","updated_at":"2026-05-15T17:32:36.279Z","avatar_url":"https://github.com/PayHelper.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Payum mbe4 Extension [![Build Status](https://travis-ci.org/PayHelper/payum-mbe4.svg)](https://travis-ci.org/PayHelper/payum-mbe4) [![StyleCI](https://styleci.io/repos/103504312/shield?branch=master)](https://styleci.io/repos/103504312)\n\nThe Payum extension. It provides [mbe4](http://www.mbe4.de/) payment integration.\n\nGetting Started\n===============\n\nRequirements\n----------------\n\nThis library requires PHP 7.1 or higher.\n\nInstalling the extension\n------------------------\n\nInstall this extension as a Composer dependency by requiring it in a `composer.json` file:\n\n```bash\ncomposer require payhelper/payum-mbe4\n```\n\nRegister the `mbe4` Payum factory using `PayumBuilder`:\n\n```php\nuse Payum\\Core\\GatewayFactoryInterface;\nuse PayHelper\\Payum\\Mbe4\\Mbe4GatewayFactory;\n\n$payumBuilder-\u003eaddGatewayFactory('mbe4', function(array $config, GatewayFactoryInterface $gatewayFactory) {\n    return new Mbe4GatewayFactory($config, $gatewayFactory);\n});\n\n$payumBuilder-\u003eaddGateway('mbe4', [\n    'factory' =\u003e 'mbe4',\n    'username' =\u003e 'username', // change this\n    'password' =\u003e 'password', // change this\n    'clientId' =\u003e 4321, // change this\n    'serviceId' =\u003e 1234, // change this\n    'contentclass' =\u003e 1, // change this, see mbe4 documentation below\n]);\n``` \n\nSupported methods\n-----------------\n\nThis extension supports only single payments, no subscriptions.\n\n- [Single offsite payment](Resources/doc/single_payment.md)\n\nSee `mbe4` [documentation](Resources/doc/mbe4_documentation.pdf).\n\nSymfony integration\n-------------------\n\n1. PayumBundle installation\n\nIn order to use that extension with the Symfony, you will need to install [PayumBundle](https://github.com/Payum/PayumBundle) first and configure it according to its documentation.\n\n```bash\ncomposer require payum/payum-bundle ^2.0\n```\n\n2. Register `mbe4` Gateway Factory as a service\n\n```yaml\n# app/config/services.yml\n\nservices:\n    app.payum.mbe4.factory:\n        class: Payum\\Core\\Bridge\\Symfony\\Builder\\GatewayFactoryBuilder\n        arguments: [PayHelper\\Payum\\Mbe4\\Mbe4GatewayFactory]\n        tags:\n            - { name: payum.gateway_factory_builder, factory: mbe4 }\n```\n\n3. Configure the gateway\n\n```yaml\n# app/config/config.yml\n\npayum:\n    gateways:\n        mbe4:\n            factory: mbe4\n            username: username # change this\n            password: password # change this\n            clientId: 4321 # change this\n            serviceId: 1234 # change this\n            contentclass: 1 # change this\n```\n\n4. Gateway usage\n\nRetrieve it from the `payum` service:\n\n```php\n$gateway = $this-\u003eget('payum')-\u003egetGeteway('mbe4');\n```\n\nLicense\n-------\nThis library is licensed under the [GNU GPLv3](LICENSE) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpayhelper%2Fpayum-mbe4","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpayhelper%2Fpayum-mbe4","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpayhelper%2Fpayum-mbe4/lists"}