Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

3.12.0

Compare
Choose a tag to compare
@IngenicoEPayments IngenicoEPayments released this 03 Mar 08:44
· 34 commits to master since this release
  • Added:
    • Added property requiresApproval to request types NonSepaDirectDebitPaymentMethodSpecificInput and SepaDirectDebitPaymentMethodSpecificInput.
  • Fixed:
    • headers.isBinaryContent now returns a proper boolean if the given content type is falsy.
    • webhooks.unmarshal uses a local variable instead of global variable event.
    • webhooks.inMemorySecretKeyStore.getSecretKey uses a local variable instead of global variable secretKey.
    • webhooks.validate no longer passes a second argument with value null to the callback if the secret key lookup fails.
    • When leaving out required fields while uploading files, proper errors are passed to the callback instead of objects with a single message property.
    • If a JSON parse error occurs, a proper error is passed to the callback instead of an object with properties message, status and body. The error will have the additional status and body properties.