[add]: transaction offer fix

This commit is contained in:
VivianDee
2025-05-10 10:04:06 +01:00
parent 17db2cf8f9
commit dc21f41894
3 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -35,10 +35,10 @@ class SelectOfferService(BaseService):
transaction_offer_id = validated_data.get("offerId")
transaction_id = validated_data.get("transactionId")
request_id = validated_data.get("requestId")
offer_id = int(transaction_offer_id[5:]) # The last part is int
#"offerId": "SAL30001129",
if SelectOfferService.validate_account_ownership(
account_id=account_id, customer_id=customer_id