Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
direct_pay = MPower::DirectPay.new
if (direct_pay.credit_account("CUSTOMER_MPOWER_USERNAME_OR_PHONE",100))
puts direct_pay.description
puts direct_pay.response_text
puts direct_pay.transaction_id
else
puts direct_pay.description
puts direct_pay.response_text
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment