typescript-pos 0.1.1 → 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,15 @@
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
+
3
13
  ## 0.1.1
4
14
 
5
15
  ### Patch Changes
package/README.md CHANGED
@@ -15,6 +15,7 @@ ESM and CommonJS, two runtime dependencies (`fast-xml-parser`, `iconv-lite`).
15
15
  | -------------- | --------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
16
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
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