After a successful payment in sandbox env for auto renewable subscription, I am trying to get receipt data that I can use to validate the transaction. The string returned gives me malformed error when I try to validate it using iap-receipt-validator and it can't be decoded either. I looked at some sample base64 strings provided by apple which were properly being decoded. Here is the code I used:
After a successful payment in sandbox env for auto renewable subscription, I am trying to get receipt data that I can use to validate the transaction. The string returned gives me malformed error when I try to validate it using iap-receipt-validator and it can't be decoded either. I looked at some sample base64 strings provided by apple which were properly being decoded. Here is the code I used:
Is anyone else experiencing the same problem?