Hi Emvlee
I might be sending the wrong meta, corrected that in this version, can you try that?
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
Kind regards
David
Thread Starter
emvlee
(@emvlee)
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!!
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
Hi @emvlee
Curious to know what your status is, feel free to update me.
Kind regards
David
Thread Starter
emvlee
(@emvlee)
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!
Hi @emvlee
I’m not sure what you mean, do you have a screenshot?
Kind regards
David