Skip to content

robert-hromej/spree_liqpay

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spree Liqpay

Liqpay.com payment gateway API for Spree E-Commerce.

Installation

Update your Gemfile:

gem 'spree_liqpay', github: 'kukareka/spree_liqpay'

Run Bundler:

bundle install

Configuration

  1. Login to Spree Backend.

  2. Open "Configurations -> Payment Methods"

  3. Click "New Payment Method".

  4. Choose provider "Spree::PaymentMethod::Liqpay".

  5. Enter any name and description. It will be visible to client during checkout. Click "Create".

  6. Enter your public and private keys retrieved from liqpay.com.

  7. Enter order description (it will be visible to client during checkout on Liqpay site).

  8. Turn off the Test mode.

How it works

  1. A client selects Liqpay payment method on Payment tab during checkout on our site.
  2. We redirect him to payment form on Liqpay.com where he makes the payment.
  3. Liqpay.com redirects the client back to our site.
  4. We wait for a callback from Liqpay.com (takes a few seconds) and redirect the client to "Order complete" page.

Tests

Powered by RSpec, Capybara and Selenium.

Run rake app:setup before the tests to init the dummy app.

References

  1. Liqpay.com official Ruby SDK (not used by this gem)
  2. Liqpay.com FAQ
  3. Liqpay.com API reference

About

Liqpay.com payment gateway for Spree E-Commerce

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 82.7%
  • HTML 14.3%
  • CSS 1.6%
  • JavaScript 1.4%