Jump to content
  • 0

How to show invoicePaymentSuccessAwaitingNotify in viewinvoice.tpl


Hal9000

Question

The viewinvoice.tpl file shows the $LANG.invoicePaymentSuccessAwaitingNotify string if $paymentSuccessAwaitingNotification is true.
Similarly it does for paymentsuccess, pendingreview etc.

I know the other ones can be triggered by setting a URL parameter. But what is the parameter that sets $paymentSuccessAwaitingNotification to true?
I found it nowhere in the documentation.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

I could be wrong but I think that it triggers with some gateways when the client returns to the invoice before the callback is complete. In fact the message is the following:

Thank you for completing the payment process. We are awaiting notification to confirm the payment you just made. We will send you an email confirmation as soon as this has been received.

Basically it says «Calm down and don't worry! You have successfully paid the invoice. Just wait few seconds to see the invoice turning to Paid».

Link to comment
Share on other sites

  • 0

I just so happened to pay an invoice on whmcs.com via PayPal and I actually got that awaiting notification message.
However the URL shows &paymentsuccess=true and nothing else, so there must be some other criteria that makes that message appear.

Since when adding that variable to viewinvoice.php when the invoice was paid showed the standard paid message, I assume that maybe some variable gets set inside the module_link function if $_GET['paymentsuccess'] is true or something. But which one? Damn...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated