Closed rvdsteege closed 9 months ago
In https://github.com/pronamic/wp-pronamic-pay-adyen/issues/22 a customer also needed the support of merge tags {gf_form_id}
and {gf_entry_id}
. If we introduce the ability to register merge tags we could include it in https://github.com/pronamic/wp-pronamic-pay-gravityforms.
Ziekenhuis Nij Smellinghe heeft ook de wens om een andere merge tag te gebruiken (Product titel). Het gaat in dit geval om Mollie i.c.m. WooCommerce.
Ondersteuning voor merge tag {payment_lines_name}
is toegevoegd via https://github.com/pronamic/wp-pay-core/pull/149. Zojuist ook nog even getest en dit werkt goed:
De nieuwe merge tag functionaliteit geeft ruimte voor meer merge tags, maar voor nu hebben we daar niet hele concrete wensen in.
From customer:
We have a few tags available (and mentioned) for use in the WooCommerce payment method description setting:
{order_number}
,{order_date}
,{blogname}
.Specifically for Mollie, there's also a filter
pronamic_pay_mollie_payment_description
:Custom tag replacements can also be added by hooking into the
pronamic_pay_pre_create_payment
action:I've created a Gist for customer and item names tags, using this action:
However, we could also add some kind of merge tag controller which allows for payment data being used through tags in the payment description in all supported plugin integrations. For example:
{site_title}
{user:name}
{customer:name}
{customer:first_name}
{items}
payment lines namesInternal Help Scout ticket: https://secure.helpscout.net/conversation/2239610520/25619