I literally tried everything on this base64 encoding, never works. ... all that I need is verify receipts on sandbox nothing else. THe docs are inbelievably vague, stackoverflow answers mixed some folks will replace characters, others won't. I can't find a definitely answer.
This is a sample of current receipt data I have
MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwGggCSABIIBczGCAW8wDwIBAAIBAQQHDAVYY29kZTALAgEBAgEBBAMCAQAwHgIBAgIBAQQWDBRjb20uY2hlZmZ3YWxsZXRzLm5mdDALAgEDAgEBBAMMATQwEAIBBAIBAQQIcu/r/wwAAAAwHAIBBQIBAQQUyVasqquRJXG+GbCuStLnD5AlbsowCgIBCAIBAQQCFgAwHgIBDAIBAQQWFhQyMDIxLTA3LTAyVDE0OjUxOjMxWjCBpQIBEQIBAQSBnDGBmTAMAgIGpQIBAQQDAgEBMCsCAgamAgEBBCIMIGNvbS5jaGVmZndhbGxldHMubmZ0LmNvbGxlY3Rpb25zMAwCAganAgEBBAMMATQwHwICBqgCAQEEFhYUMjAyMS0wNy0wMlQxNDozOTo1MFowHwICBqwCAQEEFhYUMjAyMi0wMS0wMlQxNDozOTo1MFowDAICBrcCAQEEAwIBATAeAgEVAgEBBBYWFDQwMDEtMDEtMDFUMDA6MDA6MDBaAAAAAAAAoIIDeDCCA3QwggJcoAMCAQICAQEwDQYJKoZIhvcNAQELBQAwXzERMA8GA1UEAwwIU3RvcmVLaXQxETAPBgNVBAoMCFN0b3JlS2l0MREwDwYDVQQLDAhTdG9yZUtpdDELMAkGA1UEBhMCVVMxFzAVBgkqhkiG9w0BCQEWCFN0b3JlS2l0MB4XDTIwMDQwMTE3NTIzNVoXDTQwMDMyNzE3NTIzNVowXzERMA8GA1UEAwwIU3RvcmVLaXQxETAPBgNVBAoMCFN0b3JlS2l0MREwDwYDVQQLDAhTdG9yZUtpdDELMAkGA1UEBhMCVVMxFzAVBgkqhkiG9w0BCQEWCFN0b3JlS2l0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB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