Sha256: eff00f2fdd0f17c39ee04e1ffb423c0ba49c17c8da5b0d938f7a620dc056ba88
Contents?: true
Size: 845 Bytes
Versions: 7
Compression:
Stored size: 845 Bytes
Contents
module Workarea class Payment module Authorize class Sezzle include OperationImplementation include CreditCardOperation # sezzle authorizes the funds on their platform. No call is made to the # API. Workarea just records the response for posterity. def complete! transaction.response = ActiveMerchant::Billing::Response.new( true, I18n.t( 'workarea.sezzle.authorize', amount: transaction.amount ), pre_authorized_response_message ) end private def pre_authorized_response_message { message: I18n.t('workarea.sezzle.pre_authorized_message', amount: transaction.amount) } end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems