Cause i needed charge as payment method i just edited the example payment module shipped with dc to fit my needs.
Its showing the needed form for collecting the bank information from the customer and its showing the given information in backend on order payment page :)
I´m allowing this payment method only customers which have made an order before.
The thing is the validation is not yet working, I´m not a real php crack, so it´s only validating if the account holder name is at least 2 words long at the moment.
So the account number and bank code could be everything.
I think it should at least check if it´s numeric or not.
I know its not that much work I´ve done, but I thought maybe someone else is interested in this.
And maybe I can get this to a ready payment module, with some help or when I´m having more time to get more into this.
Cheers Can
USE THIS ONLY IF YOU KNOW WHAT YOU DO!
| Comment | File | Size | Author |
|---|---|---|---|
| commerce_payment_charge.module.txt | 3.75 KB | CanOne | |
| commerce_payment_charge.info | 187 bytes | CanOne |
Comments
Comment #1
rszrama commentedThanks for sharing; I'm going to mark this as fixed, giving folks a couple more weeks to see it in the queue. Ultimately it will close down but still be visible in search results, so if someone wants to make a full project of it they can.