Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add wiredump_device and PayPage registration support for litle #740

Conversation

pierre
Copy link
Contributor

@pierre pierre commented Jun 21, 2013

This patch adds support for wiredump_device and PayPage to the Litle gateway:

  1. Allow to pass a paypageRegistrationId in the store call, instead of a credit card.
  2. By specifying a wiredump device, such as:
ActiveMerchant::Billing::LitleGateway.wiredump_device = File.open('/var/tmp/litle.log', 'w')

the device will now be properly passed to the LitleOnline gem for logging.

The LitleOnline gem uses its own connection mechanism and the logging hook will be available only in versions more recent than 8.15.

Testing Done: tested the integration with the Kill Bill Litle plugin (see https://github.com/killbill/killbill-litle-plugin and http://kill-bill.org).

Pierre-Alexandre Meyer added 3 commits May 8, 2013 13:33
By specifying a wiredump device, such as:

  ActiveMerchant::Billing::LitleGateway.wiredump_device = File.open('/var/tmp/litle.log', 'w')

the device will now be properly passed to the LitleOnline gem for logging.

The LitleOnline gem uses its own connection mechanism and the logging hook will be available
only in versions more recent than 8.15.

Testing Done: tested the integration with the Kill Bill Litle plugin (see http://kill-bill.org).

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>
Allow to pass a paypageRegistrationId in the store() call, instead of a
credit card.

Testing Done: tested the integration with the Kill Bill Litle plugin
(see http://kill-bill.org).

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>

Conflicts:
	lib/active_merchant/billing/gateways/litle.rb
The recent changes require a version newer than 08.15.0 of the Litle gem.

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>
@ntalbott ntalbott closed this in c7fa72e Jul 26, 2013
chengz pushed a commit to chengz/active_merchant that referenced this pull request Dec 7, 2013
Allow to pass a paypageRegistrationId in the store() call, instead of a
credit card.

Testing Done: tested the integration with the Kill Bill Litle plugin
(see http://kill-bill.org).

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>

Closes activemerchant#740.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant