{"id":11687,"date":"2024-07-08T08:03:18","date_gmt":"2024-07-08T08:03:18","guid":{"rendered":"https:\/\/shivlab.com\/blog\/\/"},"modified":"2024-07-08T08:03:18","modified_gmt":"2024-07-08T08:03:18","slug":"uae-django-payment-gateway-integration","status":"publish","type":"post","link":"http:\/\/167.86.116.248\/shivlab\/blog\/uae-django-payment-gateway-integration\/","title":{"rendered":"Integrating Local Payment Gateways with Django"},"content":{"rendered":"<p>Integrating a local payment gateway into a Django application is crucial for enabling smooth transactions in e-commerce platforms, especially if you are operating in a specific region like the UAE. This guide will walk you through the steps to integrate popular UAE payment gateways such as Payfort or Telr into your Django application.<\/p>\n<h2><strong><span style=\"color: #ff8625;\">1)<\/span> Setting Up Your Django Environment<\/strong><\/h2>\n<hr \/>\n<p>Before integrating a payment gateway, you need to ensure that your Django environment is properly set up. Start by creating a new Django project and app if you haven&#8217;t already.<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\ndjango-admin startproject myproject\r\ncd myproject\r\ndjango-admin startapp payments\r\n<\/pre>\n<p>Add your new app to the INSTALLED_APPS list in settings.py:<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n# myproject\/settings.py\r\n\r\nINSTALLED_APPS = &#x5B;\r\n    ...\r\n    'payments',\r\n    ...\r\n]\r\n<\/pre>\n<h2><strong><span style=\"color: #ff8625;\">2)<\/span> Installing Required Packages<\/strong><\/h2>\n<hr \/>\n<p>You&#8217;ll need the requests library to handle HTTP requests to the payment gateway&#8217;s API. Install it using pip:<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\npip install requests\r\n<\/pre>\n<h2><strong><span style=\"color: #ff8625;\">3)<\/span> Configuring the Payment Gateway<\/strong><\/h2>\n<hr \/>\n<h3><strong><span style=\"color: #ff8625;\">#<\/span> Payfort<\/strong><\/h3>\n<ul class=\"orangeList\">\n<li><strong>Create an Account:<\/strong> First, create an account with Payfort and obtain your merchant identifier, access code, and SHA request phrase.<\/li>\n<li><strong>Settings:<\/strong> Store these credentials in your Django settings file:\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n# myproject\/settings.py\r\n\r\nPAYFORT_MERCHANT_IDENTIFIER = 'your_merchant_identifier'\r\nPAYFORT_ACCESS_CODE = 'your_access_code'\r\nPAYFORT_SHA_REQUEST_PHRASE = 'your_sha_request_phrase'\r\nPAYFORT_SANDBOX_URL = 'https:\/\/sbpaymentservices.payfort.com\/FortAPI\/paymentApi'\r\nPAYFORT_PRODUCTION_URL = 'https:\/\/paymentservices.payfort.com\/FortAPI\/paymentApi'\r\n<\/pre>\n<\/li>\n<\/ul>\n<h3><strong><span style=\"color: #ff8625;\">#<\/span> Telr<\/strong><\/h3>\n<ul class=\"orangeList\">\n<li><strong>Create an Account:<\/strong> Similarly, create an account with Telr and get your store ID and auth key.<\/li>\n<li><strong>Settings:<\/strong> Store these credentials in your settings:\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n# myproject\/settings.py\r\n\r\nTELR_STORE_ID = 'your_store_id'\r\nTELR_AUTH_KEY = 'your_auth_key'\r\nTELR_SANDBOX_URL = 'https:\/\/secure.telr.com\/gateway\/order.json'\r\nTELR_PRODUCTION_URL = 'https:\/\/secure.telr.com\/gateway\/order.json'\r\n<\/pre>\n<\/li>\n<\/ul>\n<h2><strong><span style=\"color: #ff8625;\">4)<\/span> Creating Payment Models<\/strong><\/h2>\n<hr \/>\n<p>Create models to handle payment transactions. Here is a simple example:<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n# payments\/models.py\r\n\r\nfrom django.db import models\r\n\r\nclass Payment(models.Model):\r\n    STATUS_CHOICES = (\r\n        ('initiated', 'Initiated'),\r\n        ('completed', 'Completed'),\r\n        ('failed', 'Failed'),\r\n    )\r\n\r\n    amount = models.DecimalField(max_digits=10, decimal_places=2)\r\n    status = models.CharField(max_length=20, choices=STATUS_CHOICES, default='initiated')\r\n    transaction_id = models.CharField(max_length=100, unique=True, null=True, blank=True)\r\n    created_at = models.DateTimeField(auto_now_add=True)\r\n\r\n    def __str__(self):\r\n        return f&quot;Payment {self.id} - {self.status}&quot;\r\n<\/pre>\n<p>Run the migrations to create the table:<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\npython manage.py makemigrations\r\npython manage.py migrate\r\n<\/pre>\n<h2><strong><span style=\"color: #ff8625;\">5)<\/span> Creating Payment Views<\/strong><\/h2>\n<hr \/>\n<p>Create views to handle payment initiation and response handling. For example, let&#8217;s create views for Payfort.<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n# payments\/views.py\r\n\r\nimport hashlib\r\nimport json\r\nimport requests\r\nfrom django.conf import settings\r\nfrom django.shortcuts import render, redirect\r\nfrom .models import Payment\r\n\r\ndef generate_signature(params, sha_phrase):\r\n    sorted_params = sorted(params.items())\r\n    concatenated_params = ''.join(f&quot;{key}={value}&quot; for key, value in sorted_params)\r\n    concatenated_params = sha_phrase + concatenated_params + sha_phrase\r\n    return hashlib.sha256(concatenated_params.encode('utf-8')).hexdigest()\r\n\r\ndef initiate_payfort_payment(request):\r\n    if request.method == 'POST':\r\n        amount = request.POST.get('amount')\r\n        payment = Payment.objects.create(amount=amount)\r\n\r\n        params = {\r\n            'merchant_identifier': settings.PAYFORT_MERCHANT_IDENTIFIER,\r\n            'access_code': settings.PAYFORT_ACCESS_CODE,\r\n            'merchant_reference': payment.id,\r\n            'amount': int(float(amount) * 100),\r\n            'currency': 'AED',\r\n            'language': 'en',\r\n            'command': 'AUTHORIZATION',\r\n            'customer_email': 'customer@example.com',\r\n            'return_url': request.build_absolute_uri('\/payments\/payfort_callback\/'),\r\n        }\r\n\r\n        signature = generate_signature(params, settings.PAYFORT_SHA_REQUEST_PHRASE)\r\n        params&#x5B;'signature'] = signature\r\n\r\n        response = requests.post(settings.PAYFORT_SANDBOX_URL,\r\n                   data=json.dumps(params),\r\n                   headers={'Content-Type': 'application\/json'})\r\n        response_data = response.json()\r\n\r\n        if response_data&#x5B;'status'] == 20:  # success status code\r\n            payment.transaction_id = response_data&#x5B;'fort_id']\r\n            payment.status = 'completed'\r\n            payment.save()\r\n            return redirect('payment_success')\r\n        else:\r\n            payment.status = 'failed'\r\n            payment.save()\r\n            return redirect('payment_failure')\r\n\r\n    return render(request, 'payments\/initiate_payfort_payment.html')\r\n\r\ndef payfort_callback(request):\r\n    # Handle Payfort callback response\r\nPass\r\n<\/pre>\n<p><strong>Also Read:-<\/strong> <a href=\"http:\/\/167.86.116.248\/shivlab\/blog\/use-python-as-a-backend-for-flutter-app\/\">Can We Use Python as a Backend for a Flutter App?<\/a><\/p>\n<h2><strong><span style=\"color: #ff8625;\">6)<\/span> Creating Templates<\/strong><\/h2>\n<hr \/>\n<p>Create templates to handle the payment initiation form and success\/failure pages.<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n&lt;!-- templates\/payments\/initiate_payfort_payment.html --&gt;\r\n\r\n&lt;form method=&quot;post&quot;&gt;\r\n    {% csrf_token %}\r\n    &lt;label for=&quot;amount&quot;&gt;Amount:&lt;\/label&gt;\r\n    &lt;input type=&quot;text&quot; name=&quot;amount&quot; required&gt;\r\n    &lt;button type=&quot;submit&quot;&gt;Pay with Payfort&lt;\/button&gt;\r\n&lt;\/form&gt;\r\n=====================\r\n=====================\r\n&lt;!-- templates\/payments\/payment_success.html --&gt;\r\n\r\n&lt;h1&gt;Payment Successful!&lt;\/h1&gt;\r\n&lt;p&gt;Thank you for your payment.&lt;\/p&gt;\r\n=====================\r\n=====================\r\n&lt;!-- templates\/payments\/payment_failure.html --&gt;\r\n\r\n&lt;h1&gt;Payment Failed&lt;\/h1&gt;\r\n&lt;p&gt;Sorry, your payment could not be processed. Please try again.&lt;\/p&gt;\r\n<\/pre>\n<h2><strong><span style=\"color: #ff8625;\">7)<\/span> Updating URLs<\/strong><\/h2>\n<hr \/>\n<p>Add the new views to your URL configuration.<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n# payments\/urls.py\r\n\r\nfrom django.urls import path\r\nfrom .views import initiate_payfort_payment, payfort_callback\r\n\r\nurlpatterns = &#x5B;\r\n    path('payfort\/', initiate_payfort_payment, name='initiate_payfort_payment'),\r\n    path('payfort_callback\/', payfort_callback, name='payfort_callback'),\r\n]\r\n<\/pre>\n<p>Include these URLs in the main URL configuration.<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n# myproject\/urls.py\r\n\r\nfrom django.contrib import admin\r\nfrom django.urls import include, path\r\n\r\nurlpatterns = &#x5B;\r\n    path('admin\/', admin.site.urls),\r\n    path('payments\/', include('payments.urls')),\r\n]\r\n<\/pre>\n<h2><strong><span style=\"color: #ff8625;\">8)<\/span> Testing the Integration<\/strong><\/h2>\n<hr \/>\n<p>Run your Django server and test the payment integration:<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">python manage.py runserver<\/pre>\n<p>Visit the payment initiation URL (e.g., http:\/\/localhost:8000\/payments\/payfort\/) and follow the payment process. Check your database to ensure the payment status updates correctly.<\/p>\n<h2><strong><span style=\"color: #ff8625;\">9)<\/span> Handling Payment Responses<\/strong><\/h2>\n<hr \/>\n<p>Ensure your callback view handles the response from the payment gateway correctly. This will typically involve verifying the payment status and updating your payment records.<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n# payments\/views.py\r\n\r\ndef payfort_callback(request):\r\n    response_data = request.GET  # or request.POST, depending on the gateway's response method\r\n    merchant_reference = response_data.get('merchant_reference')\r\n    status = response_data.get('status')\r\n    fort_id = response_data.get('fort_id')\r\n\r\n    payment = Payment.objects.get(id=merchant_reference)\r\n    if status == '14':  # Payfort success status code\r\n        payment.status = 'completed'\r\n        payment.transaction_id = fort_id\r\n    else:\r\n        payment.status = 'failed'\r\n\r\n    payment.save()\r\nreturn redirect('payment_success' if payment.status == 'completed' else 'payment_failure')\r\n<\/pre>\n<p><strong>Also Read:-<\/strong> <a href=\"http:\/\/167.86.116.248\/shivlab\/blog\/logging-with-python-and-loguru-a-step-by-step-guide\/\">Logging with Python and Loguru: A Step-by-Step Guide<\/a><\/p>\n<h2><strong>Shiv Technolabs Can Help Simplify Your Django Payment Gateway Integration<\/strong><\/h2>\n<hr \/>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11709\" src=\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/07\/Shiv-Technolabs-Can-Help-Simplify-Your-Django-Payment-Gateway-Integration.png\" alt=\"Shiv Technolabs Can Help Simplify Your Django Payment Gateway Integration\" width=\"950\" height=\"564\" srcset=\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/07\/Shiv-Technolabs-Can-Help-Simplify-Your-Django-Payment-Gateway-Integration.png 950w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/07\/Shiv-Technolabs-Can-Help-Simplify-Your-Django-Payment-Gateway-Integration-300x178.png 300w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/07\/Shiv-Technolabs-Can-Help-Simplify-Your-Django-Payment-Gateway-Integration-768x456.png 768w\" sizes=\"auto, (max-width: 950px) 100vw, 950px\" \/><\/p>\n<p>Integrating a payment gateway can be a complex process, especially when dealing with multiple providers and ensuring compliance with local regulations. Shiv Technolabs, a leading software development company, can streamline this process for you. <a href=\"http:\/\/167.86.116.248\/shivlab\/python-development-services\/\">Our team of experienced developers<\/a> specializes in Django and has extensive experience integrating various local and international payment gateways, including Payfort and Telr, into robust and secure e-commerce platforms.<\/p>\n<h3><strong><span style=\"color: #ff8625;\">#<\/span> Expertise in Local Payment Solutions<\/strong><\/h3>\n<p>At Shiv Technolabs, we understand the unique requirements of businesses operating in the UAE. We are well-versed in the specific functionalities and compliance standards required by local payment gateways. This ensures that your payment integration is not only functional but also adheres to all necessary legal and financial regulations. Our team stays updated with the latest developments and updates from payment gateway providers to offer you the most efficient and secure integration solutions.<\/p>\n<h3><strong><span style=\"color: #ff8625;\">#<\/span> Comprehensive Integration Services<\/strong><\/h3>\n<p>Our services encompass the full spectrum of payment gateway integration. This includes:<\/p>\n<ul class=\"orangeList\">\n<li><strong>Consultation and Planning:<\/strong> We start by understanding your business needs and objectives to recommend the best payment gateway for your requirements. We provide a detailed plan outlining the integration process and timeline.<\/li>\n<li><strong>Development and Integration:<\/strong> Our developers handle the complete technical integration of the payment gateway with your Django application. This includes setting up secure transaction processes, handling callbacks, and ensuring data encryption.<\/li>\n<li><strong>Testing and Quality Assurance:<\/strong> We conduct rigorous testing to ensure that the payment gateway integration is seamless and performs well under various scenarios. This includes testing for transaction success, failure handling, and edge cases.<\/li>\n<li><strong>Ongoing Support and Maintenance:<\/strong> Post-integration, we offer continuous support and maintenance services. This ensures that your payment system remains operational and secure as your business grows and as payment gateways evolve.<\/li>\n<\/ul>\n<h3><strong><span style=\"color: #ff8625;\">#<\/span> Why Choose Shiv Technolabs?<\/strong><\/h3>\n<p>Choosing <a href=\"http:\/\/167.86.116.248\/shivlab\/\">Shiv Technolabs<\/a> means partnering with a company that values quality, security, and customer satisfaction. Our proven track record in delivering successful payment gateway integrations for businesses in UAE speaks volumes about our expertise and commitment. We aim to provide solutions that not only meet your current needs but also scale with your business.<\/p>\n<p>By leveraging our services, you can focus on what you do best\u2014growing your business\u2014while we handle the technical complexities of payment gateway integration. Contact Shiv Technolabs today to discuss your project and find out how we, as a <a href=\"http:\/\/167.86.116.248\/shivlab\/python-development-company-uae\/\">leading Python development company in UAE<\/a>, can assist you in integrating local payment gateways with Django.<\/p>\n<h4><strong>Conclusion<\/strong><\/h4>\n<hr \/>\n<p>Integrating local payment gateways like Payfort or Telr into your Django application involves several steps, including setting up your environment, configuring the gateway, creating payment models, views, and handling payment responses. By following this guide, you can enable secure and efficient transactions in your Django projects tailored for the UAE market.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Integrate UAE payment gateways with Django effortlessly. Shiv Technolabs provides expert services for secure and compliant payment solutions tailored to your business needs. Contact us for seamless integration and support from the leading Python development company in UAE.<\/p>\n","protected":false},"author":4,"featured_media":11708,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-11687","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-development"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Integrating Local Payment Gateways with Django<\/title>\n<meta name=\"description\" content=\"Integrate local UAE payment gateways with Django easily. Shiv Technolabs offers expert services for secure, compliant payment solutions. Contact us today for seamless integration.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/167.86.116.248\/shivlab\/blog\/uae-django-payment-gateway-integration\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Integrating Local Payment Gateways with Django\" \/>\n<meta property=\"og:description\" content=\"Integrate local UAE payment gateways with Django easily. Shiv Technolabs offers expert services for secure, compliant payment solutions. Contact us today for seamless integration.\" \/>\n<meta property=\"og:url\" content=\"http:\/\/167.86.116.248\/shivlab\/blog\/uae-django-payment-gateway-integration\/\" \/>\n<meta property=\"og:site_name\" content=\"Shiv Technolabs Pvt. Ltd.\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ShivTechnolabs\/\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/dipen.majithiya\" \/>\n<meta property=\"article:published_time\" content=\"2024-07-08T08:03:18+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/07\/Integrating-Local-Payment-Gateways-with-Django.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1140\" \/>\n\t<meta property=\"og:image:height\" content=\"762\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Dipen Majithiya\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dip_majithiya\" \/>\n<meta name=\"twitter:site\" content=\"@Shiv_Technolabs\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Dipen Majithiya\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/167.86.116.248\/shivlab\/blog\/uae-django-payment-gateway-integration\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/167.86.116.248\/shivlab\/blog\/uae-django-payment-gateway-integration\/\"},\"author\":{\"name\":\"Dipen Majithiya\",\"@id\":\"http:\/\/167.86.116.248\/shivlab\/#\/schema\/person\/656b1fcc45a591961e3f3b061cd03206\"},\"headline\":\"Integrating Local Payment Gateways with Django\",\"datePublished\":\"2024-07-08T08:03:18+00:00\",\"dateModified\":\"2024-07-08T08:03:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/167.86.116.248\/shivlab\/blog\/uae-django-payment-gateway-integration\/\"},\"wordCount\":1508,\"publisher\":{\"@id\":\"http:\/\/167.86.116.248\/shivlab\/#organization\"},\"image\":{\"@id\":\"http:\/\/167.86.116.248\/shivlab\/blog\/uae-django-payment-gateway-integration\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/07\/Integrating-Local-Payment-Gateways-with-Django.png\",\"articleSection\":[\"Web Development\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/167.86.116.248\/shivlab\/blog\/uae-django-payment-gateway-integration\/\",\"url\":\"http:\/\/167.86.116.248\/shivlab\/blog\/uae-django-payment-gateway-integration\/\",\"name\":\"Integrating Local Payment Gateways with Django\",\"isPartOf\":{\"@id\":\"http:\/\/167.86.116.248\/shivlab\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/167.86.116.248\/shivlab\/blog\/uae-django-payment-gateway-integration\/#primaryimage\"},\"image\":{\"@id\":\"http:\/\/167.86.116.248\/shivlab\/blog\/uae-django-payment-gateway-integration\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/07\/Integrating-Local-Payment-Gateways-with-Django.png\",\"datePublished\":\"2024-07-08T08:03:18+00:00\",\"dateModified\":\"2024-07-08T08:03:18+00:00\",\"description\":\"Integrate local UAE payment gateways with Django easily. Shiv Technolabs offers expert services for secure, compliant payment solutions. Contact us today for seamless integration.\",\"breadcrumb\":{\"@id\":\"http:\/\/167.86.116.248\/shivlab\/blog\/uae-django-payment-gateway-integration\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/167.86.116.248\/shivlab\/blog\/uae-django-payment-gateway-integration\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/167.86.116.248\/shivlab\/blog\/uae-django-payment-gateway-integration\/#primaryimage\",\"url\":\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/07\/Integrating-Local-Payment-Gateways-with-Django.png\",\"contentUrl\":\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/07\/Integrating-Local-Payment-Gateways-with-Django.png\",\"width\":1140,\"height\":762,\"caption\":\"Integrating Local Payment Gateways with Django\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/167.86.116.248\/shivlab\/blog\/uae-django-payment-gateway-integration\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/167.86.116.248\/shivlab\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Integrating Local Payment Gateways with Django\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/167.86.116.248\/shivlab\/#website\",\"url\":\"http:\/\/167.86.116.248\/shivlab\/\",\"name\":\"Shiv Technolabs Pvt. Ltd.\",\"description\":\"\",\"publisher\":{\"@id\":\"http:\/\/167.86.116.248\/shivlab\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/167.86.116.248\/shivlab\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"http:\/\/167.86.116.248\/shivlab\/#organization\",\"name\":\"Shiv Technolabs Pvt. Ltd\",\"url\":\"http:\/\/167.86.116.248\/shivlab\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/167.86.116.248\/shivlab\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2022\/11\/stl-logo1.png\",\"contentUrl\":\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2022\/11\/stl-logo1.png\",\"width\":1280,\"height\":371,\"caption\":\"Shiv Technolabs Pvt. Ltd\"},\"image\":{\"@id\":\"http:\/\/167.86.116.248\/shivlab\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/ShivTechnolabs\/\",\"https:\/\/x.com\/Shiv_Technolabs\",\"https:\/\/www.linkedin.com\/company\/shivtechnolabs\/\",\"https:\/\/www.instagram.com\/shivtechnolabs\/\",\"https:\/\/in.pinterest.com\/ShivTechnolabs\/\"]},{\"@type\":\"Person\",\"@id\":\"http:\/\/167.86.116.248\/shivlab\/#\/schema\/person\/656b1fcc45a591961e3f3b061cd03206\",\"name\":\"Dipen Majithiya\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/167.86.116.248\/shivlab\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2022\/09\/02_emp_pic-dipen-150x150.png\",\"contentUrl\":\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2022\/09\/02_emp_pic-dipen-150x150.png\",\"caption\":\"Dipen Majithiya\"},\"description\":\"I am a proactive chief technology officer (CTO) of Shiv Technolabs. I have 10+ years of experience in eCommerce, mobile apps, and web development in the tech industry. I am Known for my strategic insight and have mastered core technical domains. I have empowered numerous business owners with bespoke solutions, fearlessly taking calculated risks and harnessing the latest technological advancements.\",\"sameAs\":[\"http:\/\/167.86.116.248\/shivlab\/\",\"https:\/\/www.facebook.com\/dipen.majithiya\",\"https:\/\/www.linkedin.com\/in\/dipenmajithiya\/\",\"https:\/\/x.com\/dip_majithiya\"],\"url\":\"http:\/\/167.86.116.248\/shivlab\/author\/dipen_majithiya\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Integrating Local Payment Gateways with Django","description":"Integrate local UAE payment gateways with Django easily. Shiv Technolabs offers expert services for secure, compliant payment solutions. Contact us today for seamless integration.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/167.86.116.248\/shivlab\/blog\/uae-django-payment-gateway-integration\/","og_locale":"en_US","og_type":"article","og_title":"Integrating Local Payment Gateways with Django","og_description":"Integrate local UAE payment gateways with Django easily. Shiv Technolabs offers expert services for secure, compliant payment solutions. Contact us today for seamless integration.","og_url":"http:\/\/167.86.116.248\/shivlab\/blog\/uae-django-payment-gateway-integration\/","og_site_name":"Shiv Technolabs Pvt. Ltd.","article_publisher":"https:\/\/www.facebook.com\/ShivTechnolabs\/","article_author":"https:\/\/www.facebook.com\/dipen.majithiya","article_published_time":"2024-07-08T08:03:18+00:00","og_image":[{"width":1140,"height":762,"url":"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/07\/Integrating-Local-Payment-Gateways-with-Django.png","type":"image\/png"}],"author":"Dipen Majithiya","twitter_card":"summary_large_image","twitter_creator":"@dip_majithiya","twitter_site":"@Shiv_Technolabs","twitter_misc":{"Written by":"Dipen Majithiya","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/167.86.116.248\/shivlab\/blog\/uae-django-payment-gateway-integration\/#article","isPartOf":{"@id":"http:\/\/167.86.116.248\/shivlab\/blog\/uae-django-payment-gateway-integration\/"},"author":{"name":"Dipen Majithiya","@id":"http:\/\/167.86.116.248\/shivlab\/#\/schema\/person\/656b1fcc45a591961e3f3b061cd03206"},"headline":"Integrating Local Payment Gateways with Django","datePublished":"2024-07-08T08:03:18+00:00","dateModified":"2024-07-08T08:03:18+00:00","mainEntityOfPage":{"@id":"http:\/\/167.86.116.248\/shivlab\/blog\/uae-django-payment-gateway-integration\/"},"wordCount":1508,"publisher":{"@id":"http:\/\/167.86.116.248\/shivlab\/#organization"},"image":{"@id":"http:\/\/167.86.116.248\/shivlab\/blog\/uae-django-payment-gateway-integration\/#primaryimage"},"thumbnailUrl":"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/07\/Integrating-Local-Payment-Gateways-with-Django.png","articleSection":["Web Development"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"http:\/\/167.86.116.248\/shivlab\/blog\/uae-django-payment-gateway-integration\/","url":"http:\/\/167.86.116.248\/shivlab\/blog\/uae-django-payment-gateway-integration\/","name":"Integrating Local Payment Gateways with Django","isPartOf":{"@id":"http:\/\/167.86.116.248\/shivlab\/#website"},"primaryImageOfPage":{"@id":"http:\/\/167.86.116.248\/shivlab\/blog\/uae-django-payment-gateway-integration\/#primaryimage"},"image":{"@id":"http:\/\/167.86.116.248\/shivlab\/blog\/uae-django-payment-gateway-integration\/#primaryimage"},"thumbnailUrl":"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/07\/Integrating-Local-Payment-Gateways-with-Django.png","datePublished":"2024-07-08T08:03:18+00:00","dateModified":"2024-07-08T08:03:18+00:00","description":"Integrate local UAE payment gateways with Django easily. Shiv Technolabs offers expert services for secure, compliant payment solutions. Contact us today for seamless integration.","breadcrumb":{"@id":"http:\/\/167.86.116.248\/shivlab\/blog\/uae-django-payment-gateway-integration\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/167.86.116.248\/shivlab\/blog\/uae-django-payment-gateway-integration\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/167.86.116.248\/shivlab\/blog\/uae-django-payment-gateway-integration\/#primaryimage","url":"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/07\/Integrating-Local-Payment-Gateways-with-Django.png","contentUrl":"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/07\/Integrating-Local-Payment-Gateways-with-Django.png","width":1140,"height":762,"caption":"Integrating Local Payment Gateways with Django"},{"@type":"BreadcrumbList","@id":"http:\/\/167.86.116.248\/shivlab\/blog\/uae-django-payment-gateway-integration\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/167.86.116.248\/shivlab\/"},{"@type":"ListItem","position":2,"name":"Integrating Local Payment Gateways with Django"}]},{"@type":"WebSite","@id":"http:\/\/167.86.116.248\/shivlab\/#website","url":"http:\/\/167.86.116.248\/shivlab\/","name":"Shiv Technolabs Pvt. Ltd.","description":"","publisher":{"@id":"http:\/\/167.86.116.248\/shivlab\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/167.86.116.248\/shivlab\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"http:\/\/167.86.116.248\/shivlab\/#organization","name":"Shiv Technolabs Pvt. Ltd","url":"http:\/\/167.86.116.248\/shivlab\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/167.86.116.248\/shivlab\/#\/schema\/logo\/image\/","url":"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2022\/11\/stl-logo1.png","contentUrl":"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2022\/11\/stl-logo1.png","width":1280,"height":371,"caption":"Shiv Technolabs Pvt. Ltd"},"image":{"@id":"http:\/\/167.86.116.248\/shivlab\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ShivTechnolabs\/","https:\/\/x.com\/Shiv_Technolabs","https:\/\/www.linkedin.com\/company\/shivtechnolabs\/","https:\/\/www.instagram.com\/shivtechnolabs\/","https:\/\/in.pinterest.com\/ShivTechnolabs\/"]},{"@type":"Person","@id":"http:\/\/167.86.116.248\/shivlab\/#\/schema\/person\/656b1fcc45a591961e3f3b061cd03206","name":"Dipen Majithiya","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/167.86.116.248\/shivlab\/#\/schema\/person\/image\/","url":"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2022\/09\/02_emp_pic-dipen-150x150.png","contentUrl":"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2022\/09\/02_emp_pic-dipen-150x150.png","caption":"Dipen Majithiya"},"description":"I am a proactive chief technology officer (CTO) of Shiv Technolabs. I have 10+ years of experience in eCommerce, mobile apps, and web development in the tech industry. I am Known for my strategic insight and have mastered core technical domains. I have empowered numerous business owners with bespoke solutions, fearlessly taking calculated risks and harnessing the latest technological advancements.","sameAs":["http:\/\/167.86.116.248\/shivlab\/","https:\/\/www.facebook.com\/dipen.majithiya","https:\/\/www.linkedin.com\/in\/dipenmajithiya\/","https:\/\/x.com\/dip_majithiya"],"url":"http:\/\/167.86.116.248\/shivlab\/author\/dipen_majithiya\/"}]}},"jetpack_featured_media_url":"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/07\/Integrating-Local-Payment-Gateways-with-Django.png","_links":{"self":[{"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/posts\/11687","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/comments?post=11687"}],"version-history":[{"count":12,"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/posts\/11687\/revisions"}],"predecessor-version":[{"id":11711,"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/posts\/11687\/revisions\/11711"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/media\/11708"}],"wp:attachment":[{"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/media?parent=11687"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/categories?post=11687"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/tags?post=11687"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}