Module: SkroutzPay::Gateways::Mastercard
Instance Method Summary collapse
-
#auth(ccn, expiration_date, cvv2, amount) ⇒ Object
Authorizes a payment The auth sequence will approve or not the payment for this credit card but will not make any actual transation.
-
#capture(ccn, expiration_date, cvv2, amount) ⇒ Object
Captures a payment by charging actual money.
Instance Method Details
#auth(ccn, expiration_date, cvv2, amount) ⇒ Object
Authorizes a payment The auth sequence will approve or not the payment for this credit card but will not make any actual transation.
14 15 16 |
# File 'lib/skroutz_pay/gateways/mastercard.rb', line 14 def auth(ccn, expiration_date, cvv2, amount) request(ccn, expiration_date, cvv2, amount) end |
#capture(ccn, expiration_date, cvv2, amount) ⇒ Object
Captures a payment by charging actual money
24 25 26 |
# File 'lib/skroutz_pay/gateways/mastercard.rb', line 24 def capture(ccn, expiration_date, cvv2, amount) request(ccn, expiration_date, cvv2, amount, :capture) end |