# Oney Redirect View
This app provides order related data to the Oney payment extension when plugged-in to project zero.
## Installation
Add the package to requirements.txt file and install it via pip:
oney-payment
## Adding App
Add the following lines in `omnife_base.settings`:
INSTALLED_APPS.append('oney_payment')
ONEY_EXTENSION_URL = 'https://extension-url.akinon.net/'
PZ_SERVICE_CLASS = "omnife.core.service.Service"
HASH_SECRET_KEY = "your-hash-secret-key"
Add url pattern to `omnife_base.urls` like below:
urlpatterns = [
...
path('payment-gateway/oney/', include('oney_payment.urls')),
]
## Running Tests
python -m unittest discover
## Python Version Compatibility
This package is compatible with the following Python versions:
- Python 3.6
- Python 3.7
- Python 3.8
- Python 3.9
Raw data
{
"_id": null,
"home_page": "https://bitbucket.org/akinonteam/oney-payment",
"name": "oney-payment",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Akinon",
"author_email": "dev@akinon.com",
"download_url": "https://files.pythonhosted.org/packages/13/01/0e240f8baa367721fd1e9366b4b910607bda55d2e029bd9783ba2d014fb7/oney-payment-1.0.3.tar.gz",
"platform": null,
"description": "# Oney Redirect View\n\nThis app provides order related data to the Oney payment extension when plugged-in to project zero.\n\n## Installation\n\nAdd the package to requirements.txt file and install it via pip:\n\n oney-payment\n\n## Adding App\n\nAdd the following lines in `omnife_base.settings`:\n\n INSTALLED_APPS.append('oney_payment')\n ONEY_EXTENSION_URL = 'https://extension-url.akinon.net/'\n PZ_SERVICE_CLASS = \"omnife.core.service.Service\"\n HASH_SECRET_KEY = \"your-hash-secret-key\"\n\nAdd url pattern to `omnife_base.urls` like below:\n\n urlpatterns = [\n ...\n path('payment-gateway/oney/', include('oney_payment.urls')),\n ]\n\n## Running Tests\n\n python -m unittest discover\n\n## Python Version Compatibility\n\nThis package is compatible with the following Python versions:\n - Python 3.6\n - Python 3.7\n - Python 3.8\n - Python 3.9\n",
"bugtrack_url": null,
"license": null,
"summary": "A common library for providing order details to Oney Payment Gateway.",
"version": "1.0.3",
"project_urls": {
"Homepage": "https://bitbucket.org/akinonteam/oney-payment"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4f0c65a630e95a612ae5dd6559d382dd070e5567b0168d2e0b21efce383da82c",
"md5": "234f9e78836c13f6944209d78afb4078",
"sha256": "cd542cf5aaff10d50f3c381edffac705c8bf633b2fe531ff88213fefef736002"
},
"downloads": -1,
"filename": "oney_payment-1.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "234f9e78836c13f6944209d78afb4078",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 7997,
"upload_time": "2024-04-03T12:28:26",
"upload_time_iso_8601": "2024-04-03T12:28:26.446984Z",
"url": "https://files.pythonhosted.org/packages/4f/0c/65a630e95a612ae5dd6559d382dd070e5567b0168d2e0b21efce383da82c/oney_payment-1.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "13010e240f8baa367721fd1e9366b4b910607bda55d2e029bd9783ba2d014fb7",
"md5": "e3a9ab38dd33263db6b4b22aa607b3b8",
"sha256": "e7d47b99a9720b225e316af18453560e9cbede0eb838adaff054ad355bb07985"
},
"downloads": -1,
"filename": "oney-payment-1.0.3.tar.gz",
"has_sig": false,
"md5_digest": "e3a9ab38dd33263db6b4b22aa607b3b8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5826,
"upload_time": "2024-04-03T12:28:28",
"upload_time_iso_8601": "2024-04-03T12:28:28.617369Z",
"url": "https://files.pythonhosted.org/packages/13/01/0e240f8baa367721fd1e9366b4b910607bda55d2e029bd9783ba2d014fb7/oney-payment-1.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-03 12:28:28",
"github": false,
"gitlab": false,
"bitbucket": true,
"codeberg": false,
"bitbucket_user": "akinonteam",
"bitbucket_project": "oney-payment",
"lcname": "oney-payment"
}