Jump to content

Can Someone Make an e-Transfer Gateway for me?


bubbaboss

Recommended Posts

Can Someone Make an e-Transfer Gateway for me? I tweaked the Print Order Form But i would like a Seperate Module.

I Tweaked the print.tpl in Pint Order Form Module, i took out the Bank Transfer info. and put it e-Transfer info. as this is common now in North America.

Can someone take that IDEA and just make us/me an e-Transfer gateway module ONLY! Please.

One that can de downloaded and installed etc..

Go to www.ghost-powder.com make a fake order and use the print order checkout and u will see the type of e-tranfers module i want for all cubecart users.

Then i can go back the the original print.tpl and use the print order forms for just money orders and bank tranfers as it originally is.

OR alternately.. ADD the e-transfer to the current print order form module for installing etc..

 

Thanks

 

Edited by bubbaboss
Link to comment
Share on other sites

A couple of questions follow, but please know that this can happen -- you can copy then rename the folder from "Print_Order_Form" to some other name (use underscores for spaces), and edit the module's config.xml file to match the folder name (one place where underscores are not required).

Q1: By e-Transfer, are you hoping for an automated transfer that happens under CubeCart control, or through an intermediary that CubeCart contacts?

Q2: In not as described above, you have an "offline" - so to speak, means to effect a transfer?

As you describe above, it seems like you have made edits to the POF module that gets you what you wanted. Would you please describe in more detail what is needed beyond what you have already done.

Link to comment
Share on other sites

NO.. I am not looking for nothing automated....

I want the same layout as the Print Order Form Module in version 6

All i did was edit the print.tpl and admin index.tpl

I Removed the DATA request with Simple text.

Bear with me as i am far from a php Pro... But when i isntalled the print oredr form i presume the parts that say "Bank Name" "Swiwt Code" "Account Name" etc..All get put into the sql Database? So my silly fix no longer calls up those names from the Database i presume, and uses the text i added into the print.tpl etc.. I added "E-Transfer Secret Question" "Answer to Secreat Question" "eTransfer Account" in place of the DATA request coding that was there.

So i no longer see any info reagrding bank transfers with swift code etc,, i see now info for customers to send me an e-Transfer Payment.

 

Waht i would like is to see a seperate little module that says print e-transfer payments, or ADD that little bit to the cuurent print order module.

Then all the proper WORDS would go into the database i presume and not be a .tpl HACK as i did.

I have NO CLUE how to make this idea into an installable application??? beyond my talents i think.

Below is the code i played with.

Here is the print.tpl

<?php
/**
 * CubeCart v6
 * ========================================
 * CubeCart is a registered trade mark of CubeCart Limited
 * Copyright CubeCart Limited 2014. All rights reserved.
 * UK Private Limited Company No. 5323904
 * ========================================
 * Web:   http://www.cubecart.com
 * Email:  [email protected]
 * License:  GPL-2.0 http://opensource.org/licenses/GPL-2.0
 */
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{$LANG.common.order_id} {$SUM.cart_order_id}</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="modules/gateway/Print_Order_Form/skin/style/print.css" media="screen,print" />
<style type="text/css" media="print">
form, input.button {
    display: none;
    visibility: hidden;
}
</style>
</head>

<body>
<form action="index.php" method="get">
  <input type="submit" value="{$LANG.common.close}" class="button" />
  <input type="button" value="{$LANG.common.print}" class="button" onclick="window.print();" />
  </form>

