I have a Fabrik List (List1) with several elements key,txnid,amount,productinfo, firstname, email, udf1, udf2...udf10. I also have a php form plugin that is triggered when the form is saved, and the database is then updated.
The problem I am having is that the data that gets saved in the payment gateway server is for elements in fabrik terminology {List1___key}, {List1___txnid}.....{List1___udf10}
But what they need is element names without the Listname, that is, key (instead of {List1___key}) etc...How do I eliminate the Listname from the element name?
Am on Joomla 3.4.0 and the latest Fabrik from Github.
Given below is that part of the php code if it helps. Thanks in advance.
---------
.....
$hash = '';
// Hash Sequence
$hashSequence = "key|txnid|amount|productinfo|firstname|email|udf1|udf2|udf3|udf4|udf5|udf6|udf7|udf8|udf9|udf10";
if(empty($posted['hash']) && sizeof($posted) > 0) {
if(
empty($posted['key'])
|| empty($posted['txnid'])
|| empty($posted['amount'])
|| empty($posted['firstname'])
|| empty($posted['email'])
|| empty($posted['phone'])
|| empty($posted['productinfo'])
|| empty($posted['surl'])
|| empty($posted['furl'])
The problem I am having is that the data that gets saved in the payment gateway server is for elements in fabrik terminology {List1___key}, {List1___txnid}.....{List1___udf10}
But what they need is element names without the Listname, that is, key (instead of {List1___key}) etc...How do I eliminate the Listname from the element name?
Am on Joomla 3.4.0 and the latest Fabrik from Github.
Given below is that part of the php code if it helps. Thanks in advance.
---------
.....
$hash = '';
// Hash Sequence
$hashSequence = "key|txnid|amount|productinfo|firstname|email|udf1|udf2|udf3|udf4|udf5|udf6|udf7|udf8|udf9|udf10";
if(empty($posted['hash']) && sizeof($posted) > 0) {
if(
empty($posted['key'])
|| empty($posted['txnid'])
|| empty($posted['amount'])
|| empty($posted['firstname'])
|| empty($posted['email'])
|| empty($posted['phone'])
|| empty($posted['productinfo'])
|| empty($posted['surl'])
|| empty($posted['furl'])