This filter lets you customise all myCRED messages that the Transfer Add-on displays, depending on the outcome of a transfer.
- Class: myCRED_Transfer_Creds Method: front_footer()
- messages (array)
Associative array of all possible system messages for Points Transfers. Message keys and values:
Default message: “Transaction completed.”
Trigger: Message for successful transfers.
Default message: “Security token could not be verified. Please contact your site administrator!”
Trigger: Nonce could not be verified. Either the nonce key was lost when the request was made or this is an illicit transfer attempt.
Default message: “Communications error. Please try again later.”
Trigger: Communication error. Parts of required form fields are missing and the transfer can not be executed.
Default message: “Recipient not found. Please try again.”
Trigger: The transfer recipient could not be found. Either deleted or the username is incorrect.
Default message: “Transaction declined by recipient.”
Trigger: The transfer recipient is set to be “Excluded” from using myCRED hence they can not receive points.
Default message: “Incorrect amount. Please try again.”
Trigger: The transfer amount seems to be zero. You can not transfer zero points.
Default message: “This myCRED Add-on has not yet been setup! No transfers are allowed until this has been done!”
Trigger: The Transfer Add-on has not been setup yet. Settings that are required to process transactions are missing.
Default message: “Insufficient funds. Please enter a lower amount.”
Trigger: The senders balance is to low to transfer the requested amount.
Default message: “Transfer Limit exceeded.”
Trigger: The user has reaches their transfer limit or will exceed their limit with the requested amount.