Skip to content

Commit 3439f0c

Browse files
committed
Initial commit
0 parents  commit 3439f0c

97 files changed

Lines changed: 7836 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/vendor/
2+
/.idea/
3+
composer.lock
4+
.phpunit.result.cache

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Changelog
2+
3+
All notable changes to `netipar/simplepay` will be documented in this file.
4+
5+
## v1.0.0 - 2026-03-02
6+
7+
Initial release based on the official SimplePay PHP SDK v2.1.
8+
9+
### Features
10+
- Start payment transactions with redirect to SimplePay
11+
- Two-step payments (authorize + finish)
12+
- Refund transactions (partial and full)
13+
- Query transaction status
14+
- Cancel transactions
15+
- EAM / Qvik payment support
16+
- Apple Pay (start + complete)
17+
- Card storage: OneClick payments with stored cards
18+
- Card storage: Recurring (tokenized) payments
19+
- Card/token query and cancellation
20+
- Auto payment (PCI-DSS compliant direct card payment)
21+
- Request to Pay (RTP): start, batch, query, refund, reverse
22+
- IPN webhook with automatic route registration and signature verification
23+
- Back URL handling with customizable response via `BackUrlResponse` contract
24+
- Event-driven architecture: `PaymentSucceeded`, `PaymentFailed`, `PaymentCancelled`, `PaymentTimedOut`, `PaymentAuthorized`, `PaymentRefunded`, `IpnReceived`
25+
26+
### Architecture
27+
- PHP 8.2+ typed DTOs, enums, constructor promotion
28+
- Laravel HTTP Client with HMAC-SHA384 signature verification
29+
- Multi-currency merchant support (HUF, EUR, USD)
30+
- Full enum support: `Currency`, `PaymentMethod`, `PaymentStatus`, `BackEvent`, `TransactionType`, `ErrorCode` (358+ codes)
31+
- Structured exception handling with `SimplePayApiException`
32+
- Configurable logging, timeout, sandbox mode, 3DS auto-challenge
33+
- 66 tests, 165 assertions

LICENSE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) NETipar
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

0 commit comments

Comments
 (0)