views:

352

answers:

4

I am getting the response as below.

{"status":21002, "exception":"java.lang.NullPointerException"}

I am encoding the receipt using Base64 only.

I am testing it in sandbox.

What will be the problem? Can anyone help me?

A: 

have the same problem and no idea how to resolve it

Ricky
A: 

We had the same problem - until we discovered that we didn't include the post body in the request and only sent an empty request.

Patrik Weiskircher
A: 

hi dsk.... r u fixed that problem i am also facing same

jeeva
A: 

hi all i got the solution

just send the receipt data after encoding into base 64 as json with key "receipt-data"

zeeshan