direct debit payment method

  • Posts: 217
  • Thank you received: 1
11 years 7 months ago #98127

Hi all,

I am wondering how we can deal with direct debit payments?

Perhaps one way is to create a custom payment method, let them select it and pretend the order was completed? I read I could create a custom payment method - can I get some example code?

I would then have the order complete but manually update it when we get the payment and ship the goods.

Thanks,

Mat

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 7 months ago #98200

Hi,

Why not use the already made payment methods ?
In the options, you can set the order status.

By direct debit payment, what do you mean ? Via Credit card, or bank transfert , .. ?

Please Log in or Create an account to join the conversation.

  • Posts: 217
  • Thank you received: 1
11 years 7 months ago #98464

Bank transfer.

I want the user to be given the option of a bank transfer where we display our bank account details and once done we consider the order complete (they see the thank you message, the cart is emptied) but unpaid. Then when we get the money we complete the order.

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
11 years 7 months ago #98563

Hi,

HikaShop already have a "bank transfer" plugin.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 217
  • Thank you received: 1
11 years 7 months ago #98608

OK great - that appears to be what I needed. I also note that the sale order status is created not confirmed just as I would hope.

I switched the plugin on and restricted the access level so I can test it.

In the checkout the bank transfer options appears and the text says 'You can pay by sending us a bank transfer.'
but the Bank Account Information does not? Am I meant to cut and paste that info across?

Last edit: 11 years 7 months ago by Mat.

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
11 years 7 months ago #98659

The bank account information that you enter in the plugin will be displayed at the end of the checkout.

Please Log in or Create an account to join the conversation.

  • Posts: 217
  • Thank you received: 1
11 years 7 months ago #99088

nicolas wrote: The bank account information that you enter in the plugin will be displayed at the end of the checkout.


Hi Nicolas - it isn't.
Supposing I customised some of the views which one might I have messed with? checkout / end.php or checkout / after_end.php

I do get the thank you information being displayed and the order is generated and the emails sent.

It might also be worth displaying our bank account details on their order email as well right?

How can I do that?

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
11 years 7 months ago #99176

It is normally displayed in the checkout/end.php file.

You can add the bank account information in the emails via the menu System>Emails by editing the order creation notification email.

Please Log in or Create an account to join the conversation.

  • Posts: 217
  • Thank you received: 1
11 years 7 months ago #99285

thank you - yep - i over wrote that = cheers.

In end.php it outputs $this->html where is that generated so that I can edit that output?

Last edit: 11 years 7 months ago by Mat.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 7 months ago #99370

Hi,

To change the output you have to edit the xxx_end.php file of the payment method.
For example, to change the output after a bank transfer payment, you have to edit the file "plugins/hikashoppayment/banktransfer/banktransfer_end.php".

Please Log in or Create an account to join the conversation.

  • Posts: 217
  • Thank you received: 1
11 years 7 months ago #99460

thanks i found it for the display.

How can I tell they paid by bank transfer so that I know to show the bank account information on the order email?

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
11 years 7 months ago #99581
The following user(s) said Thank You: Mat

Please Log in or Create an account to join the conversation.

  • Posts: 217
  • Thank you received: 1
11 years 7 months ago #99855

thanks for all the help it seems to be working great :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.083 seconds
Powered by Kunena Forum