teleren/devto huggingface dataset:
how can we make an e-commerce shopping cart using the Paytm payment gateway in Codeigniter 3?
Published: 2023-11-08 06:55:44


**codeigniter3** As you can see in the below PHP code I'm using the **Paytm payment gateway** in my project,
 I want when the user to adds an item to the shopping cart and goes to the checkout button, the user should be redirected to the **user shipping address submission** page. After completing the information page, the user should be redirected to the **checkout process order** page with the total cart item amount where he can make the payment. What type of logic and data structure will I need for this, provide me source code or better guidance based on the MVC pattern or give me some code on model and controller worked with the complete query to execute the data structure.


**user shipping address submission**
```
        $this->form_validation->set_rules('name', 'Name', 'required');
        $this->form_validation->set_rules('email', 'Email', 'required|valid_email');
        $this->form_validation->set_rules('password', 'Password', 'required');
        $this->form_validation->set_rules('phone', 'Phone', 'required');
        $this->form_validation->set_rules('address', 'Address', 'required');
```

**checkout process order**
```
    $paramList["MID"] = PAYTM_MERCHANT_MID;
    $paramList["ORDER_ID"] = 'id';
    $paramList["CUST_ID"] = 'customer_id';
    $paramList["INDUSTRY_TYPE_ID"] = INDUSTRY_TYPE_ID;
    $paramList["CHANNEL_ID"] = $CHANNEL_ID;
    $paramList["TXN_AMOUNT"] = $item["subtotal"];
    $paramList["WEBSITE"] = PAYTM_MERCHANT_WEBSITE;
   
    $paramList["CALLBACK_URL"] = base_url('Checkout/payment_response');
    $paramList["MSISDN"] = 'xxxxxxxxxx'; //Mobile number of customer
    $paramList["EMAIL"] = 'xxxxxxxxxx'; //Email ID of customer
    $paramList["VERIFIED_BY"] = "MSISDN";
    $paramList["IS_USER_VERIFIED"] = "YES";
   
    $checkSum = $this->paytm->getChecksumFromArray($paramList,PAYTM_MERCHANT_KEY);
    $transaction_url = PAYTM_TXN_URL;
    $data = array('paramList' => $paramList,'transaction_url' => $transaction_url,'checkSum' => $checkSum);
   
    // ,'order_id' => $order_id
    $this->load->view('order_process',$data);

This is the callback_URL of the checkout process. Here I want if the payment status is successful then I should be shown the complete order information of the user according to the order ID submitted by the
```

**callback_URL**
```
    $paytmChecksum = "";
    $paramList = array();
    $isValidChecksum = FALSE;
   
    $paramList = $_POST;
   
    $paytmChecksum = isset($_POST["CHECKSUMHASH"]) ? $_POST["CHECKSUMHASH"] : ""; //Sent by Paytm pg
   
    $isValidChecksum = $this->paytm->verifychecksum_e($paramList, PAYTM_MERCHANT_KEY, $paytmChecksum); //will return TRUE or FALSE string.
     
   
    if($isValidChecksum == "TRUE") {
        if ($_POST["STATUS"] == "TXN_SUCCESS") {

        //Here we can show order information

        }else{
            echo 'Transaction Failed';
        }
    }else{
        echo 'Not Valid Check Sum';
    }
```
Project 3
Published: 2023-11-08 06:53:22

Overall, Project 3 was a bit of a mess in my opinion. I feel like there were too many people which over complicated the processes of fixing issues as well as adding new features. Communication was very confusing and difficult as well. I will go over both parts A and B and talk about the positives and negatives of each part.

Part A was fairly simple and straight forward once I got clear direction on what to do. At first I was completely lost because there was so much going on and so many people working together; however, once our team lead broke down our team tasks everything made more sense. Our team was tasked with finding issues as well as coming up with new features. I was put in the new feature group and I came up with adding background music as well as adding a sound for each level complete. Although at first I was lost with so many people working togther, after getting guidance from our team lead it made more sense.

Part B got a lot more hectic in my opinion. Like before, I feel like there were too many people which made everything confusing. After getting clarification from my team lead, I was part of the user testing team. Although this was supposed to be fun, it was kind of the opposite. I was waiting for the other members to implement their portions, there was also some overlap in things being implemented. Another issue was that members did not update their issues on Kanban so I did not know which components were ready for testing and which ones were not. This led to me having to go through each issue and checking to see which ones can be tested and which ones are not ready. Overall, this part of the project was very complicated. 

