New payment methods

  • Posts: 6
  • Thank you received: 0
11 years 4 months ago #130009

Hello, I need to add in the list of available payment methods when purchasing, a link back to one of my file.php which will send (with POST method) to the gateway of my bank only two variables: the total amount and the order code.

How can I do?
I tried to add the link but I can not connect the two variables.
What are their names?
Thank you very much and forgive my bad English.
Dan

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

  • Posts: 12953
  • Thank you received: 1778
11 years 4 months ago #130025

Hi,
The best way to do that would be to create a payment plugin but some developer skill would be required, here is a link to the developer documentation :).

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

  • Posts: 6
  • Thank you received: 0
11 years 4 months ago #130026

Create a plugin is much more complex! I just want to add a link to the file "components / com_hikashop / views / checkout / tmpl / payment.php" to myfile.php passing two variables with the POST method? How could I do? Thank you.

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

  • Posts: 12953
  • Thank you received: 1778
11 years 4 months ago #130059

You'll just have to add a "form" with your 2 variables through your Payment file, of your Checkout view, of your front-end template via "Hikashop->Display->Views".
Note that your customer won't be able to finalize their order, because they will be redirected through your form url during the checkout process, also adding a form through your checkout process won't be really secured.

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

Time to create page: 0.069 seconds
Powered by Kunena Forum