Further details,
after web payment, it doesn't show the receipt and refund transaction on Orders.
I get the following error when I submit the refund:
ava.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=2222, result=-1, data=Intent { (has extras) }} to activity {com.clover.transactions/com.clover.transactions.TransactionDetailActivity}: java.lang.NullPointerException
at android.app.ActivityThread.deliverResults( ActivityThread.java:3320)
at android.app.ActivityThread.handleSendResult( ActivityThread.java:3363)
at android.app.ActivityThread.access$1100( ActivityThread.java:142)
at android.app.ActivityThread$H.handleMessage( ActivityThread.java:1283)
at android.os.Handler.dispatchMessage( Handler.java:99)
at android.os.Looper.loop( Looper.java:137)
at android.app.ActivityThread.main( ActivityThread.java:5051)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke( Method.java:511)
at com.android.internal.os.ZygoteInit$ MethodAndArgsCaller.run( ZygoteInit.java:793)
at com.android.internal.os.ZygoteInit.main( ZygoteInit.java:560)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at com.clover.common2.RefundUtils.taxesToRefund( RefundUtils.java:97)
at com.clover.common2.RefundUtils.calculateRefund( RefundUtils.java:52)
at com.clover.transactions.TransactionDetailActivity.constructAndIssueRefund( TransactionDetailActivity.java:2252)
at com.clover.transactions.TransactionDetailActivity.onActivityResult( TransactionDetailActivity.java:522)
at android.app.Activity.dispatchActivityResult( Activity.java:5303)
at android.app.ActivityThread.deliverResults( ActivityThread.java:3316)
at android.app.ActivityThread.handleSendResult( ActivityThread.java:3363)
at android.app.ActivityThread.access$1100( ActivityThread.java:142)
at android.app.ActivityThread$H.handleMessage( ActivityThread.java:1283)
at android.os.Handler.dispatchMessage( Handler.java:99)
at android.os.Looper.loop( Looper.java:137)
at android.app.ActivityThread.main( ActivityThread.java:5051)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke( Method.java:511)
at com.android.internal.os.ZygoteInit$ MethodAndArgsCaller.run( ZygoteInit.java:793)
at com.android.internal.os.ZygoteInit.main( ZygoteInit.java:560)
at dalvik.system.NativeStart.main(Native Method)
after web payment, it doesn't show the receipt and refund transaction on Orders.
I get the following error when I submit the refund:
ava.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=2222, result=-1, data=Intent { (has extras) }} to activity {com.clover.transactions/com.clover.transactions.TransactionDetailActivity}: java.lang.NullPointerException
at android.app.ActivityThread.deliverResults( ActivityThread.java:3320)
at android.app.ActivityThread.handleSendResult( ActivityThread.java:3363)
at android.app.ActivityThread.access$1100( ActivityThread.java:142)
at android.app.ActivityThread$H.handleMessage( ActivityThread.java:1283)
at android.os.Handler.dispatchMessage( Handler.java:99)
at android.os.Looper.loop( Looper.java:137)
at android.app.ActivityThread.main( ActivityThread.java:5051)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke( Method.java:511)
at com.android.internal.os.ZygoteInit$ MethodAndArgsCaller.run( ZygoteInit.java:793)
at com.android.internal.os.ZygoteInit.main( ZygoteInit.java:560)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at com.clover.common2.RefundUtils.taxesToRefund( RefundUtils.java:97)
at com.clover.common2.RefundUtils.calculateRefund( RefundUtils.java:52)
at com.clover.transactions.TransactionDetailActivity.constructAndIssueRefund( TransactionDetailActivity.java:2252)
at com.clover.transactions.TransactionDetailActivity.onActivityResult( TransactionDetailActivity.java:522)
at android.app.Activity.dispatchActivityResult( Activity.java:5303)
at android.app.ActivityThread.deliverResults( ActivityThread.java:3316)
at android.app.ActivityThread.handleSendResult( ActivityThread.java:3363)
at android.app.ActivityThread.access$1100( ActivityThread.java:142)
at android.app.ActivityThread$H.handleMessage( ActivityThread.java:1283)
at android.os.Handler.dispatchMessage( Handler.java:99)
at android.os.Looper.loop( Looper.java:137)
at android.app.ActivityThread.main( ActivityThread.java:5051)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke( Method.java:511)
at com.android.internal.os.ZygoteInit$ MethodAndArgsCaller.run( ZygoteInit.java:793)
at com.android.internal.os.ZygoteInit.main( ZygoteInit.java:560)
at dalvik.system.NativeStart.main(Native Method)