Sina-Soltani/Parbad
A free, open-source, integrated and extensible library which connects your web applications to online payment gateways. Gateways can be added or developed by you.
📋 What's Changed
- #415 fix pasargad enum parse by @Sina-Soltani in https://github.com/Sina-Soltani/Parbad/pull/424
- Full Changelog: https://github.com/Sina-Soltani/Parbad/compare/v3.11.0...v3.11.1
📋 What's Changed
- Added nonce to gateway transporter by @ahmadrezadev in https://github.com/Sina-Soltani/Parbad/pull/411
- Added nonce to virtual gateway by @Sina-Soltani in https://github.com/Sina-Soltani/Parbad/pull/412
- Full Changelog: https://github.com/Sina-Soltani/Parbad/compare/v3.10.2...v3.11.0
📋 What's Changed
- Fix Pasargad Gateway by @ahmadrezadev in https://github.com/Sina-Soltani/Parbad/pull/409
- Feature/cleanup pasargad gateway by @Sina-Soltani in https://github.com/Sina-Soltani/Parbad/pull/410
✨ New Contributors
- @ahmadrezadev made their first contribution in https://github.com/Sina-Soltani/Parbad/pull/409
- Full Changelog: https://github.com/Sina-Soltani/Parbad/compare/v3.10.1...v3.10.2
Fixed Saman Gateway bug
📋 Changes
- Updated Pasargad Gateway #373, #355
- Fixed Saman Gateway bug #397
- Added support for net9.0
- Small breaking-changes: IStorageManager will be removed in the future release. The methods are moved to IStorage.
📋 Changes
- Updated the SDK to net8.0
- ZarinPal bug fixed. #383
- Saman Gateway Nuget is uploaded #397
- Updated the Virtual Gateway design
📋 Changes
- Supporting .net6 and .net7 is added
- IranKish Gateway has now its own [nuget](https://www.nuget.org/packages/Parbad.Gateway.IranKish). The SOAP approach is changed to REST thanks to @mrmashal
- ZarinPal Gateway bug is fixed
- IdPay Gateway now supports extra payment request data
- The Fetch method now gives the Transaction Code in the result object, just like the Verify method.
- Code improvements
📋 Changes
- Method not found
- Recursive PaymentRequestResult.Failed method.
- Asan Pardakht Gateway - Encrypting/Decrypting
- Asan Pardakht Gateway - Updating the Gateway URLs
📋 Changes
- Feature: [FanAva Gateway](https://www.nuget.org/packages/Parbad.Gateway.FanAva/) is added.
- Improvement: Gateway Descriptor can be modified now.
- Mellat Gateway
- Improvement: [More additional data is supported now](https://github.com/Sina-Soltani/Parbad/wiki/Gateways-specific-functions#mellat)
- Fixed: Cumulative accounts bug
- Fixed: Sending the mobile number
- Fixed: Gateway Transportation bug on Linux hosts
- Code Improvement
✨ New and improved features
- Parbad Storage is now separated from the main Parbad project. All Storage packages are now inherited from `Parbad.Storage.Abstractions` project.
- PaymentFetchResultStatus includes the new `Failed` value to detect the failures before verifying a payment.
- `AutoIncrementTrackingNumberOptions` includes the new `Increment` property.
- Mellat Gateway supports the `MobileNumber` [See Tutorial](https://github.com/Sina-Soltani/Parbad/wiki/Gateways-specific-functions#mellat)
- Parsian Gateway supports the `AdditionalData` and `Originator` fields [See Tutorial](https://github.com/Sina-Soltani/Parbad/wiki/Gateways-specific-functions#parsian)
- Code improvement
💥 Breaking changes
- `IConfiguration` is not going to be used anymore in Parbad. We try to reduce the project's dependencies. The following methods are removed:
- ConfigureOptions(IConfiguration configuration)
- ConfigureAutoTrackingNumber(IConfiguration configuration)
- UseGuidQueryStringPaymentTokenProvider(IConfiguration configuration)
- `AutoRandomTrackingNumberOptions.MaximumValue` is removed because it didn't make sense to define a range for generating a Tracking Number.
- `MellatGatewayAccount.IsTestGateway` is removed because Mellat Bank doesn't support it anymore.
- `Invoice.AdditionalData` is renamed to `Properties` because its name was confusing the developers.
✨ New and improved features
- A new `Fetch` method is added to fetch an invoice using a Tracking Number.
- InvoiceBuilder has a new `AddOrUpdateAdditionalData` method.
- Saman Gateway supports the Mobile Gateway and uses the new Token function now.
- Gateway URLs can be configured now.
- Target frameworks .Net Standard 2.1, .NetCoreApp 3.1 and .NET5.0 are added.
- Code improvement.
💥 Breaking changes
- Obsolete methods are removed.
- Invoice Builder:
- All `Use[Gateway]` methods are moved to their correct namespaces.
- Mellat Gateway:
- `UseMellat([CumulativeAccounts])` methods are renamed to `AddMellatCumulativeAccount`.
- Gateway must be also specified by using the `SetGateway("Mellat")` or `UseMellat()` methods.
- [More info](https://github.com/Sina-Soltani/Parbad/wiki/Gateways-specific-functions)
- YekPay Gateway:
- + 7 more
IranKish Gateway bug fixed.
jQuery CDN is removed from the Virtual Gateway html to work without internet.
Fixed the ConfigureOptions(IConfiguration) method bug.
All messages can be configured now. Logging can be enabled or disabled by you.
Reported bugs on ASP.NET WebForms apps are fixed. Ability to use the GatewayTransporter for APIs and Client-Side applications. Code improvement.
Bug Ticket #71 fixed.
Code improvement.
Newtonsoft.Json is upgraded to the vesion 11.0.1. A new Status property is added for each operation. ZarinPal Gateway bug is fixed. Code improvement.
+Mellat Gateway supports massive transactions amounts. +Code improvement.
Parbad Storage is now abstract. You can use the pre-defined implementations of storage such as MemoryCache, DistributedCache and EntityFrameworkCore. Or implement your specific storage.
+Now the gateways can have multiple accounts. +Melli Gateway bugs are fixed. +Code improvement.
📋 Changes
- Mellat Gateway extra functions (Bashgah Mellat) are added.
- Asan Pardakht Gateway is added.
- Database Initializer is added.
Melli (Sadad) Gateway is added. HttpContextBase is added for test purposes. Tejarat Gateway is now obsolete. Use "Iran Kish" Gateway instead. The method RequestResult.Process is now obsolete. Use RedirectToGateway method instead. Code clean up. Code duplication is reduced.
The Melli Gateway is added.
