Zen Cart Logo
Forums / General Questions / Canada payment option: interac email money transfer

Canada payment option: interac email money transfer

Views: 995

Results 1 to 12 of 12
10 Apr 2020, 3:18 PM
#1
smokinjo avatar

smokinjo

New Zenner

Join Date:
Apr 2020
Location:
Hogan
Posts:
65
Plugin Contributions:
0

Canada payment option: interac email money transfer

In Canada we have soomething called Interac by email.

You go to your bank web site
You fill out a form saying amount to pay, and name/email of person to be paid.
The recipient gets an email, clicks on a link, and after a verification the money is deposited to there account.

Basically, it is something not done on the website. It is bank to bank.

Is there an option for payment methods, to have:
pay later
confirm offsite payment by phone
pay later - before shipped
email interac (create a new option that means it will be paid off the site)

I did see a check/money order option. Can the text on this module be tweaked in order to add email interac? Or, replace check with it?

Or something to this effect?

I am trying to find an option that would cover this. If I can use an existing method, can the name/description be tweaked to show it is for Canadians and it is email interac?

(this is NOT online interac, which is different)

Thanks!

Joseph

11 Apr 2020, 5:33 PM
#2
web_project avatar

web_project

New Zenner

Join Date:
Oct 2007
Location:
Stevenage, GB
Posts:
73
Plugin Contributions:
0

Re: Canada payment option: interac email money transfer

You can use offline payment module or similar, small modification and allow to edit name and description.

14 Apr 2020, 9:08 PM
#3
smokinjo avatar

smokinjo

New Zenner

Join Date:
Apr 2020
Location:
Hogan
Posts:
65
Plugin Contributions:
0

Re: Canada payment option: interac email money transfer

Thanks for the offline payment module idea.

I only found one called payoffline ipro.

This is for an older versio of zencart.

You have any others?

The module is 12 years old, so likely developer lost interest or abandoned it.

What other modules might you suggest?

Thanks

Joseph

14 Apr 2020, 11:35 PM
#4
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,711
Plugin Contributions:
56

Re: Canada payment option: interac email money transfer

Invoice would be an option.

https://www.zen-cart.com/downloads.php?do=file&id=131

You can change the label to "Interac by email" by editing the language file. You might want to remove the logic that only allows its use by people in the invoice group.

15 Apr 2020, 1:32 AM
#5
smokinjo avatar

smokinjo

New Zenner

Join Date:
Apr 2020
Location:
Hogan
Posts:
65
Plugin Contributions:
0

Re: Canada payment option: interac email money transfer

Thanks software guy!

I will look at the language file as you propose.

You speak of th e logic saying that it is only for people in the invoice group. I understand what it is meant to do.

I will look at the code and see if I understand it. I am not a programmer in any sense of th eword, but maybe the code will make sense to me, and I will under stand enough.

I come back and let you know what I find/figure out.

Thanks

15 Apr 2020, 11:28 AM
#6
smokinjo avatar

smokinjo

New Zenner

Join Date:
Apr 2020
Location:
Hogan
Posts:
65
Plugin Contributions:
0

Re: Canada payment option: interac email money transfer

I was able to download the module and change the name of the module, I was unable to find the logic that you mention. If I were to guess, maybe it ti under the area of class methods?

I was also thinking that it could be useful to use another logic; Only customers fro Canada will see this option

It goes to say that unless you live in Canada, you might not know the term Email Interac. But, if it could be removed from the list, then this would eliminate any possible confusion.

Thanks

15 Apr 2020, 12:22 PM
#7
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,711
Plugin Contributions:
56

Re: Canada payment option: interac email money transfer

Look at includes/modules/payment/invoice.php lines 50-63. You could remove that or customize it to check the customer's country.

15 Apr 2020, 2:06 PM
#8
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,711
Plugin Contributions:
56

Re: Canada payment option: interac email money transfer

Also maybe someone could add zone support to this module; that would also address your need for Canada-only.

15 Apr 2020, 2:35 PM
#9
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,711
Plugin Contributions:
56

Re: Canada payment option: interac email money transfer

I posted a request for someone to pick up support of this mod.

16 Apr 2020, 6:35 PM
#10
smokinjo avatar

smokinjo

New Zenner

Join Date:
Apr 2020
Location:
Hogan
Posts:
65
Plugin Contributions:
0

Re: Canada payment option: interac email money transfer

Thanks for the request to modify this module to fill the need for this canadianniche need.

I did try modifying the code.

I succeeded in changing the language invoice file. But, when modifying the module invoice file, when looking at the payment options page, the options stop listing when getting to the email interac option. It does not display, or anything after it.

I am sure that it is due to me not removing the right lines. Here is what I removed:

customers_id = '" . (int)$_SESSION['customer_id'] . "'");
if ($this->enabled == true) {
$check_flag_group = false;
$check = $db->Execute("select group_name from " . TABLE_GROUP_PRICING . " where group_id = '" . $group_query->fields['customers_group_pricing'] . "'");
if ($check->RecordCount() == 1) {
$invoice_prefix = "invoice";
$check_prefix = substr($check->fields['group_name'], 0, strlen($invoice_prefix));
if (strcasecmp($check_prefix, $invoice_prefix) == 0) {
$check_flag_group = true;
}
}
if ($check_flag_group == false) {
$this->enabled = false;
}

I counted the lined 50-63.

Which extra lines, or not enough lines did I remove?

Thanks

Joseph

18 Apr 2020, 11:50 PM
#11
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Canada payment option: interac email money transfer

You could probably just use the built-in moneyorder module. In its admin settings there's a spot to enter the contact information for the storeowner for sending the money to. You could put your e-transfer instructions in there, and maybe just edit the language file so you call it "E-Transfer, Cheque, or Money Order", or whatever suits you.

19 Apr 2020, 12:58 AM
#12
smokinjo avatar

smokinjo

New Zenner

Join Date:
Apr 2020
Location:
Hogan
Posts:
65
Plugin Contributions:
0

Re: Canada payment option: interac email money transfer

Hello Dr Byte

Thanks for the idea. Activating the money order module works well.

It seems to work when setting things up.

I will see how it works when running a few test transactions.

Thanks

Joseph