Function iap::fetch_apple_receipt_data
source · [−]pub async fn fetch_apple_receipt_data(
receipt: &UnityPurchaseReceipt,
password: &str
) -> Result<AppleResponse>
Expand description
Retrieves the responseBody data from Apple
Errors
Will return an error if no apple secret is set in password
or
if there is there is valid response from the apple_urls
endpoints.