pub async fn fetch_google_receipt_data_with_uri(
    service_account_key: Option<&ServiceAccountKey>,
    uri: String,
    data: Option<GooglePlayData>
) -> Result<GoogleResponse>
Expand description

Retrieves the google response with a specific uri, useful for running tests.

Errors

Will return an error if authentication fails, if there is no response from the endpoint, or if the payload in the UnityPurchaseReceipt is malformed.