New features:
- Added support for the following properties in the PointOfSalePaymentResponseDetails:
CardNumber
, CardFingerprint
, CardAudience
, CardLabel
and CardCountryCode
. These properties are only available if the payment has been completed.
- Added support for the optional
landing_page
parameter when retrieving a authorization url from the ConnectClient
. The optional landing_page parameter allows you to specify if Mollie should show the login or the signup page, when the merchant is not logged in at Mollie.
- Added support for the
RegistrationNumber
, VatNumber
and VatRegulation
properties in the OnboardingOrganizationRequest
class, so it is now possible to specify these properties when onboarding a new organization.
- Added support for the
RedirectUrl
, CancelUrl
and WebhookUrl
properties in the OrderUpdateRequest
class, so it is now possible to specify these properties when updating a order.
- Added support for setting your own custom idempotency key when sending requests to Mollie. This is supported for all API clients and methods. Example usage:
PaymentRequest paymentRequest = new PaymentRequest() {
Amount = new Amount(Currency.EUR, "100.00"),
Description = "Description",
RedirectUrl = DefaultRedirectUrl
};
using (_paymentClient.WithIdempotencyKey("my-idempotency-key"))
{
PaymentResponse response = await _paymentClient.CreatePaymentAsync(paymentRequest);
}
Technical changes:
- Downgraded Microsoft packages from version 7 to version 6, because some users reported issues when deploying to .NET6 Azure Functions hosts.
- Marked all JSON converters and factory classes that should only be used internally within the Mollie.Api package as
internal
instead of public
.