tuttinator/spree_pxpay_paymentmethod — pull request #1 by jstirk (2012-09-07 07:11:53+00:00)
Title: Spree 1.1

Hey there!

We're using PxPay for a client site, so I've dug in and bought it up to date for Spree 1.1.

I've restructured it heavily to work more around creating Payment records, and authorising against those as the docs suggested that reusing the same merchant_reference was the pathway to woe and madness. I saw this first hand - when you entered a failing CC on the first time, authorisation calls with the same order ID would fail, even for new, valid cards.

That now works fine, because each attempt has a brand new Payment.

I've not had a chance to put together any specs yet, but that's next on my list.

Cheers,
Jason