Commit bb1020de authored by Jose Blaya's avatar Jose Blaya
Browse files

Merge branch '149-do-not-send-the-receipt-if-purchases-are-not-enabled' into 'release/2.1.0'

Resolve "Do not send the receipt if purchases are not enabled"

See merge request ios/client-library-apple!206
parents 81a2f8e2 11f216e1
......@@ -222,7 +222,8 @@ class PIAWebServices: WebServices, ConfigurationAccess {
"type": "subscription"
if let receipt = receipt {
if let receipt = receipt,
Client.configuration.arePurchasesAvailable() {
parameters["receipt"] = receipt
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment