{"id":20213807,"url":"https://github.com/dachcom-digital/payum-postfinance","last_synced_at":"2025-04-10T13:55:08.130Z","repository":{"id":56961220,"uuid":"115720956","full_name":"dachcom-digital/payum-postfinance","owner":"dachcom-digital","description":"PostFinance Gateway for Payum","archived":false,"fork":false,"pushed_at":"2023-02-28T10:32:19.000Z","size":27,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-24T12:39:37.382Z","etag":null,"topics":["ecommerce","payum","postfinance"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dachcom-digital.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2017-12-29T12:31:56.000Z","updated_at":"2023-01-12T10:59:47.000Z","dependencies_parsed_at":"2024-11-14T06:23:33.457Z","dependency_job_id":null,"html_url":"https://github.com/dachcom-digital/payum-postfinance","commit_stats":{"total_commits":23,"total_committers":2,"mean_commits":11.5,"dds":"0.21739130434782605","last_synced_commit":"364b2f7d459242f2ff9163ba9a8238b6d7267cfd"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dachcom-digital%2Fpayum-postfinance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dachcom-digital%2Fpayum-postfinance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dachcom-digital%2Fpayum-postfinance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dachcom-digital%2Fpayum-postfinance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dachcom-digital","download_url":"https://codeload.github.com/dachcom-digital/payum-postfinance/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248020631,"owners_count":21034468,"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":["ecommerce","payum","postfinance"],"created_at":"2024-11-14T06:11:52.438Z","updated_at":"2025-04-10T13:55:08.108Z","avatar_url":"https://github.com/dachcom-digital.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Payum PostFinance\n\n## Important Information\nPostFinance fires the callback page **twice** if the user clicks the *\"abort\"* or *\"ok\"* button.\nYou need to implement a custom HttpRequestVerifierBuilder like [here](https://github.com/coreshop/PayumPostFinanceBundle/blob/master/src/CoreShop/Payum/PostFinance/Security/HttpRequestVerifier.php#L54) to disable the token invalidation!\n\n## PostFinance Backend Configuration\n\n1. In the Global Security Parameters tab, choose \"each parameter followed by the passphrase.\"\n2. The Hash algorithm needs to be SHA-512\n3. Make sure to provide an SHA-IN pass phrase in \"data and origin verification\" tab\n4. Check \"I would like to receive transaction feedback parameters on the redirection URLs and supply a SHA-OUT pass phrase.\" in \"Transaction feedback\"\n\n## Server To Server\nYou may want to enable the server-to-server functionality:\nGo to \"Transaction feedback\" and set \"Direct HTTP server-to-server request\" to \"Always deferred (not immediately after the payment).\" for example.\nIn both URL fields you need to add `http://your-domain.com/payment/notify/\u003cPARAMVAR\u003e`. Note the `\u003cPARAMVAR\u003e` var. It gets replaced by postFinance.\n\n**Important:** Set \"Request method\" to \"GET\" since the notifyAction only listens to the request query.\n\n## Offline Authorisation\nIf you have enabled \"Authorisation\" in \"Global transaction parameters -\u003e Default Operation Code\", you need to enable the request for status changes:\nGo to \"Transaction feedback -\u003e HTTP request for status changes\" and set \"Timing of the request\" to \"For each offline status change (payment, cancellation, etc.).\"\nIn the URL field add the same url as in section \"HTTP server-to-server request\".\n\n## Language Parameter\nThe `LANGUAGE` Parameter cannot be set in the ConvertPaymentAction since there is no general language getter available in Payum.\nTo add this field you need to add a custom Extension (Check [this file](https://github.com/coreshop/PayumPostFinanceBundle/blob/master/src/CoreShop/Payum/PostFinance/Extension/ConvertPaymentExtension.php#L41) to get the Idea).\n\n### Required Parameters\nThese Fields are required:\n- `environment` (default 'Test')\n- `shaInPassphrase`\n- `shaOutPassphrase`\n- `pspid`\n\n### Optional Parameters\nYou can pass optional parameters to the `optionalParameters` config node.\nYou'll find all available fields [here](https://e-payment.postfinance.ch/ncol/param_cookbook.asp).\n\n## To-Do\n- Handle deprecated tokens?\n\n## Copyright and License\nCopyright: [DACHCOM.DIGITAL](http://dachcom-digital.ch)\nFor licensing details please visit [LICENSE.md](LICENSE.md)\n\n### v2.0.0\n- Bump dependencies, code improvements\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdachcom-digital%2Fpayum-postfinance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdachcom-digital%2Fpayum-postfinance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdachcom-digital%2Fpayum-postfinance/lists"}