Although this project was fun, I feel like there were way to many people to work on it. Maybe 3 teams would be better than 2, that way the groups would not have too many people.
Reet Kumar : Retro Style Screen 90's
Tags: codepen, programming, beginners, css
Published: 2023-11-08 06:52:28

<h1>Reet Kumar Bind and Meena Devi His wife in a retro style design</h1>
This all animation was created by reet using infinix slim x3 with help of codepen.io
{% codepen https://codepen.io/Reetkumarbind/pen/WNPpwoW %}
5 Best Free Alternatives to Veed for AI Video Creation in 2023
Published: 2023-11-08 06:09:18

👋 Are you looking for some amazing alternatives to Veed for creating engaging videos? Look no further! In this post, we'll explore the top 5 free alternatives to Veed that can cater to your unique video creation needs.



But first, let's understand what Veed.io is all about. Veed is a user-friendly video creation tool that offers pre-made templates, easy image integration, and customizable music tracks. It's perfect for those who don't have advanced video editing skills.



Now, let's dive into the alternatives:

## [Synthesia](https://www.synthesia.io/?via=cg)

Synthesia is an AI-powered video editing platform that boasts a vast library of over 140 avatars. Say goodbye to actors and cameras, as these avatars can serve as video presenters. Plus, you can even create a custom avatar of yourself! With great integration options and a template library for different scenarios, Synthesia is definitely worth checking out.



## [Pictory](https://pictory.ai/?ref=pop17)

Pictory is an online AI-based alternative to Veed that allows you to create high-quality videos using pre-existing footage, audio, and voiceovers. It offers features like transforming articles into captivating videos, adding subtitles effortlessly, and summarizing long videos with ease.



## [Fliki](https://fliki.ai/?via=pop)

Fliki provides a faster and simpler video creation experience compared to Veed. With its text-to-video and text-to-speech capabilities, you can create content in just minutes using realistic AI voices. It also offers access to an extensive stock library of rich media assets.



## [Invideo](https://invideo.sjv.io/c/4697718/883681/12258)

If you're looking for a free alternative to Veed, InVideo is a great option. It offers premium templates, images, and music to help you create professional-looking videos. With 24/7 support and multilingual support for video creation, InVideo has got you covered.



## [DeepBrain AI](https://www.deepbrain.io/aistudios?via=co)

DeepBrain AI utilizes basic text to generate realistic AI avatar videos. You can create custom avatars for celebrities, politicians, news anchors, and sports figures. With its hassle-free online video editor and powerful features, DeepBrain AI is definitely worth considering.



For more details and pricing information on these alternatives, check out the original article [here](https://www.popwebtools.com/blog/best-free-veed-alternatives). These platforms provide viable options for creating high-quality, interactive videos that cater to your unique requirements.



So, which alternative are you most excited to try? Let us know in the comments below! 💬
Coding on Raspberry Pi Remotely with Visual Studio Code via SSH: Beginner's Guide (Part 2)
Tags: raspberrypi, beginners, tutorial, vscode
Published: 2023-11-08 05:42:16

{% embed https://www.youtube.com/watch?v=TZRGzLv57mc %}

In this quick tutorial, enhance your SSH experience with the Raspberry Pi by setting up VSCode with SSH so that you can edit files remotely on your Raspberry Pi via VSCode, which is one of the most popular code editors and it is free! Before we get started do not forget to watch part 1 where we SSH into the Raspberry Pi from our local computer here:

{% embed https://www.youtube.com/watch?v=aCGbQB8K8T8 %}

Before reading the remainder, be sure to subscribe and support the channel if you have not!

**Subscribe:**

Youtube

**Support:**

https://www.buymeacoffee.com/mmshilleh

**Step 1-) Download VSCode**

You can download it for free on their website. 

**Step 2-) VSCode Extension**

Go to the Extensions Tab and search 'Remote - SSH', it is the most popular SSH extension in VSCode. Download the extension.

Once it is done you can select the blue icon on the bottom left corner of the screen.

Connect to the host and Add SSH Host. You can enter the command

'ssh <Raspberry Pi Username>@<Raspberry Pi IP Address>'

Click enter when it prompts you to add it to the config file. You can learn how to get your IP address and username in part 1 above if you are still confused.

 

Once this is done you can simply edit files on the Pi in VSCode as opposed to doing it from a simple shell. This gives you a nice UI experience and the additional add-ons of VSCode make the experience even better. Hope everything was clear and let me know if you have any questions please.
ChatGPT Plugin
Tags: chatgpt, plugin, chatgtpplugin, store
Published: 2023-11-08 05:37:43

1. ChatGPT 메인 페이지에서 [ Settings ] → [ Beta Features ]를 선택하여 Plugins 활성화

2. 메인 페이지로 돌아가서 New Chat 클릭

3. ChatGPT 모델을 GPT-4로 바꾸고, Plugins 선택

4. "No plugins enabled (유효한 플러그인 없음)"이라는 메시지가 나오면 해당 버튼을 클릭하고 Plugin store 클릭

5. "About Plugins"를 읽은 후, "OK" 클릭

6. 필요한 플러그인을 선택하고 "Install" 클릭
Faris Aboobacker: The Entrepreneurial Prodigy
Tags: news
Published: 2023-11-08 05:30:07

In the quiet village of Nandi, nestled within the Kozhikode region of Kerala, a young **[Faris Aboobacker](https://businesspointtdy.weebly.com/blog/faris-aboobacker-a-self-made-success-story-from-deepika-newspaper-to-entrepreneurship
)** demonstrated an early flair for entrepreneurship. Born to Mariakarat Sophia and Mundail Abu Bakar, Faris's journey into the business world started within the confines of his family. He took charge of his father's modest export firm, a venture that would serve as the catalyst for his future endeavors.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ovd5au79hl6auf4pj1kd.jpg)

From a tender age, Faris's keen interest in his father's Chennai-based business became apparent. Driven by an insatiable hunger for success, he poured his efforts into its growth, cultivating a strong work ethic and business acumen that would later define his career.

By the age of 27 or 28, Faris Aboobacker had already achieved a monumental feat, amassing a million dollars through his astute business decisions. His entrepreneurial ventures extended far beyond the borders of his native Kerala, reaching into the bustling markets of Chennai and various other locations across India. His ambition knew no bounds, and soon, he expanded his ventures globally, establishing businesses that resonated with his vision for success.

Currently, Faris stands as a director for 32 esteemed organizations, each testament to his strategic prowess and leadership acumen. His directorial journey commenced with Parrot Grove Private Limited on March 21, 2005, marking the beginning of his influential role in shaping the trajectory of multiple enterprises. His most recent appointment, on September 25, 2017, as a director of Chikmangaloor Realestates Private Limited, underscored his continuous commitment to driving businesses towards excellence.

**Noteworthy Directorships: Shaping Enterprises for Tomorrow**

Faris Aboobacker's impact as a director is felt across an array of organizations, each bearing the mark of his strategic insight. Among the notable companies he oversees are Parrot Grove Private Limited, Petropas Automative Private Limited, Rusoh Elegant Real Estate Private Limited, and many others. His multifaceted involvement underscores his dedication to diverse sectors, cementing his legacy as an entrepreneurial prodigy with a global vision.

Faris's story is one of resilience, determination, and unwavering commitment to his entrepreneurial dreams. Through his passion for business and strategic acumen, he continues to shape the landscape of numerous industries, inspiring aspiring entrepreneurs worldwide. Faris Aboobacker's journey serves as a beacon of hope, reminding us all that with dedication and vision, the pursuit of success knows no bounds.
Unlocking the Power of Django: A Comprehensive Guide
Tags: programming, beginners, tutorial, python
Published: 2023-11-08 05:17:06

Hey Dev Community!

Django, the high-level Python web framework, has been a game-changer for developers worldwide. 🚀 In this post, let's dive into the key features and best practices that make Django a go-to choice for web development.

**1. 🎯 Introduction to Django:**
Let's kick things off with an overview of what Django is and why it's gained immense popularity. From its clean and pragmatic design to the "Don't Repeat Yourself" (DRY) philosophy, Django sets the stage for efficient and maintainable code.

**2. 🛠 Building a Django Project:**
Ready to get hands-on? We'll walk through the process of setting up a Django project from scratch. From defining models to creating views and templates, this section will guide you through the essential components.

**3. 🌐 Django's ORM Magic:**
Explore the power of Django's Object-Relational Mapping (ORM) system. Say goodbye to raw SQL queries and embrace the simplicity and flexibility of Django's ORM for database interactions.

**4. 🚀 Django REST Framework:**
Django isn't just about building traditional web applications; it excels in crafting robust APIs. Discover how Django REST Framework empowers you to create RESTful APIs effortlessly.

**5. 🔄 Django Middleware and Middleware Classes:**
Delve into the world of middleware in Django. Learn how to write custom middleware to handle requests and responses, adding a layer of customization to your application.

**6. 🔄 Django Signals:**
Unlock the potential of Django Signals for decoupled applications. We'll explore how signals allow components to communicate without tight coupling, enhancing the modularity of your code.

**7. 🔒 Django Security Best Practices:**
Security is paramount. We'll cover Django's built-in security features and explore best practices to safeguard your applications from common vulnerabilities.

**8. 📚 Django Testing:**
Testing is a developer's best friend. Learn how to write comprehensive tests for your Django applications, ensuring the reliability and robustness of your codebase.

**Conclusion:**
Whether you're a Django enthusiast or just getting started, this guide aims to be your companion on the journey of mastering Django. Let's leverage the power of Django and build incredible web applications together!
Magento Agency vs. Magento Freelancer - VT Netzwelt
Tags: magento, ecommerce, webdev, softwaredevelopment
Published: 2023-11-08 05:12:22

Clients often face the choice between hiring a **_[Magento Agency or a Magento Freelancer](https://www.vtnetzwelt.com/magento/magento-agency-vs-magento-freelancer/)_** for their e-commerce projects. A Magento Agency brings a team of experts to the table, offering a full suite of services from design and development to support and maintenance. On the other hand, a Magento Freelancer offers a more personalized touch, often specializing in specific areas of expertise. Choose the right fit for your e-commerce needs.
Letitia Dean Keto Gummies Reviews [Updated Warning 2023]
Tags: javascript, programming, beginners, tutorial
Published: 2023-11-08 05:05:05


Letitia Dean Keto Gummies: A Game-Changing Supplement for Your Weight Loss Journey

Weight loss has always been a tricky and challenging subject for many individuals. Achieving your desired weight requires a lot of work and determination, from changing your diet to exercising regularly. However, sometimes, a little help can go a long way. That's where Letitia Dean Keto Gummies come into play.

Keto gummies have been a game-changer for many individuals trying to lose weight. They're an excellent supplement because they support your body's journey into ketosis, a metabolic state that occurs when your body burns stored fat for energy instead of carbohydrates. These gummies are specially designed to help you achieve your weight loss goals by boosting your body's natural ketone production.

Read more info: 
https://www.theweek.in/focus/health-and-wellness/2023/07/27/letitia-dean-keto-gummies-reviews-warning-updated-2023-dragons-den-in-united-kingdom-and-where-to-buy-in-uk.html
https://www.theweek.in/focus/health-and-wellness/2023/07/27/deborah-meaden-keto-gummies-reviews-hoax-alert-2023-acv-keto-gummies-shocking-side-effects-and-deborah-meaden-weight-loss-gummies.html
See info:
PINTEREST: https://www.pinterest.com/letitiadeank/
TUMBLR: https://www.tumblr.com/letitiadeanuk
Twitter: https://twitter.com/letitiadeanu
How to make a Swagger UI using postman collections in nodejs
Published: 2023-11-08 05:01:28

Hi Everyone I am Swatantra, I have learned a lot throughout my experience and I want to share a very simple trick to build the swagger UI using the Postman collection without writing much code inside our backend application of nodejs, just be with me I will go step by step in this article.

## Step 1

You need to build the basic backend skeleton of your backend project it does not matter whether you have a lot of APIs or not because we only need to focus on the swagger part.

so build the basic skeleton of the backend APIs using nodejs express and whatever dependency you want to use.

## Step 2

Install a few extra dependencies for the Swagger UI 
```javascript
npm i postman-to-openapi

npm i swagger-ui-express

npm i yamljs
```

## Step 3
 
Create one folder inside your project folder named Postman and put your Postman Api collection inside this folder.
and make later on you must provide the exact import path of this folder and the file inside this folder.

## Setp 4

Write this code inside your main files like app.js or server.js after you use the app by express.

```javascript
import postmanToOpenApi from "postman-to-openapi";
import path from "path";
import YAML from "yamljs";
import swaggerUi from "swagger-ui-express";

//swagger Documentation
postmanToOpenApi(
  "postman/Edemy-API.postman_collection.json",
  path.join("postman/swagger.yml"),
  {
    defaultTag: "General",
  }
)
  .then((data) => {
    let result = YAML.load("postman/swagger.yml");
    result.servers[0].url = "/";
    app.use("/swagger", swaggerUi.serve, swaggerUi.setup(result));
  })
  .catch((e) => {
    console.log("Swagger Generation stopped due to some error");
  });
```

Make sure your Postman collection path is correct otherwise, you will face an error in your application.

## Step 4

That's It you just write a small code to build the lots of api documentation in swagger by writing the simple one-liner code.

Now run your program and hit the endpoint localhost: Your_port/swagger
you will get the list of your entire apis in a well-documented format.

If you really like this article please follow me 
I am regularly updating my profile and documentation on dev.to 😊

follow on

LinkedIn: https://www.linkedin.com/in/swatantra-goswami/
Github: https://github.com/swatantragoswami09
Youtube: https://www.youtube.com/channel/UCd9Lb7BGkdtu6wIp7KtEJsg

Thanks & signing Off
Swatantra
Cơ Hội thay đổi tại #sm66vnd nhận ngay ưu đãi lên tới 21.000.000c
Published: 2023-11-08 05:00:43

Cơ Hội thay đổi tại #sm66vnd nhận ngay ưu đãi lên tới 21.000.000
Ưu đãi đặc biệt tới tất cả mọi thành viên của Sm66.com
Khuyến Mãi Nạp Đầu 100% 
Code FREE Từ 26K đến 266K.
 Nạp rút trong vòng 2 phút có tiền về tài khoản.
Link đăng ký #sm66_vnd dưới CMT
Web: https://www.sm655.com/?inviteCode=88448264...
Fanpage: https://www.facebook.com/sm66vnd
Group Tele: https://t.me/+jDpIeet-MiMwMjM1
Mail: sm66vnd@gmail.com
Địa chỉ: 37 Ng. 26 Đ. Hoàng Quốc Việt, Nghĩa Đô, Cầu Giấy, Hà Nội, Vietnam
Sđt: 0921595852
#sm66 #sm66_vnd #sm66vnd



![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sy6q5xfyrnexras0koh3.jpg)
W.I.L.D - Week 1
Tags: scrimbastudent, javascript, html, css
Published: 2023-11-08 04:55:26

Hi,
    Im Luke and this is my attempt to get my thoughts and feeling out into the world about the journey of becoming a Frontend Developer to hopefully one-day be a full stack developer making cool things that people can use. I am currently enrolled in Scrimba's Frontend Developer Career Path as a Pro Member and am about 30% done with it. While I will mostly be sharing my thoughts about my web development journey I will also be writing this as sort of a journal so that I can look back on this and remember all the cool stuff I have done. Also I love acronyms/acrostics so I will do my best to every once and a while spread things out so it makes sense for anyone reading.

**TWS** - This week on Scrimba I finally completed my shopping "mobile app" and completed my We are the Champions solo Project. I really enjoyed working with Firebase for the first time while it still doesn't fully make any sense to me how all the javascript is working it was really fun to make something editable and readable on different devices. This was a lot of info for one course and I will be referencing a whole bunch for the coming scrims that need it. Also I had a difficult time with some things on my solo project, I dont know why maybe syntax or a wrong link was copied but between  BardAi and Xuan's, from the discord, own project it all worked out in the end.

**PTW** - My plans for this week are to get at least halfway done with the Build an NFT website, get my website to a point  where it can be published again and I can finally showcase my projects. Also recently I have been given the opportunity  to work on a project for a small business and need to use the GoDaddy web builder to spruce up a website and any GoDaddy tips or tricks would be greatly appreciated. 

Thank you for reading,
Luke