# Garantipay 2.0 Redirect View
This app provides order related data to the Garantipay 2.0 payment extension when plugged-in to project zero.
## Installation
Add the package to requirements.txt file and install it via pip:
garantipay-payment
## Adding App
Add the following lines in `omnife_base.settings`:
INSTALLED_APPS.append('garantipay_payment')
PZ_SERVICE_CLASS = "omnife.core.service.Service"
HASH_SECRET_KEY = "your-hash-secret-key"
PRODUCT_KIND_ATTRIBUTE_NAME = "product_kind"
Add url pattern to `omnife_base.urls` like below:
urlpatterns = [
...
path('payment-gateway/garantipay/', include('garantipay_payment.urls')),
]
## Running Tests
python -m unittest discover
## Python Version Compatibility
This package is compatible with the following Python versions:
- Python 3.8
- Python 3.9
Raw data
{
"_id": null,
"home_page": "https://bitbucket.org/akinonteam/garantipay-payment",
"name": "garantipay-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/09/e3/61a72de5dc07483c7da98f75ee0381b34f2c286ea022d0cd3ec93d5da8db/garantipay_payment-1.1.0.tar.gz",
"platform": null,
"description": "# Garantipay 2.0 Redirect View\n\nThis app provides order related data to the Garantipay 2.0 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 garantipay-payment\n\n## Adding App\n\nAdd the following lines in `omnife_base.settings`:\n\n INSTALLED_APPS.append('garantipay_payment')\n PZ_SERVICE_CLASS = \"omnife.core.service.Service\"\n HASH_SECRET_KEY = \"your-hash-secret-key\"\n PRODUCT_KIND_ATTRIBUTE_NAME = \"product_kind\"\n\nAdd url pattern to `omnife_base.urls` like below:\n\n urlpatterns = [\n ...\n path('payment-gateway/garantipay/', include('garantipay_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.8\n - Python 3.9\n",
"bugtrack_url": null,
"license": null,
"summary": "A library to provide payment gateway for GarantiPay 2.0",
"version": "1.1.0",
"project_urls": {
"Homepage": "https://bitbucket.org/akinonteam/garantipay-payment"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "272cde87a0f9d1e7c8af789d4900f4c7e94931788df750d540094f2e814b86dd",
"md5": "e636cb4fb102fc5f663817edec2b7f12",
"sha256": "7c6de6e0cb11fb05f00f745547bb83d6f0889ed9ff8aefd6c7343bad749b09f1"
},
"downloads": -1,
"filename": "garantipay_payment-1.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e636cb4fb102fc5f663817edec2b7f12",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 8492,
"upload_time": "2024-06-07T10:29:54",
"upload_time_iso_8601": "2024-06-07T10:29:54.000157Z",
"url": "https://files.pythonhosted.org/packages/27/2c/de87a0f9d1e7c8af789d4900f4c7e94931788df750d540094f2e814b86dd/garantipay_payment-1.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "09e361a72de5dc07483c7da98f75ee0381b34f2c286ea022d0cd3ec93d5da8db",
"md5": "9d9c04ec19a44e70139d2f0ddc647452",
"sha256": "e1ebc334f8c52aec2ad173b11b0268005aba2c2a825ee2bbbd2e15107eaa1ddc"
},
"downloads": -1,
"filename": "garantipay_payment-1.1.0.tar.gz",
"has_sig": false,
"md5_digest": "9d9c04ec19a44e70139d2f0ddc647452",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5968,
"upload_time": "2024-06-07T10:29:56",
"upload_time_iso_8601": "2024-06-07T10:29:56.261250Z",
"url": "https://files.pythonhosted.org/packages/09/e3/61a72de5dc07483c7da98f75ee0381b34f2c286ea022d0cd3ec93d5da8db/garantipay_payment-1.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-07 10:29:56",
"github": false,
"gitlab": false,
"bitbucket": true,
"codeberg": false,
"bitbucket_user": "akinonteam",
"bitbucket_project": "garantipay-payment",
"lcname": "garantipay-payment"
}