Sha256: 3452437ca6723302fc7f036d5334e76508e5f528012a9879f0b3ee76dd136003
Contents?: true
Size: 608 Bytes
Versions: 17
Compression:
Stored size: 608 Bytes
Contents
module Spree class SkrillTransaction < ActiveRecord::Base has_many :payments, :as => :source def actions [] end def self.create_from_postback(params) SkrillTransaction.create(:email => params[:pay_from_email], :amount => params[:mb_amount], :currency => params[:mb_currency], :transaction_id => params[:mb_transaction_id], :customer_id => params[:customer_id], :payment_type => params[:payment_type]) end end end
Version data entries
17 entries across 17 versions & 4 rubygems