Ruby 1.9 compatibility. Note that Ruby 1.8.x is no longer supported due to the different way in which
URIneeds to be patched to support
}in the URLs. Thanks to @jairodiaz, @moomerman and @gato-omega for contributing!
The validation regular expressions have been pulled out into a module so that you can also use them in your higher level models. Thanks, @lenary!
If the country for an address is the US, then the US state is required. Otherwise, it should not be supplied since it only make sense in the context of US states.
Use Bundler to track development dependencies.
Record that ActiveSupport is actually a dependency.
- Somehow didn't make it into the ChangeLog. Some bug fix or other I'd imagine. :)
- Cancel support for cancelling existing authorised transactions.
- Authorise support, I hope, which, again I hope, will make repeat actually work.
- Repeat transaction implementation.
- Refund implementation
- Is abort now implemented?
- Is release implemented?
- Carriage return and line feed. These will all be compressed into a 0.3 release, but I need to keep releasing so that Heroku can pick 'em up... :-/
- Generate the appropriate response.
- yield for the signature verification details if there's a block given in the notification.
- Incorporate additional fields I'd missed from the notification. That'll make it easier to find payments from the notification.
- [FIX] SagePay think it's OK to have curly braces in a URL query string. Ruby's URI library thinks otherwise. No matter who's right, one of these is easier to change than the other.
- Initial release. This should support the full workflow for making payments, but the notification side hasn't been tested again SagePay in the wild so you mileage probably will vary.