Hi Albert,
We just released the new version. We created a filter that can be used to modify the mollie description. The filter modifies the default description send to Mollie and you can use it to replace that description with any one of the fields in your form. Here is an example for a form with ID=4 and a description field with ID=3. Obviously, you need to use your own form ID and field ID.
add_filter( 'gf_mollie_description', 'my_custom_description', 10, 3 );
function my_custom_description( $description, $entry, $form ) {
$form_id = 4; // Replace with the id of the form you want to use
$description_field = 3; // Replace with the id of the form field you want to use for the description
/*
* Test against gravityforms form id
*/
if ($form['id'] != $form_id ) {
// Don't alter the description for other forms
return $description;
}
/*
* Get description or use default if the custom description field doesn't exist
*/
$my_description = rgar ( $entry, $description_field, $description );
return $my_description;
}
The form ID is shown if you edit your form and the field id is shown if you edit a field. Please let me know if anything is unclear.
Petra