8000 Tags · shetabit/multipay · GitHub
[go: up one dir, main page]

Skip to content

Tags

Tags

v3.6.0

Toggle v3.6.0's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
fix(fanavacard): refuse callbacks without the amount of the invoice (#…

…370)

* fix(fanavacard): refuse callbacks without the amount of the invoice

When transactionAmount of the request was missing or differed from the amount of the invoice, verify() skipped the gateway and still returned a receipt, so a forged callback (or a verification without one) passed as a payment. It throws InvalidPaymentException now.

* fix(fanavacard): send Token and RefNum at the top level of the reverse request

The reverse request nested the token and the reference number under a numeric
key beside WSContext, so the gateway never read them. They are merged in, as
the verification request does, and the test checks the body it sends.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Mahdi Khanzadi <khanzadimahdi@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

v3.5.0

Toggle v3.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fail cleanly on Novinopay answers without data (#377)

The gateway can answer with status 100 and no data during an incident. The
purchase then went on with a PHP warning and a null transaction id, and the
verification ended in a TypeError while building the receipt. Both now throw
the exception the caller expects instead: a PurchaseFailedException when the
authority or the payment url is missing, and an InvalidPaymentException when
the reference number is.

v3.4.0

Toggle v3.4.0's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
fix(zibal): use verification failure exceptions (#366)

Co-authored-by: mahdikhanzadi <6291970+khanzadimahdi@users.noreply.github.com>

v3.3.0

Toggle v3.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add Bajet (JETPAY) credit payment driver (#363)

* Add Bajet JETPAY credit payment driver

* Default Bajet API amounts to rial based on provider checkout

v3.2.0

Toggle v3.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add Referer header to Zibal requests (#362)

* Add Referer header to Zibal requests

According to Zibal's latest update, we need to add the `Referer` header to Zibal requests by September 11 (20 Shahrivar).
https://zib.al/UWHS3PC

* fix(zibal): make referer header configurable

* fix: failing tests

v3.1.1

Toggle v3.1.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[feat] add DoubleQuoteUsage to PhpCsFixer Rule (#361)

* [feat] add DoubleQuoteUsage to PhpCsFixer Rule

* [stlye] run fix-style with new rule

* [fix] ignore rule DoubleQuoteUsage.ContainsVar

v3.1.0

Toggle v3.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add `IranCurrency` enum for handling currency conversion (#349)

* [feat] define Currency Constants

* [chore] use Currency Constant on config file, and define method normalizeByCurrency

* [chore] use method normalizeByCurrency on drivers

* [chore] rename const

* [test] add test for curency

* [fix] fix passed type on sepehr driver

* [feat] add trait for IranCurrency and use it on drivers need it

* [fix] fix passed type on sepehr driver

* [feat] add IranCurrency to enum class

* [chore] update usage of the currency in drivers

v3.0.4

Toggle v3.0.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix transaction ID handling in `SnappPay` gateway (#348)

* [fix] Change SnappPay TransactionId to crc32 from uuid

* [chore] update generate transactionId for snappPay

* [fix] fix crc32 argument type

v3.0.3

Toggle v3.0.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Refactor error handling of Pasargad Driver (#337)

v3.0.2

Toggle v3.0.2's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
Fixed unhandled exception in zarinpal in some rare cases (#358)

* Chore: introduce CI

* Fixed Null safety issue in some rare cases

* Fixed Null safety issue in some rare cases

* Resolved Issue related to phpstan

---------

Co-authored-by: Mahdi Khanzadi <khanzadimahdi@gmail.com>
0