Skip to content

Commit fa5c0dd

Browse files
authored
Merge pull request #29 from Borisw123/dev.borisw.fedapay
Dev.borisw.fedapay
2 parents 74d1be3 + 6adbec9 commit fa5c0dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

easyswitch/integrators/fedapay/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ def format_transaction(self, transaction: TransactionDetail) -> Dict[str, Any]:
400400
"currency": {'iso': transaction.currency},
401401
"description": transaction.reason,
402402
"callback_url": transaction.callback_url or self.config.callback_url,
403-
"metadata": transaction.metadata,
403+
"custom_metadata": transaction.metadata,
404404
"customer": {
405405
"id": transaction.customer.id,
406406
"email": transaction.customer.email,

easyswitch/utils/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

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

2828
import phonenumbers
2929

0 commit comments

Comments
 (0)