mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
HACK: fix Stripe webhook errors with tokens including dash
This commit is contained in:
committed by
Neil Williams
parent
88ba0f3bf0
commit
915ab3efbc
@@ -992,7 +992,7 @@ class StripeController(GoldPaymentController):
|
||||
return status, webhook
|
||||
else:
|
||||
try:
|
||||
passthrough, buyer_name = description.split('-', 1)
|
||||
passthrough = description[:20]
|
||||
except (AttributeError, ValueError):
|
||||
g.log.error('stripe_error on charge: %s', charge)
|
||||
raise
|
||||
|
||||
Reference in New Issue
Block a user