Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion easyswitch/integrators/fedapay/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ def format_transaction(self, transaction: TransactionDetail) -> Dict[str, Any]:
"currency": {'iso': transaction.currency},
"description": transaction.reason,
"callback_url": transaction.callback_url or self.config.callback_url,
"metadata": transaction.metadata,
"custom_metadata": transaction.metadata,
"customer": {
"id": transaction.customer.id,
"email": transaction.customer.email,
Expand Down
2 changes: 1 addition & 1 deletion easyswitch/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

#### PARSE PHONE NUMBER
def parse_phone(number:str, raise_exception = False):
''' Return A dict of countrycode and national number '''
''' Return A dict of country code, national number and country alpha2 '''

import phonenumbers

Expand Down