<div id="wrapper">
  <div id="header">
     <img src="{$STORE_LOGO}" alt="" />
  </div>

  <div id="address">
    <div id="deliver-to">
      <strong>{$LANG.address.delivery_address}</strong><br />
      {$ADDRESS_DELIVERY.title} {$ADDRESS_DELIVERY.first_name} {$ADDRESS_DELIVERY.last_name}<br />
      {if !empty($ADDRESS_DELIVERY.company_name)}{$ADDRESS_DELIVERY.company_name}<br />{/if}
      {$ADDRESS_DELIVERY.line1} <br />
      {if !empty($ADDRESS_DELIVERY.line2)}{$ADDRESS_DELIVERY.line2}<br />{/if}
      {$ADDRESS_DELIVERY.town}<br />
      {$ADDRESS_DELIVERY.state}, {$ADDRESS_DELIVERY.postcode}<br />
      {$ADDRESS_DELIVERY.country}
    </div>
    <div id="invoice-to">
    <strong>{$LANG.address.billing_address}</strong><br />
      {$ADDRESS_INVOICE.title} {$ADDRESS_INVOICE.first_name} {$ADDRESS_INVOICE.last_name}<br />
      {if !empty($ADDRESS_INVOICE.company_name)}{$ADDRESS_INVOICE.company_name}<br />{/if}
      {$ADDRESS_INVOICE.line1}<br />
      {if !empty($ADDRESS_INVOICE.line2_d)}{$ADDRESS_INVOICE.line2}<br />{/if}
      {$ADDRESS_INVOICE.town}<br />
      {$ADDRESS_INVOICE.state}, {$ADDRESS_INVOICE.postcode}<br />
      {$ADDRESS_INVOICE.country}
    </div>
  </div>

  <div id="info">
    <span style="float: right;"><strong>{$LANG.common.order_id}:</strong> {$SUM.cart_order_id}</span>
    <strong>{$LANG.common.date}:</strong> {$ORDER_DATE}
  </div>

  <div class="product">
    <span class="price"><strong>{$LANG.common.price}</strong></span>
    <strong>{$LANG.common.product}</strong>
  </div>

  {foreach from=$ITEMS item=item}
  <div class="product">
    <span class="price">{$item.price_total}</span>
    {$item.quantity} x {$item.name} {if !empty({$item.product_code})}- {$item.product_code}{/if} ({$item.price})<br />
    {if $item.options}
      {foreach from=$item.options item=option}
        {$option} <br />
      {/foreach}
    {/if}
  </div>
  {/foreach}

  <div id="totals">
    <div class="total">{$LANG.basket.total_sub}: {$SUM.subtotal}</div>
    <div class="total">{$LANG.basket.total_discount} {if $SUM.percent}({$SUM.percent}){/if}: {$SUM.discount}</div>
    <div class="total">{$LANG.basket.shipping}: {$SUM.shipping}</div>
    {if $TAX}
        <div class="total">{$LANG.basket.total_tax}: {$TAX}</div>
      {elseif $TAXES}
          {foreach from=$TAXES item=tax}
          <div class="total">{$tax.name}: {$tax.value}</div>
          {/foreach}
      {/if}
    <div class="total"><strong>{$LANG.basket.total_grand}: {$SUM.total}</strong></div>
  </div>
  {if !empty($SUM.customer_comments)}
  <div>{$LANG.basket.your_comments}:<br /><em>&quot;{$SUM.customer_comments}&quot;</em></div>
  {/if}
  {if $CHEQUE}
  <div class="payment_method">
    <strong>{$LANG.gateway.cheque_payment}</strong><br />
    {$LANG.gateway.cheque_payable_to} &quot;{$MODULE.payableTo}&quot;
  </div>
  {/if}

  {if $CARDS}
  <div class="payment_method">
    <div id="card_details">
      <div class="detail">{$LANG.gateway.card_number}:</div>
      <div class="detail">{$LANG.gateway.card_expiry_date}:</div>
      <div class="detail">{$LANG.gateway.card_issue_date}:</div>
      <div class="detail">{$LANG.gateway.card_issue_no}:</div>
      <div class="detail">{$LANG.gateway.card_security}:</div>
    </div>

    <div style="margin-bottom: 5px;"><strong>{$LANG.gateway.card_payment}</strong></div>
    <div id="card_types">
      {foreach from=$CARDS item=card}
      <img src="modules/gateway/Print_Order_Form/skin/images/box.gif" alt="" /> {$card}<br />
      {/foreach}
    </div>

  </div>
  {/if}

  {if $BANK}
  <div class="payment_method">
    <strong>Secure Online e-Transfers</strong><br />
    <br />
    <div><strong>{$LANG.gateway.bank_name}:</strong> {$MODULE.bankName}</div>
    <div><strong>{$LANG.gateway.bank_account_name}:</strong> {$MODULE.accName}</div>
    <div><strong>e-Transfer Email:</strong> {$MODULE.acNo}</div>
    <div><strong>e-Transfer Secret Question ?</strong> {$MODULE.sortCode}</div>
    <div><strong>Answer to Secret Question ?</strong> {$MODULE.swiftCode}</div>

  </div>
  {/if}

  {if !empty($MODULE.notes)}
  <div id="notes">{$MODULE.notes}</div>
  {/if}

  <div id="thanks">{$LANG.common.thanks}</div>
  <div id="footer">
    {$LANG.gateway.postal_address}: {$STORE.address}, {$STORE.county}, {$STORE.postcode} {$STORE.country}<br />
    {$STORE.name}, {$STORE.url}
  </div>

</div>
</body>
</html>

----------------------------------------------

admin/index.tpl

<?php
/**
 * CubeCart v6
 * ========================================
 * CubeCart is a registered trade mark of CubeCart Limited
 * Copyright CubeCart Limited 2014. All rights reserved.
 * UK Private Limited Company No. 5323904
 * ========================================
 * Web:   http://www.cubecart.com
 * Email:  [email protected]
 * License:  GPL-2.0 http://opensource.org/licenses/GPL-2.0
 */
