Gravity Form customization

Closed Posted 5 years ago Paid on delivery
Closed Paid on delivery

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.

Thanks

CSS HTML JavaScript PHP WordPress

Project ID: #17543301

About the project

6 proposals Remote project Active 5 years ago

6 freelancers are bidding on average $22 for this job

rapidwebhub

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)
4.7
agape801

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)
1.1