Skip to content

tuttinator/spree_pxpay_paymentmethod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spree PxPay Gateway

NOTE:


This fork is no longer maintained, please use: https://github.com/localist/spree_pxpay_paymentmethod

This is a gem for Spree 2.1.7 which adds PXPay (paymentexpress.com - a NZ and Australian Payment Processor) as a Payment Method.

This is does not use Active Merchant - this is not the version of the gateway with a POST API (see ActiveMerchant PXPost docs), PXPay is the service hosted on the Payment Express servers and credit card information is never touched by your Spree implementation (sort of like PayPal's Website Payments system).

This extension will completely replace the payment page of the cart, and will return the customer to the completed order page when their payment has been processed.

As such, you can not use multiple payment methods (on the front end) alongside this. You can manually create payments on the back-end as per usual.

Installation

  1. Add the gem to your Gemfile
  2. bundle install
  3. Add Spree::Gateway::PxPay to the spree.payment_methods Array in your Spree initializer (config/initializers/spree.rb)
  4. Add a new Payment Method in the admin section using the Spree::Gateway::PxPay
  5. Set the relevant configuration details

TODO

Specs, obviously ;)

THANKS

Inspired by the spree-hosted-gateway gem and the work done by @bradleypriest who wrote the PXPay gem.

CONTRIBUTORS

@jstirk @Michael1969 @lukes

About

DPS Payment Express PXPay payment method for Spree

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages