-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add command for paying tuition #14
Conversation
Anyone have comments or want to test this? |
Quikpay wasn't working for me with |
@jeremywrnr Parsing issue produced. Moving it to #5. |
For me, |
If it's an issue in parse_payment_profiles then it might be that some payment profiles are in a different format. I've changed it to produce output even if a certain replacement doesn't occur. Does that let it produce any output of payment profiles for you? |
It does! But it's not very helpful. Here is the output for me:
|
Looks like you don't have any saved payment profiles, from which the script would let you choose. Anyway, it is a bug that it produces the output you got. It should show an error message instead. (And should probably mention this in the readme). Allowing using new payment methods (i.e. interactively enter bank account or credit card info) would be additional functionality (Edit: #16) |
Great, looks merge-able to me! Anyone else have any comments? (@jeremywrnr) |
I also don't have any stored payment profiles so I can't test the full functionality, but |
This adds a
pay
command for making tuition payments. Currently it works for mewith my payment profile that is one word, but doesn't work if the payment profile is more than one word. I am still looking into this. Be careful with testing that you are sure you want to make a payment (or otherwise don't let execution get toquikpay_payment_process_path
I also added an abstract
pick_item
function for use with picking payment profiles, which could be used to replace parts ofget_course
andget_assignment
as they implement mostly the same logic.