Gravity Form customization

Hello! I used the code from this post [login to view URL]

In order to get the Paypal Transaction ID in the email notification usgin this {txn_id}

I have to save this same ID in a hidden field inside the post, this is the original code:

add_filter('gform_replace_merge_tags', 'replace_transaction_id', 10, 7);

function replace_transaction_id($text, $form, $lead, $url_encode, $esc_html, $nl2br, $format) {

$custom_merge_tag = '{txn_id}';

if(strpos($text, $custom_merge_tag) === false)

return $text;

$transaction_id = $lead["transaction_id"];

$text = str_replace($custom_merge_tag, $transaction_id, $text);

return $text;


I would also need to save payment_status, payment_date and amount.

Budget is 10usd

Will need to test code before releasing fund.


Skills: CSS, HTML, Javascript, PHP, WordPress

See more: gravity forms templates, styler for gravity forms, gravity forms css templates, gravity forms css examples, gravity forms styling plugin, styles & layouts for gravity forms, gravity forms themes, gravity forms css override

About the Employer:
( 36 reviews ) Buenos Aires, Argentina

Project ID: #17543301

6 freelancers are bidding on average $22 for this job

$25 USD in 1 day
(190 Reviews)

Hi There, I am a Professional and Fast Website Programmer/Designer, I have excellent skills to Develop a Modern website for your Business. I have built my skills proficiency using - Shopify, Wordpress, Woocomme More

$25 USD in 1 day
(72 Reviews)

Thank you for posting a Job. I WILL DO THIS AS PER YOUR REQUIREMENT AND EXPECTATIONS. With the experience of over 300+web development projects including ANDROID, IOS, WEBSITES, WEB APPLICATIONS AND SOFTWARE More

$25 USD in 1 day
(6 Reviews)

Hi there, Looking for someone in the state who you can trust ? I can do gravity form for you. I would love to show you my work I have done in the past., as well as long term relationship. Lets chat for a minut More

$15 USD in 1 day
(1 Review)
$25 USD in 1 day
(1 Review)
$18 USD in 1 day
(1 Review)