Title: Custom description; help needed
Last modified: February 9, 2019

---

# Custom description; help needed

 *  Resolved [emvlee](https://wordpress.org/support/users/emvlee/)
 * (@emvlee)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/custom-description-help-needed/)
 * Hi David,
 * I’m struggeling to get the complete metadata out of $items. I was hoping to get
   the custom field ‘factuurnummer’ in with the info you layed out here: [https://www.paytium.nl/handleiding/veelgestelde-vragen/#omschrijvingen-van-betalingen-aanpassen](https://www.paytium.nl/handleiding/veelgestelde-vragen/#omschrijvingen-van-betalingen-aanpassen)
 * However; the only info parsed to $items is array(6) { [“item-1-amount”]=> float(
   60) [“item-1-label”]=> string(7) “Bedrag:” [“item-1-type”]=> string(4) “open”[“
   item-1-tax-percentage”]=> int(0) [“item-1-tax-amount”]=> float(0) [“item-1-total-
   amount”]=> float(60) }
    This comes down to everything in “paytium_amount”. Any
   way I can retrieve info from a paytium_field?
 * Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcustom-description-help-needed%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [davdebcom](https://wordpress.org/support/users/davdebcom/)
 * (@davdebcom)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/custom-description-help-needed/#post-11189250)
 * Hi Emvlee
 * I might be sending the wrong meta, corrected that in this version, can you try
   that?
 * [https://take.ms/fDnsd](https://take.ms/fDnsd)
 * Al je bestaande gegevens blijven sowieso bewaard.
    Om deze versie te installeren
   moet je de bestaande plugin de-activeren, verwijderen, dan nieuwe installeren
   en activeren. Maak eerst een backup!
 * Verwijder je browser cache om er zeker van te zijn dat je de nieuwe code laadt:
   
   [http://www.wikihow.com/Clear-Your-Browser%27s-Cache](http://www.wikihow.com/Clear-Your-Browser%27s-Cache)
 * Kind regards
    David
 *  Thread Starter [emvlee](https://wordpress.org/support/users/emvlee/)
 * (@emvlee)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/custom-description-help-needed/#post-11193378)
 * Excellent! That works. Now I can call like:
 *     ```
       function paytium_custom_payment_description( $payment_description, $payment, $items) {
       	$new_description = "Factuurnummer: " . $items["pt-field-text-2"];	return $new_description;
       	}
       	add_filter( "paytium_payment_description", "paytium_custom_payment_description", 10, 3 );
       ```
   
 * The only trouble is the beta version has too many problems to actually use. The
   svg file for the wordpress plugin is just huge, covering the whole bottom of 
   my wp-admin page. The other issue I have is with the ‘bedrag’ input field. When
   the user has to specify it, the first number is not visible (public.css:108)
 * Would you be able to implement your fix in a more stable version? Many many regards!!
 *  Plugin Contributor [davdebcom](https://wordpress.org/support/users/davdebcom/)
 * (@davdebcom)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/custom-description-help-needed/#post-11209265)
 * Hi Emvlee
 * Did you refresh cache, there should be a CSS line that changes the SVG size.
 * This version is going out next week, so I’d rather fix it in 3.x.
 * did you already change the CSS, and to what?
 * Kind regards
    David
 *  Plugin Contributor [davdebcom](https://wordpress.org/support/users/davdebcom/)
 * (@davdebcom)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/custom-description-help-needed/#post-11222687)
 * Hi [@emvlee](https://wordpress.org/support/users/emvlee/)
 * Curious to know what your status is, feel free to update me.
 * Kind regards
    David
 *  Thread Starter [emvlee](https://wordpress.org/support/users/emvlee/)
 * (@emvlee)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/custom-description-help-needed/#post-11236124)
 * Hi David,
 * I was a bit busy failing in multitasking. But I did make some CSS changes (can’t
   remember which) to correct the EURO sign. I used a totally different browser,
   so no cache available :).
 * We’re now live, and most runs smoothly. I found the new discription does not 
   show in the WP-Admin side, just to the mollie api. I might have forgotten something?
 * Kind regards!
 *  Plugin Contributor [davdebcom](https://wordpress.org/support/users/davdebcom/)
 * (@davdebcom)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/custom-description-help-needed/#post-11287993)
 * Hi [@emvlee](https://wordpress.org/support/users/emvlee/)
 * I’m not sure what you mean, do you have a screenshot?
 * Kind regards
    David

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

The topic ‘Custom description; help needed’ is closed to new replies.

 * ![](https://ps.w.org/paytium/assets/icon-256x256.png?rev=1967172)
 * [Paytium: Mollie payment forms & donations](https://wordpress.org/plugins/paytium/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/paytium/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/paytium/)
 * [Active Topics](https://wordpress.org/support/plugin/paytium/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/paytium/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/paytium/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [davdebcom](https://wordpress.org/support/users/davdebcom/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/custom-description-help-needed/#post-11287993)
 * Status: resolved