Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if billing_details:
- if check_matching_attributes(self.customer, billing_details):
- self.customer.__dict__.update(**billing_details)
- else:
- raise ValueError("The response data don't match customer attributes.")
- elif settings.STACK_ENV == 'PROD':
- raise GatewayClientError(
- detail='Failed to get amazon customer data.'
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement