Gravity Form customization
$10-30 USD
ชำระเงินเมื่อจัดส่ง
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
หมายเลขโปรเจค: #17543301
เกี่ยวกับโปรเจกต์
freelancer 6 คน กำลังเสนอราคาในงานนี้ โดยมีราคาเฉลี่ยอยู่ที่ $22
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 เพิ่มเติม