@mmwilcox:
I just wanted to say I forgot to mention that there is an edit to the 'dwolla.php' file that's in the "includes/languages/english(and/or other language name here)/modules/payment/" folder that needs to be made before it will work.
On this line:
define('MODULE_PAYMENT_DWOLLA_ACCOUNT_ID', 'Dwolla Account ID (xxx-xxx-xxxx):');
It needs your actual Dwolla id where the xxx-xxx-xxxx is and you'll be set.
Regarding your files. That's great that you got it this far. I'm curious what you used as a template to get started writing this module?
I don't know why the coupons would cause a problem, but you've got to be close if that's the only issue. Somehow I keep thinking I saw code for this stuff (how order calculations are done, in what order, etc.) in the orders.php file a long time ago when I was diagnosing another issue. But maybe it would need to be an 'if...then' statement in the dwolla.php file that checked if there is a coupon being used, then applying the coupon. I dunno.
I don't really have time at the moment to look into it further until my other work slows down, but I plan to look at the discount thing some more because I really think this is the key to getting customers to use Dwolla on our site because otherwise people are more willing to use their credit cards with cash back type incentives.
A few more things I found out about Dwolla:
- You have to move the money manually into your Dwolla account before making a purchase and it can take 2-3 days for the transfer to take place. (big downside)
- And as a business account (free upgrade) you can move $10,000 at a time as a maximum or $5,000 max per purchase if you have a personal account (free). (very good, b/c even a $50,000 purchase only costs $1.25 with 5 transactions!)
Thanks for sharing what you've done,
John