-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Shall the one page checkout working properly?
I get this error when continuing to Step 5:
[java] ---- runtime exception report
- --------------------------------------------------
[java] Error evaluating Groovy scriptlet [${groovy:
org.ofbiz.order.shoppingcart.ShoppingCart.CartPaymentInfo cpi =
shoppingCart.getPaymentInfo(paymentMethodId, null, null, null, true);
cpi.securityCode = cardSecurityCode; return cpi;}], inserting nothing;
error was: groovy.lang.MissingPropertyException: No such property:
cardSecurityCode for class: script1281352061618804188587
[java] Exception: groovy.lang.MissingPropertyException
[java] Message: No such property: cardSecurityCode for class:
script1281352061618804188587
[java] ---- stack trace
- ---------------------------------------------------------------
1. Looks like OnePageCheckoutProcess.ftl defines...
<input id="CVV2" name="cardSecurityCode" size="4" type="text"
maxlength="4" value="" />
2. ..but in service_checkout.xml the parameter is named different...
<attribute name="billToCardSecurityCode" type="String" mode="IN"
optional="true"/>
3. ...and in CheckoutServices.xml the parameter is mapped again...
<set field="cardSecurityCode"
from-field="parameters.billToCardSecurityCode"/>
So why not changing the attribute name in the service definition to
"cardSecurityCode" and removing the mapping in CheckoutServices.xml? By
the way, "billToCardSecurityCode" is not used anywhere else.
Any proposals?
Regards,
René
- --
René Scheibe * [email protected]
TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterföhring
Geschäftsführer: Henrik Klagges, Gerhard Müller, Christoph Stock
Sitz: Unterföhring * Amtsgericht München * HRB 135082
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkxgJSwACgkQUXs9EHvIuCoJOQCeJij4SJwJhjvuK/YrGWJXmmow
VHAAn0jTPprXNcEXUaj6+r57He5G7Nje
=Ay9T
-----END PGP SIGNATURE-----