paydate_err implmentation and tests created

TODO: Error currently using Autotools to compile the project due to a
linker error with payment_err.la. Looking into the issue.