Giter Site home page Giter Site logo

pravin1310 / cordova-payumoney-integration Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 282 KB

Easy to integrate, payumoney paymeny gateway in android app using cordova

HTML 28.34% CSS 4.15% JavaScript 67.51%
payment-gateway payment-integration payments payment payment-processing payment-module payment-service payment-methods payment-request payments-group

cordova-payumoney-integration's Introduction

Payumoney payment gateway integration with cordova app

A process for integrat payumoney payment gateway in cordova android application

Required components

  1. Install Inappbrowser plugin in your cordova project Run following command in your project

cordova plugin add cordova-plugin-inappbrowser

OR

Visit cordova-plugin-inappbrowser

Call following function in your project

Include payumoneyPaymentGateway.js in your project

<script src="js/payumoneyPaymentGateway.js"></script>
Call the following function after click on payment button

payWithPayUMoney();

Handle response on your server for surl and furl

Here surl handle success payumoney payment response on server as usual we provide in web integration like http://www.abc.com/payumoneysuccessresponse and furl http:/www.abc.com/payumoneyfailureresponse

Handle response in function exitCallback()

//Handle

function exitCallback() {

      //Handle your response 
      
      //first check your payment status from database using your transection id
      
      //if payment success than remove txnid from local storage and nevigate to your customer order page otherwise nevigate to your cart list page and try to start payment again

}

//

##Thank's

cordova-payumoney-integration's People

Contributors

pravin1310 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

cordova-payumoney-integration's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.