Thread Starter
Alex
(@alexandronalin)
Just an additional information: I’m talking about a personal paypal account
Hi @alexandronalin
There’s currently no option to do this.
However, I had very similar question today and I’ve already asked our developers if they’d be able to update solution so please stay tuned – we’ll update you here once we got it from our developers.
Best regards,
Adam
Hello @alexandronalin ,
We have worked on your request and found a solution. Please add a must-use plugin to your site’s wp-content/mu-plugins folder like this https://wpmudev.com/docs/using-wordpress/installing-wordpress-plugins/#installing-mu-plugins, then add the following code to the plugin’s php file:
<?php
add_filter( 'forminator_paypal_create_order_request', 'wpmudev_add_description_paypal', 10, 2 );
function wpmudev_add_description_paypal( $request, $data ) {
$form_id = $data['form_id'];
$request['purchase_units'][0]['description'] = "Payment for form ID " . $form_id;
return $request;
}
Note: To make the description dynamic we are using the form ID.
We recommend testing this on the dev/staging version first before putting it on the live site.
Hope it will solve your problem.
kind regards,
Kasia
Hello @alexandronalin ,
We haven’t heard from you for some time now, so it looks like you don’t have more questions for us.
Feel free to re-open this ticket if needed.
Kind regards
Kasia