php - add hidden input field to woocommerce checkout to pass data to payment gateway -


i have store running woocommerce , client needs pass variable payment gateway (worldpay) included in payment confirmation email sent form gateway client.

worldpay need add form:

<input type="hidden" value="myvalue" name="m_myname" /> 

after lot of research figured out how create array of skus each product in cart. have created function grab each product sku , add array. outputs array replace "myvalue" in above.

my question need put < input >? have added woocommerce > checkout > review-order.php, doesn't seem work. shows in front-end doesn't passed worldpay.

or need add existing action? found this seems talking similar issue – but then, need inject output of action, in template?

thanks advice.


Comments

Popular posts from this blog

xslt - Substring before throwing error -

Google Cloud Bigtable Durability/Availability Guarantees -

Android M doze mode and "native" posix socket freezing up -