I am trying to find an example codenameone project for online payment app (e.g. Apple Pay, googlePay etc.); managed to set-up this project here - https://github.com/codenameone/BraintreeCodenameOne; but it failed at the function below with null pointer - public static void startOrder(Callback callback) {
// fetch token from the server BraintreePaymentCallback.cb = callback; String token = callback.fetchToken(); I wonder has anybody implemented the fetchToken() function before? Thanks Jenny https://github.com/codenameone/BraintreeCodenameOne/ https://github.com/codenameone/BraintreeCodenameOne/ https://www.codenameone.com/blog/tip-setup-codename-one-demo-from-git.html https://www.codenameone.com/blog/tip-setup-codename-one-demo-from-git.html -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/54f4ec88-1513-470e-b717-b644032a5489%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.