Project

spree_payu

0.0
The project is in a healthy, maintained state
PayU payment gateway for Spree
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

>= 0
>= 4.6.0, < 5.0
>= 4.6.0, < 5.0
 Project Readme

Spree PayU

PayU payment system for Spree (>= 5.0.0). Allows to define separately following payment methods:

  • PayU
  • Payu Installment
    • Polish payments only
    • 300,00 - 20000,00 PLN*
  • PayPo
    • Polish payments only
    • 10,00 - 6000,00 PLN

*w depends on variant.

The last Spree 4 supporting release is 1.7.x.

Install

Add to your Gemfile:

gem 'spree_payu'

and run

bundle install

PayU.pl Settings

You'll have to set the following parameters:

  • payu_client_id
  • payu_pos_id
  • payu_second_key
  • payu_client_secret
  • return_url
  • return_status_url

In Spree Admin zone you have to create new payment method and select Spree::Gateway::Payu as a provider. I recommend to test it first - just select test mode in payment method settings and it will use sandbox platform instead of the production one.

Official Docs Reference

https://developers.payu.com/europe/pl/docs/get-started/