Class: Stall::Payments::ManualPaymentGateway::Request
Instance Attribute Summary
#cart
Instance Method Summary
collapse
#calculate_checksum_for
#initialize
Instance Method Details
#checksum ⇒ Object
40
41
42
|
# File 'lib/stall/payments/manual_payment_gateway.rb', line 40
def checksum
calculate_checksum_for(token, reference, timestamp)
end
|
32
33
34
|
# File 'lib/stall/payments/manual_payment_gateway.rb', line 32
def payment_form_partial_path
'stall/payments/manual_payment_gateway/form'
end
|
#timestamp ⇒ Object
36
37
38
|
# File 'lib/stall/payments/manual_payment_gateway.rb', line 36
def timestamp
@timestamp ||= (Time.now.to_f * 1000).round.to_s
end
|