Here is a solution. Finally.
In the file gravity-forms-payment-continue.php go to line 315 and find this function:
public function replace_merge_tags( $text, $form, $entry ) {
// Check that merge tag exists
if ( strpos( $text, $this->merge_tag ) === false ) {
return $text;
}
// Get the payment URL
$url = $this->get_payment_url($form, $entry);
// Replace the merge tag
$text = str_replace( $this->merge_tag, $url, $text );
return $text;
}
The $url outputs a link in the mail, if you put this link in a html it gets right.
Change line 323: $url = $this->get_payment_url($form, $entry);
To this: $url = '<a href="' . $this->get_payment_url($form, $entry) . '">Link to PayPal</a>';
This also look better ??
Hope this helps someone!
-
This reply was modified 6 years, 10 months ago by
SiKth.