This is usecase of RazorPay API integration.

Related tags

Templates Edgepay
Overview

Razorpay API intigration in DhiWise

Edgepay

Razorpay provides an API, and by integrating that API in DhiWise, it took 1 hour to configure navigation, API integration, saving data in preference, and so on till generating the code. Create Subscription link at your fingertip, along with payment link, transection. It took 16 hours to complete the whole app and manually it would have costed 120 hour of codding.

The current app of Razorpay subscription feature is not there, and they have just launched their payment link feature in the app at the end of July 2022.

This is Demo Application of Razorpay Usecase.

Table of Contents

System Requirements

Dart SDK Version 2.17.0 or greater. Flutter SDK Version 3.0.0 or greater.

Screenshots

Razorpay (1)

Figma design guideline for better accuracy

Read our guidelines to increase the accuracy of design conversion to code by optimizing Figma designs. https://docs.dhiwise.com/knowledgehub/reference-guide-and-tools/figma

Setup

1. Clone the repository

$ git clone https://github.com/DhiWise/Edgepay
$ cd Edgepay

Install Dependencies

flutter pub get

Running the App

flutter run

Set Token for API access inside the application for bellow Files

  1. api_client.dart
  2. Home_controller.dart
  3. payment_link_controller.dart
  4. payment_link_detail_controller.dart
  5. transection_list_controller.dart
  6. transection_details_controller.dart
  7. subscriptions_link_details_controller.dart
  8. subscriptions_plan_details_controller.dart
  9. subscriptions_reviwe_controller.dart

Replce your Razorpay token in this formet there Basic (base64 encoded string of YOUR_KEY_ID:YOUR_KEY_SECRET) and run the app.

Check your app's UI from the AppNavigation screen of your app.

Project Structure

After successful build, your application structure should look like this:

.
├── android                         - contains files and folders required for running the application on an Android operating system.
├── assets                          - contains all images and fonts of your application.
├── ios                             - contains files required by the application to run the dart code on iOS platforms.
├── lib                             - Most important folder in the project, used to write most of the dart code.
    ├── main.dart                   - starting point of the application
    ├── core
    │   ├── app_export.dart         - contains commonly used file imports 
    │   ├── constants               - contains all constants classes
    │   ├── errors                  - contains error handling classes                  
    │   ├── network                 - contains network related classes
    │   └── utils                   - contains common files and utilities of project
    ├── data
    │   ├── apiClient               - contains api calling methods 
    │   ├── models                  - contains request/response models 
    │   └── repository              - network repository
    ├── localization                - contains localization classes
    ├── presentation                - contains all screens and screen controllers
    │   └── screens                 - contains all screens
    ├── routes                      - contains all the routes of application
    └── theme                       - contains app theme and decoration classes

How you can do code formatting?

  • if your code is not formatted then run following command in your terminal to format code
    dart format .
    

Libraries and tools used

Support

If you have problems or questions go to our Discord channel, we will then try to help you as quickly as possible: https://discord.com/invite/rFMnCG5MZ7

License

MIT License

Copyright (c) 2022 DhiWise

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Community

DhiWise Twitter

DhiWise YouTube

DhiWise Discord

DhiWise Documentation

You might also like...

Full Feature Todos Flutter Mobile app with fireStore integration.

Full Feature Todos Flutter Mobile app with fireStore integration.

IONICFIREBASEAPP DOWNLOAD TODO APP Marketplace for Mobile app and Backend that developed on leading Enterprise Technologies with as well as with your

Sep 23, 2022

Ozzie is your testing friend. Ozzie will take an screenshot during integration tests whenever you need. Ozzie will capture performance reports for you.

Ozzie is your testing friend. Ozzie will take an screenshot during integration tests whenever you need. Ozzie will capture performance reports for you.

ozzie.flutter Ozzie is your testing friend. Ozzie will take an screenshot during integration tests whenever you need. Ozzie will capture performance r

Aug 22, 2022

A Basic Banking Flutter App with the integration of Firebase

A Basic Banking Flutter App with the integration of Firebase

