Custom Payment Form, Can I Put it in cart??

  • Posts: 59
  • Thank you received: 1
11 years 3 months ago #146860

-- HikaShop version -- : Business 2.3.0
-- Joomla version -- : 2.5.9
-- PHP version -- : 5.3.26
-- Browser(s) name and version -- : FF 27.0

I made a custom payment form I'd like to use. My cart pages are https as would be my payment form of course.

My question is, someone orders and adds to cart. When they go to checkout, can I have it to where my payment form is right there under the shipping, products in cart etc.
I mean can I have it so that everything is on the same page, the payment method is right there in front of the customer under their order?

OR Alternatively, can I use my form AFTER they click to complete? So instead of them going to a paypal, or authorize or something page, can they go to my form without me having to create a plugin etc.? I just want them to go to my form.

Thank You :)

Last edit: 11 years 3 months ago by G9Cap. Reason: added info.

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

  • Posts: 2334
  • Thank you received: 403
11 years 3 months ago #146905

Hi there,

What kind of form did you created?
The plugin option would have been the easiest one since you could have use our checkout workflow configuration (in System>Configuration>Checkout) to determine exactly the position of the payement method.

In your case I'm not sure how you should do. I think an easy solution would be to copy the payment method (the plugin) bank transfer since this plugin basically display a message once selected. Just edit the code a bit to replace this message by your form and it should work fine. Another option would be to edit some of the core file to load your form but it might with our own form and I'm not sure it's the most efficient.

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

  • Posts: 59
  • Thank you received: 1
11 years 3 months ago #146990

I can not even get that plugin to show! I published the plugin but it does not show as an option available to me when trying to select it, it just isn't there. Any idea why? Thank You

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

  • Posts: 59
  • Thank you received: 1
11 years 3 months ago #146994

Also, just using send check as option, I am getting this error: Warning: Invalid argument supplied for foreach() in /home/zfmomczb/public_html/components/com_hikashop/controllers/checkout.php on line 1483

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

  • Posts: 59
  • Thank you received: 1
11 years 3 months ago #147004

UPDATE:

Here's What I Am Trying To Do! I located and turned on the bank transfer plugin per your suggestion.

1) Customer makes selection and adds to cart.
2) They go to Checkout and enter details etc. as normal, no changes here. They submit the order.
3) BUT..... when they go to final step for payment, they click that link and I want them to arrive at a payment form I created myself using BreezingForms. They complete that and they are done.

So......... using the bank transfer plugin (or similar) how do I get my form into the page they arrive at for payment?

And what is this error: I am getting this error after submitting an order:
Warning: Invalid argument supplied for foreach() in /home/zfmomczb/public_html/components/com_hikashop/controllers/checkout.php on line 1483

Last edit: 11 years 3 months ago by G9Cap.

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

  • Posts: 26251
  • Thank you received: 4040
  • MODERATOR
11 years 3 months ago #147115

Hi,

For your PHP warning message, please re-download HikaShop 2.3.0, we made a patch to fix this problem.

About your payment plugin request.
The best will be to configure the "return url" option of the payment plugin you use ; this option redirect the user after the creation of the order.
But the plugin "bank transfer" does not have this option because it has to display something after the creation of the order. So redirecting the user will "lost" the bank transfer display.
At this moment you can override the view "after_end" of the plugin, but you will loose the display of the bank information.

Regards,

PS : We answer to older message in priority but I have personally some scripts for double posts in order to not answer several time to users. Please be patient and understand that we have a lot of message to answer.
We are doing our best to answer as fast as possible, so please help us to keep providing a good support :)


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: 59
  • Thank you received: 1
11 years 3 months ago #147116

Thank You.

"At this moment you can override the view "after_end" of the plugin, but you will loose the display of the bank information."

Is it possible you can tell me HOW to do this and where? Thanks so much.

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

  • Posts: 26251
  • Thank you received: 4040
  • MODERATOR
11 years 3 months ago #147119

Hi,

Please copy the file "plugins/hikashoppayment/banktransfer/banktransfer_end.php" to "templates/YOUR_TEMPLATE/hikashoppayment/banktransfert_end.php"

As explained here :
www.hikashop.com/forum/2-general-talk-ab...-payment.html#116513

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: 59
  • Thank you received: 1
11 years 3 months ago #147130

Thank You. Sorry :( I'm just not seeing "templates/MY_TEMPLATE/hikashoppayment/banktransfert_end.php" in the template structure......

I'll pay of course, any chance you can do it for me?

Last edit: 11 years 3 months ago by G9Cap.

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

  • Posts: 26251
  • Thank you received: 4040
  • MODERATOR
11 years 3 months ago #147133

Hi,

Sure the file/path does not exist, you have to create it by copying the file "plugins/hikashoppayment/banktransfer/banktransfer_end.php".

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: 59
  • Thank you received: 1
11 years 3 months ago #147347

I seriously think I'm going out of my mind. Who can I pay to do this for me if it is so simple?

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

  • Posts: 26251
  • Thank you received: 4040
  • MODERATOR
11 years 3 months ago #147373

Hi,

HikaShop uses the Joomla override system.
What I am asking you is to create an override for a payment plugin view.
I gave you the orginal file path, it is the orignal view file.
To override it, you have to copy this file into another place. It will guarantee you that, when updating HikaShop, your modification won't be lost.
The destination file does not exist because, you don't have override for the moment. That's why you would have to create some folders to put the file in the right place.

Here the Joomla official documentation about the override. Hope it will help you to understand the process.
docs.joomla.org/How_to_override_the_outp...rom_the_Joomla!_core

Once the file copied in the override place. You will be able to edit it to put your specific PHP/HTML content.

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: 59
  • Thank you received: 1
11 years 2 months ago #147603

SOLVED: Went another route but solved the issues. Thank You!

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

Time to create page: 0.084 seconds
Powered by Kunena Forum