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 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... Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJyuJKrP3NbaWWqE4RAhFGAKCaEs2nMP1FD7nuk5vO6pSNDu1cJgCeMB3u S28FOcA1f9V86a173pJaW/E= =Ml5b -----END PGP SIGNATURE----- |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 here is their help page http://www.worldpay.com/support/integrations/invisible/help/invisible_guide.html#invig_12.html BJ Freeman sent the following on 3/25/2009 7:02 PM: > 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... Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJyvUrrP3NbaWWqE4RArNDAJoDf9a6VmUG5pwjjVNlMgj/Q7bOdwCeOrMf QhRwaH4BNBh5eJtxz4xvisM= =As4k -----END PGP SIGNATURE----- |
In reply to this post by nachi19-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 The message was from the jar and so you should contact world pay. here is their help page http://www.worldpay.com/support/integrations/invisible/help/invisible_guide.html#invig_12.html [hidden email] sent the following on 3/26/2009 8:48 AM: > Hi BJ > ya i am using that world pay jar,but i am not able to get why that exception is coming.and my token value coming is null. > BJ Freeman wrote: > 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... >> >> > Quoted from: > http://www.nabble.com/ArgumentException-while-integrating-worldpay-tp22710804p22714811.html -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJy654rP3NbaWWqE4RAl2WAJ9Rfxb+rZERUjr21SAe0cg4//FmFgCdHqOM 4zA5OXzSPRX4Nqx0Q0svSRg= =KzV6 -----END PGP SIGNATURE----- |
Free forum by Nabble | Edit this page |