{"id":24780538,"url":"https://github.com/vippsas/vipps-recurring-drupal","last_synced_at":"2026-04-29T08:32:52.277Z","repository":{"id":96045720,"uuid":"274352781","full_name":"vippsas/vipps-recurring-drupal","owner":"vippsas","description":"Vipps Recurring payments for Drupal","archived":false,"fork":false,"pushed_at":"2025-02-06T10:40:06.000Z","size":264,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-02-06T11:35:05.929Z","etag":null,"topics":["drupal","plugin","vipps"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/vippsas.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":"2020-06-23T08:33:42.000Z","updated_at":"2025-02-06T10:40:11.000Z","dependencies_parsed_at":"2025-01-17T09:18:34.138Z","dependency_job_id":"59fecda0-d7f5-4ef3-9fb4-277f4c7fbe4a","html_url":"https://github.com/vippsas/vipps-recurring-drupal","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/vippsas%2Fvipps-recurring-drupal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vippsas%2Fvipps-recurring-drupal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vippsas%2Fvipps-recurring-drupal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vippsas%2Fvipps-recurring-drupal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vippsas","download_url":"https://codeload.github.com/vippsas/vipps-recurring-drupal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245212111,"owners_count":20578439,"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":["drupal","plugin","vipps"],"created_at":"2025-01-29T10:33:23.948Z","updated_at":"2026-04-29T08:32:52.272Z","avatar_url":"https://github.com/vippsas.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- START_METADATA\n---\ntitle: Vipps Recurring Payments\nsidebar_position: 1\nhide_table_of_contents: false\ndescription: Provide Vipps recurring payments for Drupal.\npagination_next: null\npagination_prev: null\nsection: Plugins\n---\nEND_METADATA --\u003e\n\n# Vipps Recurring Payments\n\n![Support and development by Frontkom ](./docs/images/frontkom.svg#gh-light-mode-only)![Support and development by Frontkom](./docs/images/frontkom_dark.svg#gh-dark-mode-only)\n\n\n*This plugin is built and maintained by [Frontkom](https://frontkom.com/)\nand is hosted on [GitHub](https://github.com/vippsas/vipps-recurring-drupal).\nFor support, submit an issue at [drupal.org: *Vipps Recurring Payments*](https://www.drupal.org/project/vipps_recurring_payments).*\n\n\u003c!-- START_COMMENT --\u003e\n💥 Please use the plugin pages on [https://developer.vippsmobilepay.com](https://developer.vippsmobilepay.com/docs/plugins-ext/recurring-drupal/). 💥\n\u003c!-- END_COMMENT --\u003e\n\n## Features\n\n### Basic authentication\n\nIn order to be able to send API requests to the module, you need to activate `Basic auth` module which is a part of the core and use Basic auth with all your API calls:\n\n```json\n{\n  \"Content-type\": \"application/json\",\n  \"Authorization\": \"Basic ZnJvbnRrb206R29vZCBsdWNrIHRyeWluZw==\"\n\n}\n```\n\n### Test auth\n\n* Endpoint: `/vipps-recurring-payments/test/auth`\n* Method: `GET`\n* Content-Type: `application/json`\n* Response example:\n\n```text\neyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIs \u003ctruncated\u003e\n```\n\n### Get status of an agreement\n\n* Endpoint: `/vipps-recurring-payments/agreement/get`\n* Method: `POST`\n* Content-Type: `application/json`\n* Request content example:\n\n```json\n\"agr_UVUFcx31\"\n```\n\n* Response example:\n\n```json\n{\n    \"id\": \"agr_CUfJvfx\",\n    \"start\": \"2020-02-06T10:10:07Z\",\n    \"stop\": null,\n    \"status\": \"ACTIVE\",\n    \"productName\": \"Vipps product\",\n    \"price\": 87600,\n    \"productDescription\": \"Testing Vipps recurring payment\",\n    \"interval\": \"MONTH\",\n    \"intervalCount\": 1,\n    \"currency\": \"NOK\",\n    \"campaign\": null\n}\n```\n\n### Cancel an agreement\n\n* Endpoint: `/vipps-recurring-payments/agreement/cancel`\n* Method: `POST`\n* Content-Type: `application/json`\n* Request content example:\n\n```json\n[\n  \"agr_UVUFcx31\",\n  \"agr_CUfJvfx\"\n]\n```\n\n* Response example:\n\n```json\n{\n    \"successes\": [\n        \"agr_UVUFcx31\"\n    ],\n    \"errors\": [\n      \"agr_CUfJvfx: Client error: `PATCH https://apitest.vipps.no/recurring/v2/agreements/agr_CUfJvfx` resulted in a `400 Bad Request` response:\\n[{\\\"field\\\":\\\"status\\\",\\\"message\\\":\\\"Missing message for error: status.notActive\\\",\\\"code\\\":\\\"status.notActive\\\",\\\"contextId\\\":\\\"a47463 (truncated...)\\n\"\n    ]\n}\n```\n\n### Make charges\n\n* Endpoint: `/vipps-recurring-payments/charge/make`\n* Method: `POST`\n* Content-Type: `application/json`\n* Request content example:\n\n```json\n[{\n \"agreement_id\": \"agr_UVUFcx3\",\n \"price\": \"250\",\n \"description\": \"Custom description\"\n},{\n \"agreement_id\": \"agr_UVUFcx3\",\n \"price\": \"25000\",\n \"description\": \"Custom description\"\n},{\n \"agreement_id\": \"agr_UVUFcx31\",\n \"price\": \"25000\",\n \"description\": \"Custom description\"\n}]\n```\n\n* Response example:\n\n```json\n{\n    \"successes\": [\n        \"chr_hFZSqV6\"\n    ],\n    \"errors\": [\n        \"agr_UVUFcx3: Client error: `POST amount.exceeds.expected.chargelimit ...\",\n        \"agr_UVUFcx31: Client error: `POST This agreement does not exist\"\n    ]\n}\n```\n\n### Get charges for an agreement\n\n* Endpoint: `/vipps-recurring-payments/charge/get`\n* Method: `POST`\n* Content-Type: `application/json`\n* Request content example:\n\n```json\n[\n  {\n    \"agreement_id\": \"agr_UVUFcx3\"\n  },\n  {\n    \"agreement_id\": \"agr_UVUFcx3\"\n  }\n]\n```\n\n* Response example:\n\n```json\n{\n    \"successes\": [\n        \"[{\\\"id\\\":\\\"chr_Ntsak6z\\\",\\\"status\\\":\\\"PARTIALLY_REFUNDED\\\",\\\"due\\\":\\\"2020-02-06T10:09:54Z\\\",\\\"amount\\\":87600,\\\"amountRefunded\\\":26640,\\\"transactionId\\\":\\\"5001630551\\\",\\\"description\\\":\\\"Testing Vipps recurring payment\\\",\\\"type\\\":\\\"INITIAL\\\"},{\\\"id\\\":\\\"chr_dxWPD5n\\\",\\\"status\\\":\\\"CANCELLED\\\",\\\"due\\\":\\\"2020-03-01T10:00:00Z\\\",\\\"amount\\\":123,\\\"amountRefunded\\\":0,\\\"transactionId\\\":null,\\\"description\\\":\\\"This is description\\\",\\\"type\\\":\\\"RECURRING\\\"},{\\\"id\\\":\\\"chr_xTsRNrg\\\",\\\"status\\\":\\\"DUE\\\",\\\"due\\\":\\\"2020-03-01T10:00:00Z\\\",\\\"amount\\\":123,\\\"amountRefunded\\\":0,\\\"transactionId\\\":\\\"5001659055\\\",\\\"description\\\":\\\"This is description\\\",\\\"type\\\":\\\"RECURRING\\\"}]\"\n    ],\n    \"errors\": [\n        \"agr_UVUFcx3: Client error: `GET https://apitest.vipps.no/recurring/v2/agreements/agr_knvVufdj/charges` resulted in a `400 Bad Request` response:\\n[{\\\"field\\\":\\\"agreementId\\\",\\\"message\\\":\\\"Missing message for error: invalid.agreementId\\\",\\\"code\\\":\\\"invalid.agreementId\\\",\\\"context (truncated...)\\n\"\n    ]\n}\n```\n\n### Cancel charges for an agreement\n\n* Endpoint: `/vipps-recurring-payments/charge/cancel`\n* Method: `POST`\n* Content-Type: `application/json`\n* Request content example:\n\n```json\n[\n {\n  \"agreement_id\": \"agr_CUfJvfx\",\n  \"price\": 123,\n     \"description\": \"This is description\",\n     \"charge_id\": \"chr_ptqHYWG\"\n }\n]\n```\n\n* Response example:\n\n```json\n{\n    \"successes\": [\n        \"chr_ptqHYWG\"\n    ],\n    \"errors\": []\n}\n```\n\n### Refund charges for an agreement\n\n* Endpoint: `/vipps-recurring-payments/charge/refund`\n* Method: `POST`\n* Content-Type: `application/json`\n* Request content example:\n\n```json\n[\n {\n  \"agreement_id\": \"agr_CUfJvfx\",\n  \"price\": 123,\n     \"description\": \"This is description\",\n     \"charge_id\": \"chr_ptqHYWG\"\n }\n]\n```\n\n* Response example:\n\n```json\n{\n    \"successes\": [\n        \"chr_ptqHYWG\"\n    ],\n    \"errors\": []\n}\n```\n\n## Support\n\nFor problems with your plugin,\nsubmit an issue at [drupal.org: *Vipps Recurring Payments*](https://www.drupal.org/project/vipps_recurring_payments).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvippsas%2Fvipps-recurring-drupal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvippsas%2Fvipps-recurring-drupal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvippsas%2Fvipps-recurring-drupal/lists"}