Basic Banking Flutter App A Beginner Flutter Project with the integration of Firebase. Report Bug · Install App Table of Contents About The Project Bu

Feb 16, 2022

FlutterBoost is a Flutter plugin which enables hybrid integration of Flutter for your existing native apps with minimum efforts

FlutterBoost is a Flutter plugin which enables hybrid integration of Flutter for your existing native apps with minimum efforts

中文文档 中文介绍 Release Note v3.0-preview.17 PS: Before updating the beta version, please read the CHANGELOG to see if there are any BREAKING CHANGE Flutter

Sep 28, 2022

A flutter OAuth package for Slack with Firebase Authentication integration.

A flutter OAuth package for Slack with Firebase Authentication integration.

flutter_slack_oauth_firebase Extension for our flutter_slack_oauth library which adds support for Firebase Authentication and Cloud Firestore. Usage T

May 18, 2021

Demo app with continuous integration setup for auto across android/iOS app stores

demo_flutter_ci A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started

Dec 25, 2021

News app using RESTAPI(newsapi.org) integration with flutter

newsapp A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this

Dec 26, 2021

Example of Flutter app integration with Clan Meeting

Clan Meeting - Flutter Integration Please make sure that the permissions required for mobile apps are added to your app. We use Flutter InAppWebView f

Apr 28, 2022
Owner
DhiWise
The ultimate open-source hub for backend and frontend code generation
DhiWise
Getx and Dio APi-Integration - Flutter RestApi Integration using Dio

Flutter RestApi Integration using Dio. Click this image to find videos==> //Crud

Fsd Ramjan 7 Jun 24, 2022
Razorpay Flutter Plugin

Razorpay Flutter Flutter plugin for Razorpay SDK. Getting Started Prerequisites Installation Usage Troubleshooting API Example App Getting Started Thi

Razorpay 88 Sep 19, 2022
Integration test - Copy of the official Flutter integration test plugin

integration_test This package enables self-driving testing of Flutter code on de

null 0 Jan 5, 2022
Flutter-fb-integration - Flutter And firebase integration Guide

Quickstart Guide This project still use my firebase server config, if you want t

Naufal Aldy Pradana 0 Feb 2, 2022
A Rick and Morty Character Wiki, build in Flutter with Api Rest integration.

Rick and Morty Character Wiki This is an app build in Flutter that loads a list of characters (from the serie Rick and Morty) and his info, and displa

Jessica Aidyl 3 Jul 27, 2022
Rest api integration flutter

rest_api_integration_flutter Parse JSON data to your app using REST API Getting Started This project is a starting point for a Flutter application. A

Avijit Roy 0 May 5, 2022
Bhagavad Gita app using flutter & Bhagavad-Gita-API is A lightweight Node.js based Bhagavad Gita API [An open source rest api on indian Vedic Scripture Shrimad Bhagavad Gita].

Gita Bhagavad Gita flutter app. Download App - Playstore Web Application About Bhagavad Gita app using flutter & Bhagavad-Gita-API is A lightweight No

Ravi Kovind 7 Apr 5, 2022
Beautiful Weather App using API with support for dark mode. Created by Jakub Sobański ( API ) and Martin Gogołowicz (UI, API help)

Flutter Weather App using API with darkmode support Flutter 2.8.1 Null Safety Beautiful Weather App using https://github.com/MonsieurZbanowanYY/Weathe

Jakub Sobański 4 Jul 24, 2022
Flutter integration for Supabase. This package makes it simple for developers to build secure and scalable products.

supabase_flutter Flutter package for Supabase. What is Supabase Supabase is an open source Firebase alternative. We are a service to: listen to databa

Supabase 165 Sep 17, 2022
A Flutter plugin that provides assets abstraction management APIs without UI integration, you can get assets (image/video/audio) on Android, iOS and macOS.

photo_manager Photo/Assets management APIs for Flutter without UI integration, you can get assets (image/video/audio) from Android, iOS and macOS. 提供相

FlutterCandies 500 Sep 23, 2022