Procuret .NET 0.0.6 makes the following changes:
- Replaces
Stringsupplier IDs withlongto better align with Procuret API expectations - Adds the
Currencytype, supplied toInstalmentLink.Createto define the default currency for the payment link - Updates to .NET 8
- [No public interface effect] Replaces XML serialisation with JSON
0.0.6 is not backward compatible with earlier Procuret .NET versions. To update to 0.0.6, you will need to...
- Replace any
Stringsupplier ID values withlongequivalents - Add the
denominationparameter to any invocations ofInstalmentLink.Create
Here is an example invocation of InstalmentLink.Create, demonstrating passing a long supplierId and denomination:
var link = await InstalmentLink.Create(
supplierId: 589121125121,
customerEmail: "someone@somewhere.com",
invoiceIdentifier: "INV-001",
invoiceValue: Convert.ToDecimal("422.22"),
communciation: CommunicationOption.NotifyCustomer,
session: session,
denomination: Currency.Aud
)Installation
You can install Procuret .NET 0.0.6 via Nuget.
Support
For help, please write to us at support@procuret.com