?>
<form action="{$VAL_SELF}" method="post" enctype="multipart/form-data">
  <div id="Print_Order_Form" class="tab_content">
    <h3>{$TITLE}</h3>
    <fieldset><legend>{$LANG.module.config_settings}</legend>
      <div><label for="status">{$LANG.common.status}</label><span><input type="hidden" name="module[status]" id="status" class="toggle" value="{$MODULE.status}" /></span></div>
      <div><label for="position">{$LANG.module.position}</label><span><input type="text" name="module[position]" id="position" class="textbox number" value="{$MODULE.position}" /></span></div>
      <div>
                <label for="scope">{$LANG.module.scope}</label>
                <span>
                    <select name="module[scope]">
                              <option value="both" {$SELECT_scope_both}>{$LANG.module.both}</option>
                              <option value="main" {$SELECT_scope_main}>{$LANG.module.main}</option>
                              <option value="mobile" {$SELECT_scope_mobile}>{$LANG.module.mobile}</option>
                        </select>
                </span>
            </div>
      <div><label for="default">{$LANG.common.default}</label><span><input type="hidden" name="module[default]" id="default" class="toggle" value="{$MODULE.default}" /></span></div>
      <div><label for="description">{$LANG.common.description} *</label><span><input name="module[desc]" id="description" class="textbox" type="text" value="{$MODULE.desc}" /></span></div>
      <div><label for="multiCurrency">{$LANG.print_order_form.currency_multi}</label><span><input type="hidden" name="module[multiCurrency]" id="multiCurrency" class="toggle" value="{$MODULE.multiCurrency}" /></span></div>
      <div><label for="cheque">{$LANG.print_order_form.cheque_allow}</label><span><input type="hidden" name="module[cheque]" id="cheque" class="toggle" value="{$MODULE.cheque}" /></span></div>
      <div><label for="payableTo">{$LANG.print_order_form.cheque_payable}</label><span><input type="text" name="module[payableTo]" value="{$MODULE.payableTo}" class="textbox" size="30" /></span></div>
      <div><label for="card">{$LANG.print_order_form.cards_allow}?</label><span><input type="hidden" name="module[card]" id="card" class="toggle" value="{$MODULE.card}" /></span></div>
      <div><label for="cards">{$LANG.print_order_form.cards_accept}</label><span><input type="text" name="module[cards]" id="cards" class="textbox" value="{$MODULE.cards}" class="textbox" size="30" /> {$LANG.common.eg} {$LANG.print_order_form.cards_example}</span></div>
      <div><label for="status">{$LANG.print_order_form.confirmation_email}</label><span><input type="hidden" name="module[confirmation_email]" id="confirmation_email" class="toggle" value="{$MODULE.confirmation_email}" /></span></div>
    </fieldset>

    <fieldset><legend>{$LANG.print_order_form.title_bank_transfer}</legend>
      <div><label for="bank">{$LANG.print_order_form.bank_allow}</label><span><input type="hidden" name="module[bank]" id="bank" class="toggle" value="{$MODULE.bank}" /></span></div>
      <div><label for="bankName">{$LANG.print_order_form.bank_name}</label><span><input name="module[bankName]" id="bankName" class="textbox" type="text" value="{$MODULE.bankName}" /></span></div>
      <div><label for="accName">{$LANG.print_order_form.bank_account_name}</label><span><input type="text" name="module[accName]" value="{$MODULE.accName}" class="textbox" size="30" /></span></div>
      <div><label for="acNo">e-Transfer Email</label><span><input type="text" name="module[acNo]" value="{$MODULE.acNo}" class="textbox" size="30" /></span></div>
      <div><label for="sortCode">e-Transfer Secret Question ?</label><span><input type="text" name="module[sortCode]" value="{$MODULE.sortCode}" class="textbox" size="30" /></span></div>      
      <div><label for="swiftCode">Answer to Secret Question ?</label><span><input type="text" name="module[swiftCode]" value="{$MODULE.swiftCode}" class="textbox" size="30" /></span></div>

    </fieldset>

    <fieldset><legend>{$LANG.common.notes}</legend>
      <div><label for="notes">{$LANG.print_order_form.notes}</label><span><textarea name="module[notes]" cols="30" rows="5">{$MODULE.notes}</textarea></span></div>
    </fieldset>
    <p>{$LANG.module.description_options}</p>
  </div>
  {$MODULE_ZONES}
  <div class="form_control"><input type="submit" name="save" value="{$LANG.common.save}" /></div>
  <input type="hidden" name="token" value="{$SESSION_TOKEN}" />
</form>

 

I am not sure how popular e-transfer is around the world? but its in use in Canada and the USA.

With a small seperate little e-transfer option the customer can print out and send money by e-transfer as an option.

OR add that little bit to the current print order form, then we/i can also leave the bank transfers by swift code etc.. as a 3rd option of payment on the print out form.

Not sure which is best.. i think a SEPERATE little e-transfer app. so as NOT to confuse customers to much on checkout options.

 

Thanks

The e-Transfer Payments i send and receive are done through Interac.ca

Payments are sent to an email linked to the Sellers or Individuals Interac Account and Bank Account.

Sender adds a Secret Question, which the Recipient must answer correctly to get paid.

 

Edited by bubbaboss
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...