Sign In Register

How can we help you today?

Start a new topic

The Apple servers failed to verify the receipt (IOSBuyGoodsRequest)

Hello,


I am unable to verify receipts from my sandbox iOS purchases ( verificationError 2).

I am trying to buy a currency pack virtual good that will give the player 300 of currency1.

My gameSparks project is not live.

I am using Unity and I am sending through my PurchasedProduct.receipt.


 Request:

GS: SEND:{"@class":".IOSBuyGoodsRequest","receipt":"{\"Store\":\"AppleAppStore\",\"TransactionID\":\"1000000377698000\",\"Payload\":\"MIIT4AYJKoZIhvcNAQcCoIIT0TCCE80CAQExCzAJBgUrDgMCGgUAMIIDgQYJKoZIhvcNAQcBoIIDcgSCA24xggNqMAoCAQgCAQEEAhYAMAoCARQCAQEEAgwAMAsCAQECAQEEAwIBADALAgEDAgEBBAMMATAwCwIBCwIBAQQDAgEAMAsCAQ8CAQEEAwIBADALAgEQAgEBBAMCAQAwCwIBGQIBAQQDAgEDMAwCAQoCAQEEBBYCNCswDAIBDgIBAQQEAgIAojANAgENAgEBBAUCAwGufTANAgETAgEBBAUMAzEuMDAOAgEJAgEBBAYCBFAyNTAwGAIBBAIBAgQQ8V7AAha1EW2MGfesFKR7wjAbAgEAAgEBBBMMEVByb2R1Y3Rpb25TYW5kYm94MBwCAQUCAQEEFGLpeu5EdNNuaBf3IDw6jOvSN9aFMB4CAQwCAQEEFhYUMjAxOC0wMi0yMVQxNjoyNDo0M1owHgIBEgIBAQQWFhQyMDEzLTA4LTAxVDA3OjAwOjAwWjAhAgECAgEBBBkMF2NvbS53YXJkdWNrcy5zaWRla2lja2FyMFMCAQYCAQEESwVZuFspdxs/IgSu1GHqjddYtIV93pfXqDUOWRx90RBz+8sIi19Esk/9ZnXWai5DcbujL1l7OjtedOOive8P9XV27XBbwwp2ug9tXzBTAgEHAgEBBEvHS8jvXQToDRbiMYgjE61FsG9/UTiIOCehJT14EAjHT2IkgaQ+jWHLdJf80bk1nJi8dm18pnPGAO4xu0B0hmg0kYizIhJWCc352hYwggFUAgERAgEBBIIBSjGCAUYwCwICBqwCAQEEAhYAMAsCAgatAgEBBAIMADALAgIGsAIBAQQCFgAwCwICBrICAQEEAgwAMAsCAgazAgEBBAIMADALAgIGtAIBAQQCDAAwCwICBrUCAQEEAgwAMAsCAga2AgEBBAIMADAMAgIGpQIBAQQDAgEBMAwCAgarAgEBBAMCAQEwDAICBq4CAQEEAwIBADAMAgIGrwIBAQQDAgEAMAwCAgaxAgEBBAMCAQAwGgICBqYCAQEEEQwPQ1VSUkVOQ1lfUEFDS18xMBsCAganAgEBBBIMEDEwMDAwMDAzNzc2OTgwMDAwGwICBqkCAQEEEgwQMTAwMDAwMDM3NzY5ODAwMDAfAgIGqAIBAQQWFhQyMDE4LTAyLTIxVDE2OjI0OjQzWjAfAgIGqgIBAQQWFhQyMDE4LTAyLTIxVDE2OjI0OjQzWqCCDmUwggV8MIIEZKADAgECAggO61eH554JjTANBgkqhkiG9w0BAQUFADCBljELMAkGA1UEBhMCVVMxEzARBgNVBAoMCkFwcGxlIEluYy4xLDAqBgNVBA...

 

Response:

GS: RECV:{"@class":".BuyVirtualGoodResponse","error":{"storeError":"status was: 21002","verificationError":"2"},"requestId":"636548270840686590_2"}

 

Any ideas?


Thanks


3 people have this question

Guys, this one is killing me.


How do I submit the payload? do I send the string:

\"MIIT4...\"  with quotes (\")? Without? or do I add the whole thing where it says:

\"Payload\":\"MIIT4...\" ?


1 person likes this

bump

Hi Nikki,


Glad to hear you got it to work. Let us know if you need anything else.


Regards,

Liam

I got it to work, you only need to send the Payload to GameSparks.

Login to post a comment