Browse Source

Feb 07 : [ADD] Initial Commit 'cc_avenue_payment'

pull/267/merge
RisvanaCybro 1 year ago
parent
commit
4cf6195288
  1. 42
      cc_avenue_payment/README.rst
  2. 36
      cc_avenue_payment/__init__.py
  3. 47
      cc_avenue_payment/__manifest__.py
  4. 22
      cc_avenue_payment/controllers/__init__.py
  5. 74
      cc_avenue_payment/controllers/cc_avenue_payment.py
  6. 14
      cc_avenue_payment/data/payment_provider_data.xml
  7. 7
      cc_avenue_payment/doc/RELEASE_NOTES.md
  8. 23
      cc_avenue_payment/models/__init__.py
  9. 52
      cc_avenue_payment/models/payment_provider.py
  10. 197
      cc_avenue_payment/models/payment_transaction.py
  11. BIN
      cc_avenue_payment/static/description/assets/icons/check.png
  12. BIN
      cc_avenue_payment/static/description/assets/icons/chevron.png
  13. BIN
      cc_avenue_payment/static/description/assets/icons/cogs.png
  14. BIN
      cc_avenue_payment/static/description/assets/icons/consultation.png
  15. BIN
      cc_avenue_payment/static/description/assets/icons/ecom-black.png
  16. BIN
      cc_avenue_payment/static/description/assets/icons/education-black.png
  17. BIN
      cc_avenue_payment/static/description/assets/icons/hotel-black.png
  18. BIN
      cc_avenue_payment/static/description/assets/icons/license.png
  19. BIN
      cc_avenue_payment/static/description/assets/icons/lifebuoy.png
  20. BIN
      cc_avenue_payment/static/description/assets/icons/manufacturing-black.png
  21. BIN
      cc_avenue_payment/static/description/assets/icons/pos-black.png
  22. BIN
      cc_avenue_payment/static/description/assets/icons/puzzle.png
  23. BIN
      cc_avenue_payment/static/description/assets/icons/restaurant-black.png
  24. BIN
      cc_avenue_payment/static/description/assets/icons/service-black.png
  25. BIN
      cc_avenue_payment/static/description/assets/icons/trading-black.png
  26. BIN
      cc_avenue_payment/static/description/assets/icons/training.png
  27. BIN
      cc_avenue_payment/static/description/assets/icons/update.png
  28. BIN
      cc_avenue_payment/static/description/assets/icons/user.png
  29. BIN
      cc_avenue_payment/static/description/assets/icons/wrench.png
  30. BIN
      cc_avenue_payment/static/description/assets/misc/categories.png
  31. BIN
      cc_avenue_payment/static/description/assets/misc/check-box.png
  32. BIN
      cc_avenue_payment/static/description/assets/misc/compass.png
  33. BIN
      cc_avenue_payment/static/description/assets/misc/corporate.png
  34. BIN
      cc_avenue_payment/static/description/assets/misc/customer-support.png
  35. BIN
      cc_avenue_payment/static/description/assets/misc/cybrosys-logo.png
  36. BIN
      cc_avenue_payment/static/description/assets/misc/features.png
  37. BIN
      cc_avenue_payment/static/description/assets/misc/logo.png
  38. BIN
      cc_avenue_payment/static/description/assets/misc/pictures.png
  39. BIN
      cc_avenue_payment/static/description/assets/misc/pie-chart.png
  40. BIN
      cc_avenue_payment/static/description/assets/misc/right-arrow.png
  41. BIN
      cc_avenue_payment/static/description/assets/misc/star.png
  42. BIN
      cc_avenue_payment/static/description/assets/misc/support.png
  43. BIN
      cc_avenue_payment/static/description/assets/misc/whatsapp.png
  44. BIN
      cc_avenue_payment/static/description/assets/modules/1.png
  45. BIN
      cc_avenue_payment/static/description/assets/modules/2.jpg
  46. BIN
      cc_avenue_payment/static/description/assets/modules/3.jpg
  47. BIN
      cc_avenue_payment/static/description/assets/modules/4.png
  48. BIN
      cc_avenue_payment/static/description/assets/modules/5.png
  49. BIN
      cc_avenue_payment/static/description/assets/modules/6.jpg
  50. BIN
      cc_avenue_payment/static/description/assets/screenshots/.gif.zip
  51. BIN
      cc_avenue_payment/static/description/assets/screenshots/1.png
  52. BIN
      cc_avenue_payment/static/description/assets/screenshots/2.png
  53. BIN
      cc_avenue_payment/static/description/assets/screenshots/3.png
  54. BIN
      cc_avenue_payment/static/description/assets/screenshots/4.png
  55. BIN
      cc_avenue_payment/static/description/assets/screenshots/v16-hero.gif
  56. BIN
      cc_avenue_payment/static/description/banner.png
  57. BIN
      cc_avenue_payment/static/description/icon.png
  58. 630
      cc_avenue_payment/static/description/index.html
  59. BIN
      cc_avenue_payment/static/src/img/hello.png
  60. 10
      cc_avenue_payment/views/cc_avenue_templates.xml
  61. 21
      cc_avenue_payment/views/payment_provider_views.xml

