Code:
$db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('MBookers Return URL', 'MODULE_PAYMENT_MBOOKERS_IPN_RETURN_URL','".zen_catalog_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL',false)."', '', '6', '99','".zen_catalog_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL',false)."', now())");
I have got the piece of code from the PayPal Module (From paypal.php under Function Install) but need some help on the correct syntax for what I want to do.
Basically, I want to store the link generated by ".zen_catalog_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL',false)" in the MODULE_PAYMENT_MBOOKERS_IPN_RETURN_URL MySQL Key but do not want it to show up as an option for editing under the module install.
A similar one is
Code:
$db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Link to MBookers', 'MODULE_PAYMENT_MBOOKERS_HANDLER', 'www.mbookers.com', 'Link to MBookers Payment Processing', '6', '73', '', now())");
Here I just want to store the MBookers link so users do not need to enter it themselves. After editing the PayPal file, there is a text box for input which I don't need.
Any help appreciated. Thanks
PS Just realised that this thread perhaps should be in a different part of the forum.