Payment Plugin retrieve value

  • Posts: 2
  • Thank you received: 0
10 years 2 months ago #169387

-- HikaShop version -- : latest

Hello,

How do i retrieve value that i submitted in the a payment plugin i'm making.
I'm talking about the specific configuration field value's

I can't find information about retrieving this value.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 2 months ago #169388

Hi,

Which value ?

api.joomla.org/cms-3/classes/JRequest.html maybe ?

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: 2
  • Thank you received: 0
10 years 2 months ago #169427

Hi Jerome.

I'm talking about this section. I made my own payment plugin and i want to retrieve the value from the specific configuration.
Any idea how?

http://imgur.com/BGA1h9B

Last edit: 10 years 2 months ago by Wesley.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 2 months ago #169436

Hi,

Please download the example payment plugin.
www.hikashop.com/support/support/documen...on.html#howtopayment

It provides you a documented example with a lot of commentaries.
Using the HikashopPaymentPlugin interface, you can easily create configuration interface and read the configuration using

$this->payment_params->name_of_the_option
(If you call the right function before, following the instructions of the example 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.

Time to create page: 0.060 seconds
Powered by Kunena Forum