typescript-pos 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # typescript-pos
2
2
 
3
+ ## 0.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - acab172: Add PayFlexCPV4Pos for the VakıfBank Common Payment hosted page (3D Pay / 3D Host sale and pre-auth, server-side result confirmation, status query).
8
+
9
+ ### Patch Changes
10
+
11
+ - 29503cd: Mask JSON-encoded secrets and ExpireMonth/ExpireYear fields in logs and HTTP error snippets.
12
+
13
+ ## 0.1.1
14
+
15
+ ### Patch Changes
16
+
17
+ - Documentation: the npm page now shows the English README (the Turkish README is renamed to `README-tr.md` and is no longer shipped in the package), and pending live-verification notes are removed from the READMEs and guides. No API or behaviour change.
18
+
3
19
  ## 0.1.0
4
20
 
5
21
  ### Minor Changes
package/README.md CHANGED
@@ -13,8 +13,9 @@ ESM and CommonJS, two runtime dependencies (`fast-xml-parser`, `iconv-lite`).
13
13
 
14
14
  | Gateway | Banks | Verification |
15
15
  | -------------- | --------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
16
- | `AssecoPos` | İş Bankası, Ziraat (Asseco), Akbank (Asseco), Halkbank, TEB, Şekerbank, QNB Finansbank (Asseco) | Unit-tested; the 3D hash is differential-tested against PHP (0 mismatches in 1000 random sets). Not yet run against a live bank environment. |
17
- | `PayFlexV4Pos` | VakıfBank (port 8443), Ziraat (PayFlex) | Unit-tested. VakıfBank public TEST environment, verified live on 2026-11-23: 3D enrollment (Status `Y`), non-3D Sale (`0000`) and Cancel (`0000`). The full browser 3D completion (ACS, callback, provision) and the real callback `PurchAmount` format are **not yet verified live**. |
16
+ | `AssecoPos` | İş Bankası, Ziraat (Asseco), Akbank (Asseco), Halkbank, TEB, Şekerbank, QNB Finansbank (Asseco) | Unit-tested; the 3D hash is differential-tested against PHP (0 mismatches in 1000 random sets). |
17
+ | `PayFlexV4Pos` | VakıfBank (port 8443), Ziraat (PayFlex) | Unit-tested. VakıfBank public TEST environment, verified live on 2026-11-23: 3D enrollment (Status `Y`), non-3D Sale (`0000`) and Cancel (`0000`). |
18
+ | `PayFlexCPV4Pos` | VakıfBank (Common Payment hosted page, port 8443) | Unit-tested. |
18
19
 
19
20
  ## Install
20
21
 
@@ -67,6 +68,7 @@ Complete, compile-checked versions with error handling live in [`examples/`](htt
67
68
 
68
69
  - [Asseco 3D Pay Hosting](https://github.com/mkiyak/typescript-pos/blob/main/guides/asseco-3d-payment.md)
69
70
  - [PayFlex V4 3D Secure](https://github.com/mkiyak/typescript-pos/blob/main/guides/payflex-3d-payment.md)
71
+ - [VakıfBank Common Payment (3D Host / 3D Pay)](https://github.com/mkiyak/typescript-pos/blob/main/guides/payflex-cp-payment.md)
70
72
  - [Security and production checklist](https://github.com/mkiyak/typescript-pos/blob/main/guides/security.md)
71
73
 
72
74
  Other operations: `pos.cancel(order)`, `pos.refund(order)` (partial when `order.order_amount` is set and
@@ -165,4 +167,4 @@ with [Changesets](https://github.com/changesets/changesets) (see [CONTRIBUTING.m
165
167
 
166
168
  [MIT](https://github.com/mkiyak/typescript-pos/blob/main/LICENSE)
167
169
 
168
- Türkçe: [README.tr.md](https://github.com/mkiyak/typescript-pos/blob/main/README.tr.md)
170
+ Türkçe: [README-tr.md](https://github.com/mkiyak/typescript-pos/blob/main/README-tr.md)