Title: Transfer Payment Purpose
Last modified: June 19, 2024

---

# Transfer Payment Purpose

 *  Resolved [psasso](https://wordpress.org/support/users/psasso/)
 * (@psasso)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/transfer-payment-purpose/)
 * Our bookkeeper cannot tell what a payment is for from PayPal.
 * Is there anyway to transfer specific information to PayPal from a form? (i.e.
   annual dues, meeting, donation, sponsorship, etc.?)
 * I assume you can transfer tangible item info: t-shirt, jacket, hat or polo shirt
   and quantities.
 * Our bookkeeper only has access to PayPal.
    -  This topic was modified 1 year, 11 months ago by [psasso](https://wordpress.org/support/users/psasso/).
      Reason: Forgot details

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Support [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * (@wpmudev-support8)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/transfer-payment-purpose/#post-17836367)
 * Hi [@psasso](https://wordpress.org/support/users/psasso/)
 * I hope you’re well today!
 * Currently payment description/additional custom information can only be added
   to Stripe payment field but not PayPal.
 * This is a feature planned to be added in future but I don’t have ETA>
 * As a workaround, you could use a bit of additional custom code. You can find 
   it here:
 * [https://gist.github.com/wpmudev-sls/5aa865cd8cb9f2505a2f258569178ae2](https://gist.github.com/wpmudev-sls/5aa865cd8cb9f2505a2f258569178ae2)
 * To add it to the site:
 * – download ZIP file and extract it to your local drive
    – upload the “forminator-
   paypal-payment-description.php” file from inside that ZIP to the “/wp-content/
   mu-plugins” folder of your site’s WordPRess install – and then edit the file
 * a) in this line of the code
 * `if ( $form_id == 6 ) { //Please change the form ID.`
 * replace number 6 with an ID of your form; form ID is the number you can see in
   form’s shortcode
 * b) in this line
 * `$request['purchase_units'][0]['description'] = "Your description goes here";`
 * you can set your custom description that would be passed over to PayPal.
 * Best regards,
    Adam
 *  Thread Starter [psasso](https://wordpress.org/support/users/psasso/)
 * (@psasso)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/transfer-payment-purpose/#post-17846569)
 * THANK YOU! I will try it. But I do have one question:
 * Can I use this for more than one form?
 * Obviously, if I had only one form, that would be easy.
 *  Plugin Support [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * (@wpmudev-support8)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/transfer-payment-purpose/#post-17848465)
 * Hi [@psasso](https://wordpress.org/support/users/psasso/)
 * The code that I shared is for a single form only. If you want to use it for multiple
   forms and set different descriptions for different forms, it should be slightly
   modified. This version should do the trick:
 *     ```
       <?php 
       if ( ! defined( 'ABSPATH' ) ) {
       	exit; // Exit if accessed directly.
       }
   
       add_filter( 'forminator_paypal_create_order_request', 'wpmudev_add_description_paypal', 10, 2 );
       function wpmudev_add_description_paypal( $request, $data ) {
   
   
       	/* set Form IDs and descriptions below, following example format; 
       	on the left - it's a form ID
       	0n the right - it's purpose description;
       	note that last line doesn't have comma at the end */
   
       	$purposes = array(
       		'6' => "Description for form ID 6",
       		'123' => "Purpose for form ID 123"
       	);
   
   
   
       	$form_id = !empty( $data['form_id'] ) ? $data['form_id'] : '' ;
   
       	if ( array_key_exists( $form_id, $purposes ) ) {
               $request['purchase_units'][0]['description'] = $purposes[$form_id];   
           }
           return $request;
       }
       ```
   
 * Note that this should be used instead of the one I shared previously and it has
   slightly different configuration – you would set form IDs and descriptions all
   in this part
 *     ```
       $purposes = array(
       		'6' => "Description for form ID 6",
       		'123' => "Purpose for form ID 123"
       	);
       ```
   
 * Best regards,
    Adam
 *  Plugin Support [Nithin – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport11/)
 * (@wpmudevsupport11)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/transfer-payment-purpose/#post-17871062)
 * Hi [@psasso](https://wordpress.org/support/users/psasso/),
 * Since we haven’t heard from you for a while. I’ll mark this thread as resolved
   for now. Please feel free to open a new thread if you have new queries.
 * Kind Regards
   Nithin
 *  Thread Starter [psasso](https://wordpress.org/support/users/psasso/)
 * (@psasso)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/transfer-payment-purpose/#post-17883995)
 * Adam helped me pass through a description from Forminator to PayPal in this post:
   
   [https://wordpress.org/support/topic/transfer-payment-purpose/#post-17846569](https://wordpress.org/support/topic/transfer-payment-purpose/#post-17846569)
 * Can you please help me do the same with a Stripe payment?
   Thank you!
 *  Plugin Support [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * (@wpmudev-support8)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/transfer-payment-purpose/#post-17885503)
 * Hi [@psasso](https://wordpress.org/support/users/psasso/)
 * In Stripe you can already set that directly in field.
 * Please edit the Stripe field on your form and look into “Advanced” tab. You’ll
   find “Payment Details (optional)” option there where you can set statement decipher
   and/or payment description (for this one you can also use data from the form 
   field).
 * [https://app.screencast.com/8lA52BUKh2MTp](https://app.screencast.com/8lA52BUKh2MTp)
 * There’s also option to add custom meta data if you need them.
 * Best regards,
    Adam
    -  This reply was modified 1 year, 11 months ago by [Laura - WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/).
      Reason: initially posted nearly empty response by mistake

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Transfer Payment Purpose’ is closed to new replies.

 * ![](https://ps.w.org/forminator/assets/icon-256x256.gif?rev=3443182)
 * [Forminator Forms – Contact Form, Payment Form & Custom Form Builder](https://wordpress.org/plugins/forminator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/forminator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/forminator/)
 * [Active Topics](https://wordpress.org/support/plugin/forminator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/forminator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/forminator/reviews/)

## Tags

 * [paypal](https://wordpress.org/support/topic-tag/paypal/)

 * 6 replies
 * 3 participants
 * Last reply from: [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/transfer-payment-purpose/#post-17885503)
 * Status: resolved