42
cc_avenue_payment/README.rst

@ -0,0 +1,42 @@
.. image:: https://img.shields.io/badge/license-LGPL--3-green.svg
:target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
CCAvenue Payment Acquirer
=========================
CCAvenue Payment Gateway For Website
Company
-------
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__
License
-------
General Public License, Version 3 (LGPL v3).
(https://www.gnu.org/licenses/lgpl-3.0-standalone.html)
Credits
-------
* Developer: (V16) Anfas Faisal K, Contact: odoo@cybrosys.com
Contacts
--------
* Mail Contact : odoo@cybrosys.com
* Website : https://cybrosys.com
Bug Tracker
-----------
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported.
Maintainer
==========
.. image:: https://cybrosys.com/images/logo.png
:target: https://cybrosys.com
This module is maintained by Cybrosys Technologies.
For support and more information, please visit https://www.cybrosys.com
Further information
===================
HTML Description: `<static/description/index.html>`__

36
cc_avenue_payment/__init__.py

@ -0,0 +1,36 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
###############################################################################
from . import controllers
from . import models
from odoo.addons.payment import setup_provider, reset_payment_provider
def post_init_hook(cr, registry):
"""Function to set up the payment provider 'CCAvenue' after
module installation."""
setup_provider(cr, registry, 'avenue')
def uninstall_hook(cr, registry):
"""Function to reset the payment provider 'CCAvenue' before module
uninstallation."""
reset_payment_provider(cr, registry, 'avenue')

47
cc_avenue_payment/__manifest__.py

@ -0,0 +1,47 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
###############################################################################
{
'name': 'CCAvenue Payment Acquirer',
'version': '16.0.1.0.0',
'category': 'eCommerce,Marketing',
'summary': 'CCAvenue Payment Gateway For Website',
'description': "This module enables seamless payments through CCAvenue, "
"ensuring secure and convenient online transactions.",
'author': "Cybrosys Techno Solutions",
'company': 'Cybrosys Techno Solutions',
'maintainer': 'Cybrosys Techno Solutions',
'website': "https://www.cybrosys.com",
'images': ['static/description/banner.png'],
'depends': ['payment', 'account', 'website_sale'],
'data': [
'views/payment_provider_views.xml',
'views/cc_avenue_templates.xml',
'data/payment_provider_data.xml',
],
'external_dependencies': {'python': ['pay_ccavenue']},
'post_init_hook': 'post_init_hook',
'uninstall_hook': 'uninstall_hook',
'license': 'LGPL-3',
'installable': True,
'auto_install': False,
'application': False,
}

22
cc_avenue_payment/controllers/__init__.py

@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
###############################################################################
from . import cc_avenue_payment

74
cc_avenue_payment/controllers/cc_avenue_payment.py

@ -0,0 +1,74 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
###############################################################################
import logging
from pay_ccavenue import CCAvenue
from odoo import http
from odoo.http import request
_logger = logging.getLogger(__name__)
class PaymentCCAvenue(http.Controller):
"""
Controller for handling payment-related operations with CCAvenue.
Methods:
avenue_return: Handle the return from CCAvenue payment gateway.
"""
_return_url = '/payment/ccavenue/return'
_cancel_url = '/payment/ccavenue/cancel'
@http.route(['/payment/ccavenue/return', '/payment/ccavenue/cancel'],
type='http', auth='public',
methods=['POST'], csrf=False, save_session=False)
def avenue_return(self, **post):
"""
Handle the return from CCAvenue payment gateway.
:param post: The POST data received from CCAvenue.
:type post: dict
This method processes the return data from the CCAvenue payment
gateway, decrypts the data, and updates the payment transaction
accordingly. After processing, it redirects to the '/payment/status'
URL.
:return: A redirection to the '/payment/status' URL.
:rtype: werkzeug.wrappers.Response
"""
if post:
payment_provider = request.env['payment.provider'].sudo().search(
[('code', '=', 'avenue')])
web_url = request.env[
'ir.config_parameter'].sudo().get_param('web.base.url')
# Create an instance of CCAvenue
ccavenue = CCAvenue(payment_provider.working_key,
payment_provider.access_code,
payment_provider.merchant_key,
web_url + '/payment/ccavenue/return',
web_url + '/payment/ccavenue/cancel')
# Decrypt the data using the instance
decrypted_data = ccavenue.decrypt(post)
tx_sudo = request.env[
'payment.transaction'].sudo()._get_tx_from_notification_data(
'avenue', decrypted_data)
tx_sudo._handle_notification_data('avenue', decrypted_data)
return request.redirect('/payment/status')

14
cc_avenue_payment/data/payment_provider_data.xml

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo noupdate="1">
<!-- Kanban View of payment provider -->
<record id="payment_acquirer_ccavenue" model="payment.provider">
<field name="code">avenue</field>
<field name="name">CCAvenue</field>
<field name="display_as">CCAvenue</field>
<field name="image_128" type="base64"
file="cc_avenue_payment/static/src/img/hello.png"/>
<field name="redirect_form_view_id" ref="redirect_form"/>
<field name="company_id" ref="base.main_company"/>
<field name="module_id" ref="base.module_cc_avenue_payment"/>
</record>
</odoo>

7
cc_avenue_payment/doc/RELEASE_NOTES.md

@ -0,0 +1,7 @@
## Module <cc_avenue_payment>
#### 02.11.2023
#### Version 16.0.1.0.0
### ADD
- Initial Commit for CCAvenue Payment Acquirer

23
cc_avenue_payment/models/__init__.py

@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
###############################################################################
from . import payment_provider
from . import payment_transaction

52
cc_avenue_payment/models/payment_provider.py

@ -0,0 +1,52 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
###############################################################################
from odoo import api, fields, models
class PaymentProvider(models.Model):
""" Inherit Payment Provider to add new payment into the Payment Provider
page."""
_inherit = 'payment.provider'
code = fields.Selection(selection_add=[('avenue', 'avenue')],
ondelete={'avenue': 'set default'},
help="The technical code of this payment provider",
string="code")
merchant_key = fields.Char(string='Merchant ID', groups='base.group_user',
help="CCAvenue Merchant id of the user")
access_code = fields.Char(string='Access Code',
required_if_provider='avenue',
groups='base.group_user',
help="CCAvenue Access Code")
working_key = fields.Char(string='Working Key',
required_if_provider='avenue',
groups='base.group_user',
help="CCAvenue Working key")
@api.model
def _get_payment_method_information(self):
"""Override to add CCAvenue payment method information to the
existing methods.
"""
res = super()._get_payment_method_information()
res['avenue'] = {'mode': 'unique', 'domain': [('type', '=', 'bank')]}
return res

197
cc_avenue_payment/models/payment_transaction.py

@ -0,0 +1,197 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
###############################################################################
import logging
from pay_ccavenue import CCAvenue
from odoo import api, models, _
from odoo.exceptions import ValidationError
from odoo.addons.payment import utils as payment_utils
_logger = logging.getLogger(__name__)
class PaymentTransaction(models.Model):
"""
Inherit the payment transactions, to add CCAvenue specific functionality.
Methods:
_compute_reference: Override of `payment` to ensure that APS'
requirements for references are satisfied.
_get_specific_rendering_values: Override of
`_get_specific_rendering_values` to handle specific rendering values
for CCAvenue.
execute_payment: Fetching data and Executing Payment.
_get_tx_from_notification_data: Get payment status from CCAvenue.
_handle_notification_data: Handle the notification data received
from CCAvenue.
_process_notification_data: Process the notification data received
from CCAvenue.
"""
_inherit = 'payment.transaction'
@api.model
def _compute_reference(self, provider_code, prefix=None, separator='-',
**kwargs):
""" Override of `payment` to ensure that APS' requirements for
references are satisfied.
APS' requirements for transaction are as follows: - References can
only be made of alphanumeric characters and/or '-' and '_'. The
prefix is generated with 'tx' as default. This prevents the prefix
from being generated based on document names that may contain
non-allowed characters (eg: INV/2020/...).
:param str provider_code: The code of the provider handling the
transaction.
:param str prefix: The custom prefix used to compute the
full reference.
:param str separator: The custom separator used to separate the prefix
from the suffix.
:return: The unique reference
for the transaction.
:rtype: str
"""
if provider_code == 'avenue':
prefix = payment_utils.singularize_reference_prefix()
return super()._compute_reference(provider_code, prefix=prefix,
separator=separator, **kwargs)
def _get_specific_rendering_values(self, processing_values):
""" Override of `_get_specific_rendering_values` to handle specific
rendering values for CCAvenue.
:param processing_values: The processing values dictionary.
:return: The rendering values."""
res = super()._get_specific_rendering_values(processing_values)
if self.provider_code != 'avenue':
return res
return self.execute_payment()
def execute_payment(self):
"""
Fetches necessary data and executes the payment using CCAvenue
:return:
A dictionary containing the encrypted data, access code, and API URL.
"""
# Initialize CCAvenue with credentials
self.ensure_one()
web_url = self.env['ir.config_parameter'].get_param('web.base.url')
sale_order = self.env['sale.order'].search(
[('id', '=', self.sale_order_ids.id)])
form_data = {
"order_id": self.reference,
"currency": self.currency_id.name,
"amount": (self.amount - sale_order.amount_tax),
"redirect_url": f"{web_url}/payment/ccavenue/return",
"cancel_url": f"{web_url}/payment/ccavenue/cancel",
"billing_name": self.partner_name,
"billing_tel": self.partner_phone,
"billing_address": self.partner_address,
"billing_city": self.partner_city,
"billing_state": self.partner_state_id.name,
"billing_country": self.partner_country_id.name,
"billing_zip": self.partner_zip,
"billing_email": self.partner_email
}
if self.provider_id.state == "test":
api_url = ("https://test.ccavenue.com/transaction/transaction.do?command=initiateTransaction")
else:
api_url = ("https://secure.ccavenue.com/transaction/transaction.do"
"?command=initiateTransaction")
ccavenue = CCAvenue(self.provider_id.working_key,
self.provider_id.access_code,
self.provider_id.merchant_key,
web_url + '/payment/ccavenue/return',
web_url + '/payment/ccavenue/cancel')
encrypted_data = ccavenue.encrypt(form_data)
response_content = {
"encrypted_data": encrypted_data,
"access_code": self.provider_id.access_code,
"api_url": api_url
}
return response_content
def _get_tx_from_notification_data(self, provider_code, notification_data):
"""
Get payment status from CCAvenue.
:param provider_code: The code of the provider handling the transaction.
:param notification_data: The data received from CCAvenue notification.
:return: The transaction matching the reference.
"""
tx = super()._get_tx_from_notification_data(provider_code,
notification_data)
if provider_code != 'avenue':
return tx
reference = notification_data.get('order_id', False)
if not reference:
raise ValidationError("CCAvenue: " + _("No reference found.", ))
tx = self.search(
[('reference', '=', reference), ('provider_code', '=', 'avenue')])
if not tx:
raise ValidationError("CCAvenue: " + _("No transaction found "
"matching reference %s.",
reference))
return tx
def _handle_notification_data(self, provider_code, notification_data):
"""
Handle the notification data received from CCAvenue.
This method retrieves the transaction corresponding to the
notification data, processes the notification data, and executes the
callback.
:param provider_code: The code of the provider handling the transaction.
:param notification_data: The data received from CCAvenue notification.
:return: The transaction object.
"""
tx = self._get_tx_from_notification_data(provider_code,
notification_data)
tx._process_notification_data(notification_data)
tx._execute_callback()
return tx
def _process_notification_data(self, notification_data):
"""
Process the notification data received from CCAvenue.
This method processes the notification data and updates the payment
state of the transaction accordingly.
:param notification_data: The data received from CCAvenue notification.
"""
super()._process_notification_data(notification_data)
if self.provider_code != 'avenue':
return
status = notification_data.get('order_status')
if status == 'Success':
self._set_done()
elif status == 'Aborted':
self._set_canceled(state_message="Error")
elif status == "Failure":
self._set_canceled(state_message="Error")
else:
_logger.warning("received unrecognized payment state %s for "
"transaction with reference %s",
status, self.reference)
self._set_error("CCAVENUE: " + _("Invalid payment status."))

BIN
cc_avenue_payment/static/description/assets/icons/check.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
cc_avenue_payment/static/description/assets/icons/chevron.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 B

BIN
cc_avenue_payment/static/description/assets/icons/cogs.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
cc_avenue_payment/static/description/assets/icons/consultation.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
cc_avenue_payment/static/description/assets/icons/ecom-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 B

BIN
cc_avenue_payment/static/description/assets/icons/education-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

BIN
cc_avenue_payment/static/description/assets/icons/hotel-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 911 B

BIN
cc_avenue_payment/static/description/assets/icons/license.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
cc_avenue_payment/static/description/assets/icons/lifebuoy.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
cc_avenue_payment/static/description/assets/icons/manufacturing-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

BIN
cc_avenue_payment/static/description/assets/icons/pos-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 B

BIN
cc_avenue_payment/static/description/assets/icons/puzzle.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

BIN
cc_avenue_payment/static/description/assets/icons/restaurant-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

BIN
cc_avenue_payment/static/description/assets/icons/service-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

BIN
cc_avenue_payment/static/description/assets/icons/trading-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 B

BIN
cc_avenue_payment/static/description/assets/icons/training.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

BIN
cc_avenue_payment/static/description/assets/icons/update.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
cc_avenue_payment/static/description/assets/icons/user.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

BIN
cc_avenue_payment/static/description/assets/icons/wrench.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
cc_avenue_payment/static/description/assets/misc/categories.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
cc_avenue_payment/static/description/assets/misc/check-box.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
cc_avenue_payment/static/description/assets/misc/compass.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
cc_avenue_payment/static/description/assets/misc/corporate.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
cc_avenue_payment/static/description/assets/misc/customer-support.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
cc_avenue_payment/static/description/assets/misc/cybrosys-logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

BIN
cc_avenue_payment/static/description/assets/misc/features.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 B

BIN
cc_avenue_payment/static/description/assets/misc/logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
cc_avenue_payment/static/description/assets/misc/pictures.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
cc_avenue_payment/static/description/assets/misc/pie-chart.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
cc_avenue_payment/static/description/assets/misc/right-arrow.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 967 B

BIN
cc_avenue_payment/static/description/assets/misc/star.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
cc_avenue_payment/static/description/assets/misc/support.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
cc_avenue_payment/static/description/assets/misc/whatsapp.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

BIN
cc_avenue_payment/static/description/assets/modules/1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

BIN
cc_avenue_payment/static/description/assets/modules/2.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

BIN
cc_avenue_payment/static/description/assets/modules/3.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

BIN
cc_avenue_payment/static/description/assets/modules/4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

BIN
cc_avenue_payment/static/description/assets/modules/5.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

BIN
cc_avenue_payment/static/description/assets/modules/6.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

BIN
cc_avenue_payment/static/description/assets/screenshots/.gif.zip

Binary file not shown.

BIN
cc_avenue_payment/static/description/assets/screenshots/1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

BIN
cc_avenue_payment/static/description/assets/screenshots/2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

BIN
cc_avenue_payment/static/description/assets/screenshots/3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

BIN
cc_avenue_payment/static/description/assets/screenshots/4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

BIN
cc_avenue_payment/static/description/assets/screenshots/v16-hero.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

BIN
cc_avenue_payment/static/description/banner.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

BIN
cc_avenue_payment/static/description/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

630
cc_avenue_payment/static/description/index.html

@ -0,0 +1,630 @@
<div style="background-color: #714B67; height: 810px; width: 100%; padding: 15px; position: relative;">
<!-- TITLE BAR -->
<div class="d-flex align-items-center justify-content-between"
style="border-bottom: 1px solid #875A7B; padding: 15px; display: flex; justify-content: space-between; align-items: center;">
<img src="assets/misc/cybrosys-logo.png" width="42" height="42"
style="width: 42px; height: 42px;"/>
<div>
<div style="color: #7C7BAD; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;"
class="mr-2">
<i class="fa fa-check mr-1"></i>Community
</div>
<div style="color: #017E84; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;"
class="mr-2">
<i class="fa fa-check mr-1"></i>Enterprise
</div>
<div style="color: #017E84; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;"
class="mr-2">
<i class="fa fa-check mr-1"></i>Odoo.sh
</div>
</div>
</div>
<!-- END OF TITLE BAR -->
<div class="container">
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-12">
<!-- APP HERO -->
<h1 style="color: #FFFFFF; font-weight: bolder; font-size: 50px; text-align: center; margin-top: 50px;">
CCAvenue Payment Acquirer
</h1>
<p style="color:#FFFFFF; padding: 8px 15px; text-align: center; font-size: 24px;">
A Module For Configuring CCAvenue Payment Methods In Website.
</p>
<!-- END OF APP HERO -->
<img src="assets/screenshots/v16-hero.gif"
class="img-responsive"
style="width: 100%; margin-left: auto; margin-right: auto;"/>
</div>
</div>
</div>
</div>
<!-- NAVIGATION SECTION -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px; margin-top: 300px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/compass.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Explore This
Module</h2>
</div>
<div class="row my-4" style="font-family: 'Montserrat', sans-serif;">
<div class="col-sm-12 col-md-6 my-3">
<a href="#overview">
<div class="d-flex justify-content-between align-items-center"
style="background-color: #f5f5f5; padding: 30px; width: 100%;">
<div>
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Overview</span>
<span style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">Learn more about this module</span>
</div>
<img src="assets/misc/right-arrow.png" width="36" height="36"/>
</div>
</a>
</div>
<div class="col-sm-12 col-md-6 my-3">
<a href="#features">
<div class="d-flex justify-content-between align-items-center"
style="background-color: #f5f5f5; padding: 30px; width: 100%;">
<div>
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Features</span>
<span style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">View features of this module</span>
</div>
<img src="assets/misc/right-arrow.png" width="36" height="36"/>
</div>
</a>
</div>
<div class="col-sm-12 col-md-6 my-3">
<a href="#screenshots">
<div class="d-flex justify-content-between align-items-center"
style="background-color: #f5f5f5; padding: 30px; width: 100%;">
<div>
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Screenshots</span>
<span style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">View
screenshots for this
module</span>
</div>
<img src="assets/misc/right-arrow.png" width="36" height="36"/>
</div>
</a>
</div>
</div>
<!-- END OF NAVIGATION SECTION -->
<!-- OVERVIEW SECTION -->
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;" id="overview">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/pie-chart.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Overview </h2>
</div>
<div class="row"
style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;">
<div class="col-sm-12 py-4">
This module enables seamless payments through CCAvenue, ensuring secure and convenient online transactions.
<!-- END OF OVERVIEW SECTION -->
<!-- FEATURES SECTION -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;"
id="features">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/features.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Features
</h2>
</div>
<div class="row"
style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;">
<div class="d-flex align-items-center"
style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Enable CCAvenue Payment Provider.
</span>
</div>
<div class="d-flex align-items-center" style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> Clicking on the "Pay Now" button will initiate a seamless redirection to the CCAvenue page for a secure and hassle-free payment process.</span>
</div>
<div class="d-flex align-items-center"
style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> Additionally, their relevant customer details will be automatically included, enhancing the overall payment experience with streamlined information.
</span>
</div>
</div>
<div class="col-sm-12 col-md-6">
</div>
<!-- END OF FEATURES SECTION -->
<!-- SCREENSHOTS SECTION -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;"
id="screenshots">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/pictures.png"/>
</div>
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Screenshots</h2>
</div>
<div class="row">
<div class="col-sm-12">
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
In The CCAvenue Payment Acquirer Fill The Details.
</h3>
<img src="assets/screenshots/1.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
After Choosing The Products And Checking Out, Choose CCAvenue As Shown In The Figure.
</h3>
<img src="assets/screenshots/2.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
It Will Redirect Us To The Payment Page. From Here We Can Choose The Payment Option And Can Further Do The Remaining Payment.
</h3>
<img src="assets/screenshots/3.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Once The Payment Is Done It Will Redirect Us To The Payment Status Page.
</h3>
<img src="assets/screenshots/4.png" class="img-thumbnail">
</div>
</div>
</div>
<!-- END OF SCREENSHOTS SECTION -->
<!-- RELATED PRODUCTS -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/categories.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Related
Products
</h2>
</div>
<div class="row">
<div class="col-sm-12">
<div id="demo1" class="row carousel slide" data-ride="carousel">
<!-- The slideshow -->
<div class="carousel-inner" style="padding: 30px;">
<div class="carousel-item"
style="min-height: 198.656px;">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/myfatoorah_payment_gateway/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="assets/modules/1.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/purchase_down_payment/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="assets/modules/2.jpg">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/website_upload_files/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="assets/modules/3.jpg">
</div>
</a>
</div>
</div>
<div class="carousel-item active"
style="min-height: 198.656px;">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/website_hide_variants/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="assets/modules/4.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/developer_mode/#"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="assets/modules/5.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/odoo_icecat_connector/#"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="assets/modules/6.jpg">
</div>
</a>
</div>
</div>
</div>
<!-- Left and right controls -->
<a class="carousel-control-prev" href="#demo1"
data-slide="prev" style="width:35px; color:#000"> <span
class="carousel-control-prev-icon"><i
class="fa fa-chevron-left"
style="font-size:24px"></i></span>
</a> <a class="carousel-control-next" href="#demo1"
data-slide="next" style="width:35px; color:#000">
<span class="carousel-control-next-icon"><i
class="fa fa-chevron-right"
style="font-size:24px"></i></span>
</a>
</div>
</div>
</div>
<!-- END OF RELATED PRODUCTS -->
<!-- OUR SERVICES -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/star.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Our Services
</h2>
</div>
<div class="container my-5">
<div class="row">
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #1dd1a1 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/cogs.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Customization</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #ff6b6b !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/wrench.png"
class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Implementation</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #6462CD !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/lifebuoy.png"
class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Support</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #ffa801 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/user.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Hire Odoo Developer</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #54a0ff !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/puzzle.png"
class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Integration</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #6d7680 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/update.png"
class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Migration</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #786fa6 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/consultation.png"
class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Consultancy</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #f8a5c2 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/training.png"
class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Implementation</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #e6be26 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/license.png"
class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Licensing Consultancy</h6>
</div>
</div>
</div>
<!-- END OF OUR SERVICES -->
<!-- OUR INDUSTRIES -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/corporate.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Our
Industries
</h2>
</div>
<div class="container my-5">
<div class="row">
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/trading-black.png"
class="img-responsive mb-3" height="48px"
width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Trading
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Easily procure
and
sell your products</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/pos-black.png"
class="img-responsive mb-3" height="48px"
width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
POS
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Easy
configuration
and convivial experience</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/education-black.png"
class="img-responsive mb-3" height="48px"
width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Education
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
A platform for
educational management</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/manufacturing-black.png"
class="img-responsive mb-3" height="48px"
width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Manufacturing
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Plan, track and
schedule your operations</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/ecom-black.png"
class="img-responsive mb-3" height="48px"
width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
E-commerce &amp; Website
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Mobile
friendly,
awe-inspiring product pages</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/service-black.png"
class="img-responsive mb-3" height="48px"
width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Service Management
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Keep track of
services and invoice</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/restaurant-black.png"
class="img-responsive mb-3" height="48px"
width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Restaurant
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Run your bar or
restaurant methodically</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/hotel-black.png"
class="img-responsive mb-3" height="48px"
width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Hotel Management
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
An
all-inclusive
hotel management application</p>
</div>
</div>
</div>
</div>
<!-- END OF OUR INDUSTRIES -->
<!-- SUPPORT -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/customer-support.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Support
</h2>
</div>
<div class="container mt-5">
<div class="row">
<div class="col-sm-12 col-md-6">
<div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;">
<div class="mr-4 d-flex justify-content-center align-items-center"
style="background-color: #714B67; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;">
<img src="assets/misc/support.png" height="48"
width="48" style="width: 42px; height: 42px;"/>
</div>
<div>
<h4>Need Help?</h4>
<p style="line-height: 100%;">Got questions or need
help? Get in touch.</p>
<a href="mailto:odoo@cybrosys.com">
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;">
odoo@cybrosys.com</p>
</a>
</div>
</div>
</div>
<div class="col-sm-12 col-md-6">
<div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;">
<div class="mr-4 d-flex justify-content-center align-items-center"
style="background-color: #2AC44D; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;">
<img src="assets/misc/whatsapp.png" height="52"
width="52" style="width: 52px; height: 52px;"/>
</div>
<div>
<h4>WhatsApp</h4>
<p style="line-height: 100%;">Say hi to us on
WhatsApp!</p>
<a href="https://api.whatsapp.com/send?phone=918606827707">
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;">
+91 86068
27707</p>
</a>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12 my-5 d-flex justify-content-center align-items-center">
<img src="assets/misc/logo.png" width="144" height="31"
style="width:144px; height: 31px; margin-top: 40px;"/>
</div>
</div>
</div>
</div>
</div>
<!-- END OF SUPPORT -->

BIN
cc_avenue_payment/static/src/img/hello.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

10
cc_avenue_payment/views/cc_avenue_templates.xml

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- This template defines a form that contains hidden input fields used for redirecting to the payment provider.-->
<template id="redirect_form">
<form t-att-action="api_url" method="post">
<input type="hidden" name="encRequest" t-att-value="encrypted_data"/>
<input type="hidden" name="access_code" t-att-value="access_code"/>
</form>
</template>
</odoo>

21
cc_avenue_payment/views/payment_provider_views.xml

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Inherited the payment_provider_form to Add fields in the form view-->
<record id="payment_provider_form" model="ir.ui.view">
<field name="name">payment.provider.view.form.inherit.cc.avenue.payment</field>
<field name="model">payment.provider</field>
<field name="inherit_id" ref="payment.payment_provider_form"/>
<field name="arch" type="xml">
<group name="provider_credentials" position='inside'>
<group attrs="{'invisible': [('code', '!=', 'avenue')]}">
<field name="merchant_key"
attrs="{'required':[ ('code', '=', 'avenue'), ('state', '!=', 'disabled')]}"/>
<field name="access_code"
attrs="{'required':[ ('code', '=', 'avenue'), ('state', '!=', 'disabled')]}"/>
<field name="working_key"
attrs="{'required':[ ('code', '=', 'avenue'), ('state', '!=', 'disabled')]}"/>
</group>
</group>
</field>
</record>
</odoo>
Loading…
Cancel
Save