Java and AppStore receipt verification
- by user1672461
I am trying to verify a payment receipt on server side.
I am getting a {"status":21002, "exception":"java.lang.IllegalArgumentException"} in return
Here is the code:
private final static String _sandboxUriStr = "https://sandbox.itunes.apple.com/verifyReceipt";
public static void processPayment(final String receipt) throws SystemException
{
…