Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

fix: Remove redundant apple date match check #4179

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions ecommerce/extensions/iap/processors/base_iap.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,7 @@ def parse_ios_response(self, response, product_id):
"""
purchases = response['receipt'].get('in_app', [])
for purchase in purchases:
if purchase['product_id'] == product_id and \
response['receipt']['original_purchase_date_ms'] == purchase['original_purchase_date_ms']:
if purchase['product_id'] == product_id:

response['receipt']['in_app'] = [purchase]
break
Expand Down
Loading