# File lib/active_merchant/billing/integrations/gestpay/notification.rb, line 47 def acknowledge true end
# File lib/active_merchant/billing/integrations/gestpay/notification.rb, line 10 def complete? status == 'Completed' end
# File lib/active_merchant/billing/integrations/gestpay/notification.rb, line 28 def currency # Ruby 1.9 compat method = CURRENCY_MAPPING.respond_to?(:key) ? :key : :index CURRENCY_MAPPING.send(method, params['PAY1_UICCODE']) end
the money amount we received in X.2 decimal.
# File lib/active_merchant/billing/integrations/gestpay/notification.rb, line 24 def gross params['PAY1_AMOUNT'] end
The important param
# File lib/active_merchant/billing/integrations/gestpay/notification.rb, line 15 def item_id params['PAY1_SHOPTRANSACTIONID'] end
# File lib/active_merchant/billing/integrations/gestpay/notification.rb, line 38 def status case params['PAY1_TRANSACTIONRESULT'] when 'OK' 'Completed' else 'Failed' end end
Generated with the Darkfish Rdoc Generator 2.