Sha256: 74f075395d80629af0637afdebe59ceb4df81d020d03e868155e3de27755ed7f
Contents?: true
Size: 706 Bytes
Versions: 1
Compression:
Stored size: 706 Bytes
Contents
module Spree class SkrillTransaction < ActiveRecord::Base has_many :payments, :as => :source attr_accessible :email , :amount , :currency , :transaction_id , :customer_id, :payment_type 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spree_gateway-2.0.1 | app/models/spree/skrill_transaction.rb |