-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
PurchaseToken is in the world pay jars.
import com.worldpay.select.PurchaseToken;
nachi19 sent the following on 3/25/2009 3:20 PM:
> Hi
> At the time of integrating the worldpay with the ofbiz application i got
> an exception when i remove the try catch block in worldpayevents.java
>
> try {
> token = new PurchaseToken(instIdInt, currencyAmount, orderId);
> } catch (SelectException e) {
> Debug.logError(e, "Cannot create purchase token", module);
> } catch (ArgumentException e) {
> Debug.logError(e, "Cannot create purchase token", module);
> }
> the exception which i got was...
>
> unreported exception com.worldpay.core.ArgumentException
>
> if i handle that exception then the code will execute the next block of
> statement where the token value is coming null and it displays "Problems
> creating a purchase token, please contact customer service.".. i just want
> to know why my token value is null and what is the use of this token...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJyuJKrP3NbaWWqE4RAhFGAKCaEs2nMP1FD7nuk5vO6pSNDu1cJgCeMB3u
S28FOcA1f9V86a173pJaW/E=
=Ml5b
-----END PGP SIGNATURE-----