Skip to content

Commit

Permalink
fix: Store android transaction id for android purchases
Browse files Browse the repository at this point in the history
  • Loading branch information
jawad-khan committed Aug 4, 2024
1 parent b1a7f34 commit 2a2f403
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ecommerce/extensions/iap/processors/base_iap.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ def record_processor_response(self, response, transaction_id=None, basket=None,
basket=basket)

meta_data = self._get_metadata(currency_code=currency_code, price=price)
original_transaction_id = original_transaction_id or transaction_id
PaymentProcessorResponseExtension.objects.create(
processor_response=processor_response, original_transaction_id=original_transaction_id,
meta_data=meta_data)
Expand Down

0 comments on commit 2a2f403

Please sign in to comment.