Sha256: 938019091686d760220669e6326ff9e9b578bf2bfe0b41b4cb6222f4074d31d4
Contents?: true
Size: 335 Bytes
Versions: 1
Compression:
Stored size: 335 Bytes
Contents
module Workarea decorate Payment::Refund::CreditCard, with: :payware_connect do def complete! validate_reference! transaction.response = handle_active_merchant_errors do gateway.refund( transaction.amount.cents, transaction.reference.response.troutd ) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
workarea-payware_connect-2.1.2 | app/models/workarea/payment/refund/credit_card.decorator |