{"_id":"@bizup-pay/cardcom","_rev":"2-a8805aa7b6aed9e63f2b5c3cfb4fed95","name":"@bizup-pay/cardcom","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@bizup-pay/cardcom","version":"0.1.0","keywords":["payments","israel","cardcom","credit-card","bizup-pay"],"author":{"name":"BizUp.dev"},"license":"MIT","_id":"@bizup-pay/cardcom@0.1.0","maintainers":[{"name":"bizup","email":"cto@bizup.dev"}],"homepage":"https://pay.bizup.dev","bugs":{"url":"https://github.com/bizup-dev/bizup-pay/issues"},"dist":{"shasum":"8746a2cdd563926e7026ead9196e3c9a60df2c5c","tarball":"https://registry.npmjs.org/@bizup-pay/cardcom/-/cardcom-0.1.0.tgz","fileCount":17,"integrity":"sha512-pox53LRsmaCbxIf7fiHvwH3qsVjLhfkGlFz/k6rGUTksQ9JFdXQA/FbjfLXzXgZb1003kkGvHvUgYp1+bxVKNg==","signatures":[{"sig":"MEYCIQCwG/35CFhoVzmShUR2EXalOPaujylNoMJ2EE20zXipqwIhAJ67Zzmi3I1KwfDco4ebTeoL6xfIl9lqSg15FNys0kKz","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":33385},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=20"},"gitHead":"43387d94b469c52078110f1f235f51b05e51465e","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"bizup","email":"cto@bizup.dev"},"repository":{"url":"git+https://github.com/bizup-dev/bizup-pay.git","type":"git","directory":"packages/cardcom"},"_npmVersion":"11.6.2","description":"Cardcom adapter for BizUp Pay","directories":{},"_nodeVersion":"25.2.1","dependencies":{"@bizup-pay/core":"0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cardcom_0.1.0_1774174381829_0.8567267020801985","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@bizup-pay/cardcom","version":"0.1.1","description":"Cardcom adapter for BizUp Pay","author":{"name":"BizUp.dev"},"license":"MIT","homepage":"https://pay.bizup.dev","repository":{"type":"git","url":"git+https://github.com/bizup-dev/bizup-pay.git","directory":"packages/cardcom"},"bugs":{"url":"https://github.com/bizup-dev/bizup-pay/issues"},"keywords":["payments","israel","cardcom","credit-card","bizup-pay"],"main":"./dist/index.js","types":"./dist/index.d.ts","publishConfig":{"access":"public"},"engines":{"node":">=20"},"scripts":{"build":"tsc","test":"vitest run"},"dependencies":{"@bizup-pay/core":"0.1.1"},"gitHead":"25b25a715e969f1ba3b483f866d8cdbb82908579","_id":"@bizup-pay/cardcom@0.1.1","_nodeVersion":"25.2.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-c0pBCL6HOcIWVdqeSaYKyIQxZBP5je8PllUnS+D8xouCMuMwysWjG1Q9JEn4MPbUEyU5FYouq9kISqMYy2Pe3A==","shasum":"bb9489ccb506276cd47ff48cd79eab302157e413","tarball":"https://registry.npmjs.org/@bizup-pay/cardcom/-/cardcom-0.1.1.tgz","fileCount":18,"unpackedSize":35755,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDMP1FwiPO6mFyKMfUzMDV4C7x7qvdyvcyH3MpRN/FNGAiEA2uQ6qpeSXDBWkNHcAJhIozBKuBysw6ZMtC0FnWrv31s="}]},"_npmUser":{"name":"bizup","email":"cto@bizup.dev"},"directories":{},"maintainers":[{"name":"bizup","email":"cto@bizup.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cardcom_0.1.1_1774349958026_0.1749164093542115"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-22T10:13:01.754Z","modified":"2026-03-24T10:59:18.387Z","0.1.0":"2026-03-22T10:13:01.981Z","0.1.1":"2026-03-24T10:59:18.262Z"},"bugs":{"url":"https://github.com/bizup-dev/bizup-pay/issues"},"author":{"name":"BizUp.dev"},"license":"MIT","homepage":"https://pay.bizup.dev","keywords":["payments","israel","cardcom","credit-card","bizup-pay"],"repository":{"type":"git","url":"git+https://github.com/bizup-dev/bizup-pay.git","directory":"packages/cardcom"},"description":"Cardcom adapter for BizUp Pay","maintainers":[{"name":"bizup","email":"cto@bizup.dev"}],"readme":"# @bizup-pay/cardcom\n\nCardcom adapter for [BizUp Pay](https://pay.bizup.dev) — one SDK for every Israeli payment provider.\n\n> Write payment code once. Swap providers by changing one line of config. TypeScript-first, framework-agnostic, production-ready.\n\n## What This Package Does\n\n`@bizup-pay/cardcom` connects BizUp Pay to the [Cardcom](https://www.cardcom.co.il) payment gateway. It implements the unified `BizupProvider` interface, translating BizUp Pay calls into Cardcom's LowProfile API.\n\n## How It Fits Together\n\nA typical BizUp Pay integration uses three packages:\n\n| Package | Role |\n|---------|------|\n| **`@bizup-pay/core`** | Shared types, provider interface, factory |\n| **`@bizup-pay/client`** | Browser SDK — mounts payment pages via iframe, modal, or redirect |\n| **`@bizup-pay/cardcom`** | Cardcom gateway adapter (this package) |\n\nWant to switch to a different provider later? Swap this package for `@bizup-pay/morning`, `@bizup-pay/icount`, or `@bizup-pay/grow` — your application code stays the same.\n\n## Install\n\n```bash\nnpm install @bizup-pay/core @bizup-pay/cardcom\n```\n\n## Quick Start\n\n```typescript\nimport { createProvider } from '@bizup-pay/core'\nimport '@bizup-pay/cardcom'\n\nconst provider = createProvider('cardcom', {\n  terminalNumber: process.env.CARDCOM_TERMINAL,\n  apiName: process.env.CARDCOM_API_NAME,\n})\n\nconst session = await provider.createSession({\n  amount: 100,\n  description: 'Order #123',\n  successUrl: 'https://example.com/success',\n  webhookUrl: 'https://example.com/webhook',\n})\n```\n\n## Configuration\n\n| Option | Description |\n|--------|-------------|\n| `terminalNumber` | Your Cardcom terminal number |\n| `apiName` | API name for authentication |\n| `apiPassword` | API password (optional, depends on terminal config) |\n\n## Supported Operations\n\n- `createSession()` — Create a payment page via Cardcom's LowProfile API\n- `getTransaction()` — Retrieve transaction details by ID\n- `refund()` — Refund a transaction\n- `parseWebhook()` — Parse and validate Cardcom webhook payloads\n\n## Documentation\n\nFull documentation, setup guides, and examples: **[pay.bizup.dev](https://pay.bizup.dev)**\n\n## Links\n\n- [Documentation](https://pay.bizup.dev)\n- [GitHub](https://github.com/bizup-dev/bizup-pay)\n- [Issues](https://github.com/bizup-dev/bizup-pay/issues)\n\n## License\n\nMIT\n","readmeFilename":"README.md"}