[SOLVED] Pickup and Payment Method

  • Posts: 108
  • Thank you received: 4
  • Hikashop Business
12 years 3 months ago #59037

Hello there

In my shop, I would like to offer the customers, that they can pickup the merchandise in our store. In this case, the payment method would be "Cash Payment" for example.

Now, it tried to configure this in the Shop's Administrator Backend, but I come not to a end that makes me happy.

First of all, I configured a manual shipping method, that is called "Pickup". I only defined a "Zone" (Switzerland). Here is the first question: I have to define a zone that the choice shows up during checkout: I mean... I don't care if someone from Timbuktu would come to pickup some stuff in my store. But this is not really imported.

Then I moved to the payment methods and here I was unable to find a payment method like "cash payment". So this is not that good since, when the customer chooses "Pickup" as delivery method, he must choose as payment method (in my case) "Bank transfer, Credit card or cash on delivery".

The first idea was to configure for each payment method the shipping methods except the "Pickup". This won't work because, then Hika Shop say me "Please configure your payment methods. No payment methods found".

The second idea was to abuse the "cash on delivery" method: I thought pickup is some form of cash on delivery, but the point is: If a customer really wants a cash on delivery (by out Post) it would cost something and in the pickup-case, there are naturally no costs.

The next idea was to define an own payment method that is in fact a copy of the "bank transfer payment plugin". Paying cash shall work this way: You select "pay cash" as payment method and in the end, there shall be an information with e.g. where our store is located to pickup the stuff, the opening times, or maybe the currencies, that are accepted for cash payment, and so on... So to speak "some information" like when using "bank transfer" that displays the account information at the end. I know what you want to say: What is if a customer select the Shipping Method "Cash on delivery" and select as Payment method "cash payment". It's a case that is ugly but if a customer would do so (and I hope there are not a lot of such customers) I would simply call them back to clarify the situation.

But back to the payment plugin I wanted to create: I copied the "plg_hikashoppayment_banktransfer" in the directory "administrator\components\com_hikashop\extensions", named it "plg_hikashoppayment_cashpayment", renamed all the files in it, also in the files I renamed most of things (please see the attached rar file). So far so good.

But then I found out (by searching the word "banktransfer" in the hika-files) that there is an "update.php" under "administrator\components\com_hikashop\helpers" and another directory that contains some "banktransfer.php"-Stuff called "plugins\hikashoppayment\banktransfer". There stuff I haven't changed, since without a technical documentation I think I hard to get somewhere.

Now I kindly would like to ask: Is there any way to solve my problem of "pickup an pay cash"?
Thanks for reading my "problem" and help me out! I really appreciate it!
Best regards, Mike

Attachments:
Last edit: 12 years 2 months ago by mike.

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

  • Posts: 82818
  • Thank you received: 13364
  • MODERATOR
12 years 3 months ago #59089

Hi,

1. You don't need to set a zone in a shipping method. If you don't set a zone, anyone from anywhere can select it.

2. You can use "Bank transfer, Credit card, western union or cash on delivery" for your "cash" payment method. Just rename it to what you want and change its related translations with a translation override:
www.hikashop.com/en/download/languages.html#modify
You don't need to create your own payment plugin for that.

The following user(s) said Thank You: mike

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

  • Posts: 108
  • Thank you received: 4
  • Hikashop Business
12 years 2 months ago #64292

As you can see: I'll try anyway to write a SaferPay Payment Plugin somewhen in the next few weeks! Maybe I'll start with something easy and also write a pickup payment plugin.

I did as you described and used another payment plugin (HikaShop Western Union payment plugin) for the pickup-case. A small problem is at the end (since it's a plugin that handles a bank transfer), at the end, there is a message that the customer shall transfer the money by bank and shall not forget the transaction-/order-id. For a pickup, this makes no sense.

But no problem: I'll do my best to create a plugin ;)

Please also refere to my other Thread "SaferPay Interface"!
www.hikashop.com/en/forum/2-general-talk...erpay-interface.html

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

  • Posts: 82818
  • Thank you received: 13364
  • MODERATOR
12 years 2 months ago #64429

As I explain in my last message, you can override that text at the end of the checkout with translation overrides:
www.hikashop.com/en/download/languages.html#modify

I'm looking forward to see your plugin :)
If you have questions during the implementation, let us know.

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

  • Posts: 108
  • Thank you received: 4
  • Hikashop Business
12 years 2 months ago #64437

oh, okay... sorry, then I had tomatoes on my eyes... ;) I didn't saw that.

Anyway, I'll try to write such a plugin when I'm finished with filling the shop (with products I mean). It's a very big amount of work :( but I hope it's worth... :)

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

Time to create page: 0.061 seconds
Powered by Kunena Forum