Support

Home Forums Event Espresso Premium Invoice Payment – Link below missing

Invoice Payment – Link below missing

Posted: October 1, 2012 at 4:17 pm


Andrew Clarke

October 1, 2012 at 4:17 pm

G’day,

In the PDF generated for an invoice payment, there is text that says “Please send this invoice with payment attached to the
address above, or use the payment link below.”

But the payment link is missing.

How can we get that link into the PDF?

Best regards, Lloyd Borrett (for Andrew Clarke)


Dean

October 2, 2012 at 4:12 am

Hi Andrew,

If you go to event-espresso/gateways/invoice/template.php and scroll to near the bottom line 204.

//$pdf->Cell(200,20,'Pay Online',0,1,'C',0,$payment_link);//Set payment link

If you uncomment it and save it will add a link in the PDF file to the Thankyou page.

However, you will need to change some other code in the same file at line 101 change it to this

//Create a payment link
$payment_link = home_url() . "/?page_id=" . $org_options['return_url'] . "&r_id=" . $registration_id; //$attendee_id;

This basically updates the link to send the user to the thank you page but with the correct user id so that it shows the payment options.

The support post ‘Invoice Payment – Link below missing’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Do NOT follow this link or you will be banned from the site!