Abraham Rodriguez

Merge branch 'manual_discharge' into 'master'

Added discharge functionality

See merge request !1
......@@ -119,6 +119,12 @@ module ActsAsChargeable
# TODO: Create a new table with transaction
end
def manual_discharge
update_columns(var_service: 'manual', var_status: 'pending',
var_payment_at: nil)
# TODO: Create a new table with transaction
end
# def charge_with_paypal(options)
# if(!options.include? :card)
# error_message = "Paypal needs a card sent as a third paramater"
......