Cheque / Money Order Payment Module
Cheque / Money Order Payment Module
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.
Thanks.
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.
Thanks.
-
- 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
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.
-
- Lead Developer
- Posts: 2439
- Joined: Tue Oct 29, 2019 9:37 am
- : Buy Me A Beverage
- Has thanked: 51 times
- Been thanked: 138 times
Re: Cheque / Money Order Payment Module
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.
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.
Re: Cheque / Money Order Payment Module
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 ?"
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 ?"
-
- Lead Developer
- Posts: 2439
- Joined: Tue Oct 29, 2019 9:37 am
- : Buy Me A Beverage
- Has thanked: 51 times
- Been thanked: 138 times
Re: Cheque / Money Order Payment Module
A new payment module would go in:
/includes/modules/payment/
Its language file in:
/includes/languages/english/modules/payment/
/includes/modules/payment/
Its language file in:
/includes/languages/english/modules/payment/
Gamechanger Addon: Queued Emails, try before you buy.
-
- VIP Member
- Posts: 2025
- Joined: Mon Oct 07, 2019 4:39 am
- : Buy Me A Beverage
- Has thanked: 28 times
- Been thanked: 187 times
Re: Cheque / Money Order Payment Module
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.
Re: Cheque / Money Order Payment Module
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.
Is this really something we learn over time ?
My next task is to create some shipping options.
-
- VIP Member
- Posts: 2025
- Joined: Mon Oct 07, 2019 4:39 am
- : Buy Me A Beverage
- Has thanked: 28 times
- Been thanked: 187 times
Re: Cheque / Money Order Payment Module
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.
-
- VIP Member
- Posts: 2025
- Joined: Mon Oct 07, 2019 4:39 am
- : Buy Me A Beverage
- Has thanked: 28 times
- Been thanked: 187 times
Re: Cheque / Money Order Payment Module
Again, should be intuitive e.g. payment modules reside in /includes/modules/payment/