{"action":"opened","issue":{"url":"https://api.github.com/repos/braintree/braintree_android/issues/119","repository_url":"https://api.github.com/repos/braintree/braintree_android","labels_url":"https://api.github.com/repos/braintree/braintree_android/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/braintree/braintree_android/issues/119/comments","events_url":"https://api.github.com/repos/braintree/braintree_android/issues/119/events","html_url":"https://github.com/braintree/braintree_android/issues/119","id":176565814,"number":119,"title":"Android Pay fails with Request Failed: unexpected error","user":{"login":"hussainak","id":1008911,"avatar_url":"https://avatars.githubusercontent.com/u/1008911?v=3","gravatar_id":"","url":"https://api.github.com/users/hussainak","html_url":"https://github.com/hussainak","followers_url":"https://api.github.com/users/hussainak/followers","following_url":"https://api.github.com/users/hussainak/following{/other_user}","gists_url":"https://api.github.com/users/hussainak/gists{/gist_id}","starred_url":"https://api.github.com/users/hussainak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hussainak/subscriptions","organizations_url":"https://api.github.com/users/hussainak/orgs","repos_url":"https://api.github.com/users/hussainak/repos","events_url":"https://api.github.com/users/hussainak/events{/privacy}","received_events_url":"https://api.github.com/users/hussainak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-13T07:06:26Z","updated_at":"2016-09-13T07:06:26Z","closed_at":null,"body":"Hi there,\r\n\r\nI am starting Braintree Android v2 Drop In using the following code with a production client roken generated on my nodejs server application. PayPal and CC work fine but I am getting an error when tapping on Android Pay. Error is included below the code. Please help me here!\r\n\r\n` Cart cart = Cart.newBuilder()\r\n            .setCurrencyCode(\"USD\")\r\n            .setTotalPrice(\"1.00\")\r\n            .addLineItem(LineItem.newBuilder()\r\n                    .setCurrencyCode(\"USD\")\r\n                    .setDescription(\"Description\")\r\n                    .setQuantity(\"1\")\r\n                    .setUnitPrice(\"1.00\")\r\n                    .setTotalPrice(\"1.00\")\r\n                    .build())\r\n            .build();\r\n\r\n      PaymentRequest paymentRequest = new PaymentRequest()\r\n                .clientToken(clientToken)\r\n                .actionBarTitle(\"Test\")\r\n                .primaryDescription(\"Test desc\")\r\n                .secondaryDescription(\"1 Item\")\r\n                .amount(\"$1.00\")\r\n                .submitButtonText(\"Give Now\");\r\n        paymentRequest.androidPayCart(cart);\r\n        paymentRequest.androidPayRequestCode(MASKED_WALLET_REQUEST_CODE);\r\n\r\n     startActivityForResult(this, paymentRequest.getIntent(getActivity()), DROPIN_ACTIVITY_REQUEST_CODE);`\r\n\r\nThe Eror that comes up on the screen is \"Request Failed\", \"An unexpected  error has occurred. Please try again later\".\r\n\r\nI am getting the following logcat when the error occurs.\r\n\r\n`09-13 00:49:40.802 3499-4137/? E/Parcel: Class not found when unmarshalling: com.google.android.gms.wallet.shared.BuyFlowConfig\r\n                                         java.lang.ClassNotFoundException: com.google.android.gms.wallet.shared.BuyFlowConfig\r\n                                             at java.lang.Class.classForName(Native Method)\r\n                                             at java.lang.Class.forName(Class.java:324)\r\n                                             at android.os.Parcel.readParcelableCreator(Parcel.java:2404)\r\n                                             at android.os.Parcel.readParcelable(Parcel.java:2358)\r\n                                             at android.os.Parcel.readValue(Parcel.java:2264)\r\n                                             at android.os.Parcel.readArrayMapInternal(Parcel.java:2614)\r\n                                             at android.os.BaseBundle.unparcel(BaseBundle.java:221)\r\n                                             at android.os.BaseBundle.getString(BaseBundle.java:920)\r\n                                             at android.content.Intent.getStringExtra(Intent.java:6195)\r\n                                             at com.android.server.am.ActivityStackSupervisor.startActivityLocked(ActivityStackSupervisor.java:2699)\r\n                                             at com.android.server.am.ActivityStackSupervisor.startActivityMayWait(ActivityStackSupervisor.java:2161)\r\n                                             at com.android.server.am.ActivityManagerService.startActivityInPackage(ActivityManagerService.java:6855)\r\n                                             at com.android.server.am.PendingIntentRecord.sendInner(PendingIntentRecord.java:310)\r\n                                             at com.android.server.am.ActivityManagerService.startActivityIntentSender(ActivityManagerService.java:6613)\r\n                                             at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:292)\r\n                                             at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3990)\r\n                                             at android.os.Binder.execTransact(Binder.java:453)\r\n                                          Caused by: java.lang.ClassNotFoundException: com.google.android.gms.wallet.shared.BuyFlowConfig\r\n                                             at java.lang.Class.classForName(Native Method)\r\n                                             at java.lang.BootClassLoader.findClass(ClassLoader.java:781)\r\n                                             at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)\r\n                                             at java.lang.ClassLoader.loadClass(ClassLoader.java:469)\r\n                                             at java.lang.Class.classForName(Native Method) \r\n                                             at java.lang.Class.forName(Class.java:324) \r\n                                             at android.os.Parcel.readParcelableCreator(Parcel.java:2404) \r\n                                             at android.os.Parcel.readParcelable(Parcel.java:2358) \r\n                                             at android.os.Parcel.readValue(Parcel.java:2264) \r\n                                             at android.os.Parcel.readArrayMapInternal(Parcel.java:2614) \r\n                                             at android.os.BaseBundle.unparcel(BaseBundle.java:221) \r\n                                             at android.os.BaseBundle.getString(BaseBundle.java:920) \r\n                                             at android.content.Intent.getStringExtra(Intent.java:6195) \r\n                                             at com.android.server.am.ActivityStackSupervisor.startActivityLocked(ActivityStackSupervisor.java:2699) \r\n                                             at com.android.server.am.ActivityStackSupervisor.startActivityMayWait(ActivityStackSupervisor.java:2161) \r\n                                             at com.android.server.am.ActivityManagerService.startActivityInPackage(ActivityManagerService.java:6855) \r\n                                             at com.android.server.am.PendingIntentRecord.sendInner(PendingIntentRecord.java:310) \r\n                                             at com.android.server.am.ActivityManagerService.startActivityIntentSender(ActivityManagerService.java:6613) \r\n                                             at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:292) \r\n                                             at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3990) \r\n                                             at android.os.Binder.execTransact(Binder.java:453) \r\n                                          Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available`"}}
{"actor":{"display_login":"hussainak"}}