Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds stripe checkout as a new apm #45

Merged
merged 1 commit into from
Aug 29, 2023
Merged
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
28 changes: 20 additions & 8 deletions adapter/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,20 +66,31 @@ const (
ApmTypePAYPAL ApmType = "PAYPAL"
ApmTypeKLARNA ApmType = "KLARNA"
ApmTypeAFTERPAY ApmType = "AFTERPAY"
ApmTypeSTRIPE ApmType = "STRIPE"
ApmTypeFUND_TRANSFER ApmType = "FUND_TRANSFER"
ApmTypeCASH_ON_DELIVERY ApmType = "CASH_ON_DELIVERY"
)

// payment provider declaration
const (
BANK PaymentProvider = "BANK"
CG_WALLET PaymentProvider = "CG_WALLET"
MASTERPASS PaymentProvider = "MASTERPASS"
GARANTI_PAY PaymentProvider = "GARANTI_PAY"
PAPARA PaymentProvider = "PAPARA"
PAYONEER PaymentProvider = "PAYONEER"
SODEXO PaymentProvider = "SODEXO"
EDENRED PaymentProvider = "EDENRED"
BANK PaymentProvider = "BANK"
CG_WALLET PaymentProvider = "CG_WALLET"
MASTERPASS PaymentProvider = "MASTERPASS"
GARANTI_PAY PaymentProvider = "GARANTI_PAY"
YKB_WORLD_PAY PaymentProvider = "YKB_WORLD_PAY"
PAPARA PaymentProvider = "PAPARA"
PAYONEER PaymentProvider = "PAYONEER"
SODEXO PaymentProvider = "SODEXO"
EDENRED PaymentProvider = "EDENRED"
ALIPAY PaymentProvider = "ALIPAY"
PAYPAL PaymentProvider = "PAYPAL"
KLARNA PaymentProvider = "KLARNA"
AFTERPAY PaymentProvider = "AFTERPAY"
APPLEPAY PaymentProvider = "APPLEPAY"
GOOGLEPAY PaymentProvider = "GOOGLEPAY"
HEPSIPAY PaymentProvider = "HEPSIPAY"
STRIPE PaymentProvider = "STRIPE"
OFFLINE PaymentProvider = "OFFLINE"
)

// payment status declaration
Expand Down Expand Up @@ -138,6 +149,7 @@ const (
PaymentMethod_PAYPAL PaymentMethod = "PAYPAL"
PaymentMethod_KLARNA PaymentMethod = "KLARNA"
PaymentMethod_AFTERPAY PaymentMethod = "AFTERPAY"
PaymentMethod_STRIPE PaymentMethod = "STRIPE"
)

// card type declaration
Expand Down
Loading