Post by Mike » Mon Jan 07, 2008 2:49 pm

Could someone please write me some instructions on how to add a bank deposit payment option.

Newbie

Posts

Joined
Mon Jan 07, 2008 2:45 pm

Post by bruce » Wed Jan 23, 2008 6:48 am

If it is only a matter of a different name and you are managing the reconciliation manually then have a look at the check/money order contribution. Copy the files for the money order one and change the word money for bank and order for deposit in the files and the file names. The contribution has instructions for installation that should help you after that.

If you actually want to communicate with a payment gateway then have a look at the SecurePay (contributions) and PayPal (built in) payment extensions.

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by mysterion » Thu Feb 28, 2008 10:50 pm

Hi Bruce, I just followed your suggestion and successfully converted the money order payment module to a Bank Deposit payment module. It is appearing fine as a payment option. My question is simply, where do I put my bank a/c details?

Many Thanks

Newbie

Posts

Joined
Thu Feb 28, 2008 10:41 pm

Post by bruce » Fri Feb 29, 2008 8:55 am

There is no built in place. You simply need to choose where in the workflow that you want to display these details and with what instructions. Then you will have to modify the appropriate template.

Is this the only payment option you are offering or will ever offer because that has an impact on the solution.

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by Mark Dyer » Fri Mar 07, 2008 10:59 am

I suggest add a field to the language table that has the a/c details in. Then edit your template to show.  :-)

User avatar
New member

Posts

Joined
Thu May 31, 2007 10:07 pm

Post by Fresher » Fri Mar 14, 2008 5:15 am

mysterion wrote: Hi Bruce, I just followed your suggestion and successfully converted the money order payment module to a Bank Deposit payment module. It is appearing fine as a payment option. My question is simply, where do I put my bank a/c details?

Many Thanks
Can you show how your script looks like? thanks.

New member

Posts

Joined
Thu Mar 13, 2008 5:40 pm

Post by MTJ » Sun Mar 23, 2008 6:56 pm

Hi,

I posted this in reply to perhaps the wrong thread, so I shall try here also (apologies to mods).

I am working on Direct Deposit payment extension and I've basically taken the 5 files for "check" and made all the *I think* necessary modifications to create 5 separate files for direct deposit (as suggested by bruce). I can create the extension under "extensions" in the admin area, and am also able to add "payment_directdeposit" to the "access" and "modify" user groups for my admin account.

I then go back to "extensions" and attempt to install the extension by clicking on the "+" and get a "Success: You have updated the Direct Deposit payment module!" message, but the wrench icon does not come up and the "+" remains a "+" (it does not change to a "-").

I figure there is probably some variable or function name somewhere which I have neglected to change, but after poring through the code multiple times and comparing each file to its respective "check" partner, I can't for the life of me find it. As such, any pointers in this area which anyone could provide would be greatly appreciated!

MTJ
Newbie

Posts

Joined
Mon Mar 10, 2008 12:21 pm

Post by bruce » Sun Mar 23, 2008 7:43 pm

zip up the files and post it, and I will have a look

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by MTJ » Sun Mar 23, 2008 10:00 pm

bruce wrote: zip up the files and post it, and I will have a look
Thank you!
;D

MTJ
Newbie

Posts

Joined
Mon Mar 10, 2008 12:21 pm

Post by bruce » Mon Mar 24, 2008 9:55 am

Unfortunately, the name you have chosen for a group "directdeposit" contains 13 characters. One more than the database table allows.

If you rename all occurrences of "directdeposit" with (say) "bank", rename your files and the extension settings, it works fine.

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by MTJ » Mon Mar 24, 2008 10:34 am

bruce wrote: Unfortunately, the name you have chosen for a group "directdeposit" contains 13 characters. One more than the database table allows.

If you rename all occurrences of "directdeposit" with (say) "bank", rename your files and the extension settings, it works fine.
Lol. Typical, it's always the solution you don't even consider. Forgot about the # of character hard limit.

Thanks mate, very much appreciate the help. I shall rename it directbruce in your honour  ;D

MTJ
Newbie

Posts

Joined
Mon Mar 10, 2008 12:21 pm

Post by bruce » Mon Mar 24, 2008 6:09 pm

I am deeply honoured  ;D

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by Fresher » Mon Mar 24, 2008 8:30 pm

and upload your script here :)) thanks man :)

New member

Posts

Joined
Thu Mar 13, 2008 5:40 pm

Post by jjuhasz » Thu Jun 12, 2008 5:12 am

Hello - sorry to bump an old thread - but it's pertinent and will help me better understand this whole process.

Not a developer - and this is perhaps the third time I've 'tinkered' with code.  However - I prefer to learn than hand off to an expert, so I'm hoping you can point me in the right direction.

In an above post, you mentioned 'modifying the template to enter the bank a/c information', someone suggested doing this in the language file.

Could you post or PM or email me a sample of what that would look like (obviously with no actual bank info - perhaps an XXX where you'd enter the routing and a/c info?) - Also - where do enter code so the customer is required to enter their bank details?  What would that look like?

Thanks much!!!!  Sorry if for knowing so little!

Jen 

Newbie

Posts

Joined
Thu Jun 12, 2008 3:42 am
Who is online

Users browsing this forum: No registered users and 1 guest