| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Forbidden key name in getFormFields() ? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Forbidden key name in getFormFields() ?
Hi, I am making a new thread not to mess up the other one, but they are related.
So, I have been trying to build on the model of Tony's demo payment module. We need to pass more information from the cart to gateway, notably the first, last name, the e-mail of the client, as well as the amount of payment. If I understand correctly, it should boil down to rewriting the function. Code:
All my trials failed, and as a desperate attempt, I tried to put Code:
the store I thought it was forbidden to pass a "constant" value from x-cart to gateway this way because there were better ways to do it, but it still intrigued me, and I changed the line Code:
Code:
Thus, here is my question. Are there forbidden key name for the array that getFormFields() return? Is there a list of such key names?
__________________
X-cart 5.2.12, php 5.6 Ed from Grenoble, France |
|||||||
|
|||
X-Cart forums © 2001-2020
|