Support

Home Forums Event Espresso Premium Pay Online Link in Invoice PDF – EE3

Pay Online Link in Invoice PDF – EE3

Posted: June 11, 2015 at 9:13 am


jcole

June 11, 2015 at 9:13 am

The invoice PDF contains a link to “Pay Online” however the text is not linked.

I found this old support post: https://eventespresso.com/topic/invoice-payment-link-below-missing/

However, when I open the file referenced, I do not see matching code. How do I make this link active?


Tony

  • Support Staff

June 11, 2015 at 9:58 am

Hi jcole,

The line numbers have changed.

Within \event-espresso\gateways\invoice\template.php

Line 211 should be

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

Which is output on line 216 using:

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

Do you have those?

Can you also check you are not loading a custom template within /wp-content/uploads/espresso/gateways/invoice/


jcole

June 11, 2015 at 10:12 am

I do see/have those lines and I don’t have a custom template in /uploads/…


Tony

  • Support Staff

June 11, 2015 at 10:16 am

Can you link me to an event I can run a test registration on please?


jcole

June 11, 2015 at 10:21 am

The client has only one active event:
http://www.cchraonline.com/program-schedule/?ee=60

I’m viewing the invoices in the WP-Admin, and have checked several.


Tony

  • Support Staff

June 11, 2015 at 10:29 am

Just to confirm, when you say the text is not linked, you mean the Pay Online link doesn’t actually open a page at all?


jcole

June 11, 2015 at 10:30 am

Correct- text appears but it is not linked.


Josh

  • Support Staff

June 11, 2015 at 12:15 pm

I checked and the link from the invoice works for me. Does your PDF viewer support opening links?

One thing that I did notice is that the Pay Online link is correctly directing to the payment page, but you didn’t set the payment page to display payment options for registrations that are pending payment. You can set the payment options to display by going to Event Espresso > General Settings and under Advanced Settings, you set Show payment options for “Pending Payments” on the Payment Overview page? to Yes.


jcole

June 12, 2015 at 7:56 am

>Does your PDF viewer support opening links?

Not sure – I’m using Windows 8.1 and the default PDF viewer. My client also reported the same issue, and I believe they are using older tech although I cannot be sure.

I made the change to the Advanced settings as you recommended.

I viewed your invoice and the link is not active for me. What PDf viewer are you using? Is there an alternate method for this custom to pay their balance?

The goal here is not about the invoice per-se, it’s most about the process to have this customer pay their balance.

Thanks for your input.


Tony

  • Support Staff

June 12, 2015 at 8:23 am

I’ve opened the PDF within Chrome and Adobe Reader, both allowed the link to be used. Adobe Reader displays a warning but give the choice to follow the link or not.

It sounds like the default PDF viewer is set to have the links disabled by default.

The other option is to send your confirmation emails before Payment, these can include the same link the PDF does using the shortcode [payment_url] within the confirmation email content. You would need to be clear within the email that the registration is not complete until payment is made in full.

Would that work for your use case?


jcole

June 15, 2015 at 9:46 am

I was able to see the working link in the Chrome PDF viewer. Thanks for helping.

This brings me to a follow up question. The customer in question paid $40 (PayPal) towards a fee of $70 for the event, leaving $30 as a balance.

When I click to pay online (from the invoice) it doesn’t show the amount owed/balance but the *total* amount.

Screenshot of what I see: http://cchraonline.com/screenshot.png

Is there a way to show the balance owed? I’m assuming if the customer makes a payment here, only the balance is charged?


Josh

  • Support Staff

June 15, 2015 at 5:49 pm

Hi there,

Event Espresso 3 doesn’t have support for partial payments. However, you can send a separate PayPal invoice for the balance owed.


jcole

June 16, 2015 at 5:29 am

In this specific case partial payment has been made, the system shows that $30 is owed and amount paid to date is $40. See: http://cchraonline.com/screenshot3.png What would happen if I made payment from the Payments screen? See: http://cchraonline.com/screenshot2.png

When I clicked that link in the invoice, I was then able to select a credit card from the Payment screen, and the system displayed a Billing/Credit form. What happens if I enter my info here and submit?


Tony

  • Support Staff

June 16, 2015 at 5:53 am

What happens if I enter my info here and submit?

Event Espresso would charge the full ticket price at that point, so from your screen shots, for the second payment they would be charged $70.

It looks the user registered onto a ticket priced at $40 and paid using PayPal Pro, then the admin has edited the registration and increased the ticket price. Is that correct?

Event Espresso 3 currently has no method of tracking partial payments in a way that that can be used for this.

When I clicked that link in the invoice, I was then able to select a credit card from the Payment screen, and the system displayed a Billing/Credit form.

You can do this because EE can see the registration status is either Incomplete or Pending, so it displays the payment options.

The support post ‘Pay Online Link in Invoice PDF – EE3’ 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.

Event Espresso