Skip to main content

Payment Plugin retrieve value

More
12 years 1 month ago #169387 by Wesley
-- 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.

More
12 years 1 month ago #169388 by Jerome
Hi,

Which value ?

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

Regards,

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

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

More
12 years 1 month ago - 12 years 1 month ago #169427 by Wesley
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?

imgur.com/BGA1h9B
Last edit: 12 years 1 month ago by Wesley.

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

More
12 years 1 month ago #169436 by Jerome
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
Code:
$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.

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

Time to create page: 0.167 seconds
Powered by Kunena Forum