0.01
No commit activity in last 3 years
No release in over 3 years
Liqpay.com payment gateway integration for Spree E-Commerce.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

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