Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
188 B
1
Indexable
Never
    def stripe_account_id(self, obj):
        try:
            return PaymentRPC(obj.id).account_info()['stripe_account_id']
        except PaymentServiceError:
            return 'Error'