Skip to content

Commit

Permalink
fixed conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Iulian Masar committed Sep 18, 2023
1 parent b2744af commit a1a6fc4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions mangopay/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,10 +475,11 @@ def cast(cls, result):
("PREAUTHORIZED", "DIRECT"): PreAuthorizedPayIn,
("BANK_WIRE", "DIRECT"): BankWirePayIn,
("BANK_WIRE", "EXTERNAL_INSTRUCTION"): BankWirePayInExternalInstruction,
("APPLEPAY", "WEB"): ApplepayPayIn,
("APPLEPAY", "DIRECT"): ApplepayPayIn,
("GOOGLEPAY", "DIRECT"): GooglepayPayIn,
("GOOGLE_PAY", "DIRECT"): GooglePayDirectPayIn,
("MBWAY", "WEB"): MbwayPayIn
("MBWAY", "WEB"): MbwayPayIn,
("PAYPAL", "WEB"): PayPalWebPayIn
}

return types.get((payment_type, execution_type), cls)
Expand Down
3 changes: 2 additions & 1 deletion tests/test_payins.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@

from mangopay.resources import DirectDebitDirectPayIn, Mandate, ApplepayPayIn, GooglepayPayIn, \
RecurringPayInRegistration, \
RecurringPayInCIT, PayInRefund, RecurringPayInMIT, CardPreAuthorizedDepositPayIn, MbwayPayIn, PayPalWebPayIn
RecurringPayInCIT, PayInRefund, RecurringPayInMIT, CardPreAuthorizedDepositPayIn, MbwayPayIn, PayPalWebPayIn, \
GooglePayDirectPayIn
from mangopay.utils import (Money, ShippingAddress, Shipping, Billing, Address, SecurityInfo, ApplepayPaymentData,
GooglepayPaymentData, DebitedBankAccount, BrowserInfo, LineItem)

Expand Down

0 comments on commit a1a6fc4

Please sign in to comment.