Cheque / Money Order Payment Module

Ask the community for help and support.
Nigel
Posts: 107
Joined: Mon Jan 11, 2021 1:39 am
Has thanked: 25 times
Been thanked: 6 times

Cheque / Money Order Payment Module

Post by Nigel »

Cheque / Money Order Payment Module

Can this be added to include Credit card payments.
We will be calling customers to get their card details to manually take payment and then arrange collection or delivery details once we process their order.

I will try and add it myself if I have some guidance. :roll:

Thanks.
ecartz
Lead Developer
Lead Developer
Posts: 2656
Joined: Tue Nov 05, 2019 6:02 pm
Has thanked: 4 times
Been thanked: 182 times

Re: Cheque / Money Order Payment Module

Post by ecartz »

That sounds like something you can do by overriding the language file. Look at what it says. Figure out what you want it to say. It should be as simple as copying the file over and editing it.
Nigel
Posts: 107
Joined: Mon Jan 11, 2021 1:39 am
Has thanked: 25 times
Been thanked: 6 times

Re: Cheque / Money Order Payment Module

Post by Nigel »

Ok, I'll give it a try.
burt
Lead Developer
Lead Developer
Posts: 2439
Joined: Tue Oct 29, 2019 9:37 am
Has thanked: 51 times
Been thanked: 138 times

Re: Cheque / Money Order Payment Module

Post by burt »

It may be nicer to make up a whole new module based on (eg) the cash on delivery module.
By doing a new module you could then see the % of people paying by Card over the phone etc.
Gamechanger Addon: Queued Emails, try before you buy.
Nigel
Posts: 107
Joined: Mon Jan 11, 2021 1:39 am
Has thanked: 25 times
Been thanked: 6 times

Re: Cheque / Money Order Payment Module

Post by Nigel »

I've been trying to find a thread I was using regarding the overrides but can't find it.

If I make a new payment module, should it reside in overrides somewhere ?
Will it only be an issue if the files were replaced rather than updated, maybe "a la 1.0.08 ?"
burt
Lead Developer
Lead Developer
Posts: 2439
Joined: Tue Oct 29, 2019 9:37 am
Has thanked: 51 times
Been thanked: 138 times

Re: Cheque / Money Order Payment Module

Post by burt »

A new payment module would go in:

/includes/modules/payment/

Its language file in:

/includes/languages/english/modules/payment/
Gamechanger Addon: Queued Emails, try before you buy.
heatherbell
VIP Member
VIP Member
Posts: 2025
Joined: Mon Oct 07, 2019 4:39 am
Has thanked: 28 times
Been thanked: 187 times

Re: Cheque / Money Order Payment Module

Post by heatherbell »

Nigel wrote: Thu Mar 04, 2021 12:02 pm If I make a new payment module, should it reside in overrides somewhere ?
Will it only be an issue if the files were replaced rather than updated, maybe "a la 1.0.08 ?"
If you were making a new module i.e. with a new name and so it is not part of core code, it will not be overwritten in an update so there is no reason to put it in a template and can reside in the standard folder structure as indicated in previous post by burt.
That is the main reason for making a new module instead of editing an existing one.
See https://phoenixcart.org/phoenixcartwiki ... ent_Module which might help if you have not made a new content module before but note that payment modules do not have a tpl_ file so the process is simpler than the example shown.
Nigel
Posts: 107
Joined: Mon Jan 11, 2021 1:39 am
Has thanked: 25 times
Been thanked: 6 times

Re: Cheque / Money Order Payment Module

Post by Nigel »

Is there an easy way to know which files relate to specific modules so you know which ones to clone and where they reside ?
Is this really something we learn over time ?

My next task is to create some shipping options.
heatherbell
VIP Member
VIP Member
Posts: 2025
Joined: Mon Oct 07, 2019 4:39 am
Has thanked: 28 times
Been thanked: 187 times

Re: Cheque / Money Order Payment Module

Post by heatherbell »

Nigel wrote: Thu Mar 04, 2021 12:58 pm Is there an easy way to know which files relate to specific modules so you know which ones to clone ?
Mostly, but not always, the clue is in the file name e.g. for payment, Check/Money Order is moneyorder.php, Cash on Delivery is cod.php - it is fairly intuitive.
heatherbell
VIP Member
VIP Member
Posts: 2025
Joined: Mon Oct 07, 2019 4:39 am
Has thanked: 28 times
Been thanked: 187 times

Re: Cheque / Money Order Payment Module

Post by heatherbell »

Nigel wrote: Thu Mar 04, 2021 12:58 pmwhere they reside ?
Again, should be intuitive e.g. payment modules reside in /includes/modules/payment/
Post Reply