Skip to content

Commit

Permalink
added card_info property to Apple and Google PayIns
Browse files Browse the repository at this point in the history
Co-authored-by: Iulian Masar <[email protected]>
  • Loading branch information
iulian03 and Iulian Masar authored Feb 25, 2025
1 parent d9cdbda commit 28fcb74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mangopay/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -957,6 +957,7 @@ class ApplepayPayIn(PayIn):
debited_funds = MoneyField(api_name='DebitedFunds', required=True)
fees = MoneyField(api_name='Fees', required=True)
statement_descriptor = CharField(api_name='StatementDescriptor')
card_info = CardInfoField(api_name='CardInfo')

class Meta:
verbose_name = 'applepay_payin'
Expand Down Expand Up @@ -999,6 +1000,7 @@ class GooglePayDirectPayIn(PayIn):
shipping = ShippingField(api_name='Shipping')
billing = BillingField(api_name='Billing')
statement_descriptor = CharField(api_name='StatementDescriptor')
card_info = CardInfoField(api_name='CardInfo')

class Meta:
verbose_name = 'googlepay_direct_payin'
Expand Down

0 comments on commit 28fcb74

Please sign in to comment.