Skip to content

Added optional reason parameter for refunds

Compare
Choose a tag to compare
@mschindler83 mschindler83 released this 22 Mar 08:59
· 32 commits to master since this release

It is now possible to send an optional reason for refunds.
Allowed values for "Refund::setReason" are:

  • requested_by_customer (Refund:: REASON_KEY_REQUESTED_BY_CUSTOMER)
  • duplicate (Refund:: REASON_KEY_DUPLICATE)
  • fraudulent (Refund:: REASON_KEY_FRAUDULENT)