Coder Social home page Coder Social logo

vinsol-spree-contrib / spree-unified-payments Goto Github PK

View Code? Open in Web Editor NEW
1.0 5.0 1.0 960 KB

Enable spree store to allow payment via "Unified Payments" (a preferred e-payment service provider in Nigeria, Africa)

License: BSD 3-Clause "New" or "Revised" License

Ruby 98.83% JavaScript 1.17%

spree-unified-payments's Introduction

Spree-Unified-Payments Code Climate Build Status

Enable spree store to allow payment via "Unified Payments" (a preferred e-payment service provider in Nigeria, Africa)

Dependencies

  1. gem unified_payment
gem 'unified_payment'
  1. delayed_job
gem 'delayed_job_active_record'
  1. spree_wallet
gem 'spree_wallet'

Set Up

Add To Gemfile:

For Spree 2.2.x

gem 'spree_unified_payment', '1.2.0'

For Spree 2.1.x

gem 'spree_unified_payment', '1.1.1'

For Spree 2.0.x:

gem 'spree_unified_payment', '1.0.2'

And run below command

bundle exec rails g spree_unified_payment:install

Usage

Customer :

Customer can pay via Unified Payment payment method at Checkout and can also see the list of Unified Payment Transactions initiated by them.

If a transaction is completed but the order fails to complete, the amount paid by the customer is added to the customer's account which he can use in future so that the user does not get stuck while making the payment.

Admin :

Admin can see the list of Unified Payment Transactions initiated by customers under admin section.

Admin can also ping Unified Payment gateway for an updated status of a transaction and the transaction is then updated accordingly.

Testing

Be sure to bundle your dependencies and then create a dummy test app for the specs to run against.

bundle
bundle exec rake test_app
bundle exec rspec spec

Credits

vinsol.com: Ruby on Rails, iOS and Android developers

Copyright (c) 2014 vinsol.com, released under the New MIT License

spree-unified-payments's People

Contributors

satish avatar bansalakhil avatar

Stargazers

Charles Soetan avatar

Watchers

 avatar  avatar James Cloos avatar Sushant Mittal avatar Manish Kangia avatar

Forkers

sawangupta92

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.