Skip to content

Add ISPAY_POS_APM, missing payment methods and ISPAY pos apm provider - #60

Open
reywyn wants to merge 3 commits into
masterfrom
CG-5490
Open

reywyn wants to merge 3 commits into
masterfrom
CG-5490

Conversation

@reywyn

@reywyn reywyn commented Nov 19, 2026

Copy link
Copy Markdown
Member

Summary

The common payment page now has a separate Pay by Card with İşPay tab. Merchants enable it with ISPAY_POS_APM in enabledPaymentMethods. The pos apm payment API already accepts ISPAY as posApmPaymentProvider; the client did not offer it.

 PaymentMethod
   ISPAY
+  ISPAY_POS_APM = "ISPAY_POS_APM"

 PosApmPaymentProvider
   GARANTI_PAY
+  ISPAY = "ISPAY"

PaymentMethod here also lacked values the API and the Java, .NET and Go clients already have. They are added too:

 PaymentMethod
   PAYCELL_DCB
+  HEPSIPAY
+  GARANTI_PAY
+  JUZDAN
+  YKB_WORLD_PAY
+  YKB_WORLD_PAY_SHOPPING_LOAN
+  METROPOL
+  ISPAY
+  PAYMOB
+  VODAFONE_DCB
+  KASPI
+  PAYLANDS_MB_WAY
+  ZIP
+  KARACA_FINANS
+  IWALLET
+  PAPEL
+  BKM_EXPRESS

KARACA_FINANS is the API's current name for the former DKB.

Evidence

  • Before: PaymentMethod.ISPAY_POS_APM and PosApmPaymentProvider.ISPAY do not exist; client code using them does not compile.
    After: python -c "ast.parse(...)" (both files): ok.

Merge Danger

Door: two-way

Enum values are only added; nothing is renamed or removed.

Blast Radius: additive

Existing client code keeps working. The new values need the API to support them, which it does for ISPAY as a pos apm provider; ISPAY_POS_APM ships with the common payment page release.

The common payment page offers card payments through İşPay as a separate tab, enabled with ISPAY_POS_APM in enabledPaymentMethods.
Brings PaymentMethod in line with the other clients and the API: HEPSIPAY, GARANTI_PAY, JUZDAN, YKB_WORLD_PAY, YKB_WORLD_PAY_SHOPPING_LOAN, METROPOL, ISPAY, PAYMOB, VODAFONE_DCB, KASPI, PAYLANDS_MB_WAY, ZIP, KARACA_FINANS, IWALLET, PAPEL, BKM_EXPRESS.
The pos apm payment API already accepts ISPAY as posApmPaymentProvider; the client enum now offers it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant