{"id":17874091,"url":"https://github.com/devkral/oscar-web-payments","last_synced_at":"2025-04-03T00:12:34.618Z","repository":{"id":141378316,"uuid":"131600354","full_name":"devkral/oscar-web-payments","owner":"devkral","description":"Integration of web-payments-cpnnector in django-oscar","archived":false,"fork":false,"pushed_at":"2018-05-19T14:56:01.000Z","size":141,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-08T14:21:55.151Z","etag":null,"topics":["django-oscar","payment","web-payments"],"latest_commit_sha":null,"homepage":"","language":"Python","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/devkral.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":"2018-04-30T13:39:02.000Z","updated_at":"2018-05-29T18:32:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"42739ec6-7ff2-4669-a24d-f3cc3d4b723b","html_url":"https://github.com/devkral/oscar-web-payments","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/devkral%2Foscar-web-payments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkral%2Foscar-web-payments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkral%2Foscar-web-payments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkral%2Foscar-web-payments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devkral","download_url":"https://codeload.github.com/devkral/oscar-web-payments/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246911469,"owners_count":20853657,"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":["django-oscar","payment","web-payments"],"created_at":"2024-10-28T11:07:33.671Z","updated_at":"2025-04-03T00:12:34.594Z","avatar_url":"https://github.com/devkral.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"oscar-web-payments\n======================\n\nWeb payments integration in oscar\n\nDocumentation\n=============\n\nInstallation\n------------\n\nlike django.oscar plus:\n* add web_payments.django to INSTALLED_APPS\n\n* add oscar_web_payments.checkout oscar_web_payments.payment as get_core_apps arguments:\n\n  get_core_apps(['oscar_web_payments.checkout', 'oscar_web_payments.payment'])\n\n* set PAYMENT_MODEL to 'payment.Source'\n\n* set PAYMENT_VARIANTS_API with extra argument verbose_name per provider\n\n\nExample:\n--------\n\n    INSTALLED_APPS = [\n        ...\n        \"web_payments.django\"\n    ] + get_core_apps(['oscar_web_payments.checkout', 'oscar_web_payments.payment'])\n\n\n    #PAYMENT_PROTOCOL=\"http\" # to disable https, don't recommend, only for testing\n    #PAYMENT_HOST=\"example.com\" # what is the servername? If you don't want to use Sites\n    #def PAYMENT_HOST(provider): # can be also a function, taking a provider\n    #    if provider.extras[\"name\"] == \"foo\":\n    #        return \"bar.example.com\"\n    #    else:\n    #        return \"example.com\"\n\n    PAYMENT_MODEL = 'payment.Source'\n    PAYMENT_VARIANTS_API = {\n        'dummy_capture': ('web_payments_dummy.DummyProvider', {}, {\"verbose_name\": \"dummy capturing\"}),\n        'dummy_nocapture': ('web_payments_dummy.DummyProvider', {\"capture\": False}, {\"verbose_name\": \"dummy not capturing\"}),\n        'directwithform': ('web_payments_externalpayments.DirectPaymentProvider', {'skipform': False, 'confirm': True}, {\"verbose_name\": \"direct payment with form\"}),\n        'direct': ('web_payments_externalpayments.DirectPaymentProvider', {}, {\"verbose_name\": \"direct payment\"}),\n        'iban': ('web_payments_externalpayments.BankTransferProvider', {\n            \"iban\": \"XX5604449899990000\",\n            \"bic\": \"DABAIE2D\"}, {\"verbose_name\": \"IBAN\"}\n            ),\n        }\n\nTODO\n====\n\n* Implementation\n\nNote: I use semantic versioning.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevkral%2Foscar-web-payments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevkral%2Foscar-web-payments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevkral%2Foscar-web-payments/lists"}