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 paycell as a new apm and provider type #164

Merged
merged 15 commits into from
Mar 21, 2024
Merged
2 changes: 0 additions & 2 deletions .github/scripts/check-runtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,3 @@ assert(Object.keys(Craftgate.Adapter).length > 0, 'Craftgate.Adapter must not be

assert(!!Craftgate.CraftgateError, 'Craftgate.CraftgateError must not be false');
assert(isConstructor(Craftgate.Client), 'Craftgate.CraftgateError must be a constructor');

assertAsync(testSearch, 'OnboardingAdapter::searchMembers() should access the Craftgate Sandbox API and execute normally');
3 changes: 2 additions & 1 deletion src/model/ApmType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ enum ApmType {
FundTransfer = 'FUND_TRANSFER',
CashOnDelivery = 'CASH_ON_DELIVERY',
Maslak = 'MASLAK',
Alfabank = 'ALFABANK',
TomFinance = 'TOM_FINANCE',
Paycell = 'PAYCELL',
Alfabank = 'ALFABANK',
Haso = 'HASO'
}

Expand Down
12 changes: 11 additions & 1 deletion src/model/PaymentProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,17 @@ enum PaymentProvider {
ApplePay = 'APPLEPAY',
GooglePay = 'GOOGLEPAY',
Stripe = 'STRIPE',
Haso = 'HASO'
Alipay = 'ALIPAY',
Paypal = 'PAYPAL',
Klarna = 'KLARNA',
Afterpay = 'AFTERPAY',
Hepsipay = 'HEPSIPAY',
Maslak = 'MASLAK',
TomFinance = 'TOM_FINANCE',
Alfabank = 'ALFABANK',
Paycell = 'PAYCELL',
Haso = 'HASO',
Offline = 'OFFLINE'
}

export default PaymentProvider;
Loading