Viincenttt / MollieApi

This project allows you to easily add the Mollie payment provider to your application.
MIT License
147 stars 85 forks source link

Validate required URL parameters #295

Closed Viincenttt closed 1 year ago

Viincenttt commented 1 year ago

Some API methods have required parameters. For example, the GetPaymentAsync method on the PaymentClient should always have a paymentId that is not null or empty.

We need to add validation for these required parameters, so consumers of the library can't accidentally call these methods with null or empty values unintentionally.

Viincenttt commented 1 year ago

This is now live in 2.2.0.4