Page MenuHomePhabricator

paypal audit line error with no subscr_id
Closed, ResolvedPublic

Description

Traceback (most recent call last):

File "/srv/tools/audit/paypal/ppreport.py", line 42, in read
  callback(record)
File "/srv/tools/audit/paypal/TrrFile.py", line 225, in parse_line
  raise Exception('Missing field subscr_id')

Exception: Missing field subscr_id

While processing:

  • Invoice ID: '' PayPal Reference ID: '' Transaction ID: 4VW49771TD8715532 file: TRR-20231107.01.008.CSV row: 25992

Event Timeline

Oh, these again. We used to get them all the time and have to ask for new files. There would be dozens / hundreds of blank subscr_ids per file sometimes.

This particular one seems to be for a recurring subscription that was cancelled just 20 minutes after it was created (for cid 57412983). Perhaps that's what screwed up the audit file?

One solution would be to just add the subscription ID I looked up in the paypal console: I-HD1K1EUCCHVF and directly drop a message in the queue.

greg triaged this task as Medium priority.Nov 21 2023, 11:33 PM

added back the subscr_id, and requeue works well

XenoRyet set Final Story Points to 1.