Yann-SI
Yann-SI
Offline
0
Hi,

I've an alert message which tells that the auth_code is not valid.
Here's how :

  1. Click a secured link in mail or pdf
  2. Click on PAY NOW button
  3. Ta da !

The auth_code seems to be missing on the link PAY NOW. The error doesn't appear if you manually add the auth_code to the url.

Accepted Answer

Yann-SI
Yann-SI
Offline
Monday, May 12 2014, 10:05 PM - #Permalink
0
All is working well since you put the right package, thanks ! ;)

Once this said, I still believed that the auth_code should be used to protect the payment process for unlogged user, because nothing prevent one to change ID in url to have a look on other payment.

For the link to return to invoice list for unlogged user, I found a tip : Joomla put a class with the component name e.g. ".com_invoice" so you can simply hide the link with a ".com_invoice .pull-right" css property.
The reply is currently minimized Show
Responses (6)
  • Accepted Answer

    Friday, May 09 2014, 10:29 AM - #Permalink
    0
    I will check it. can you send me this link to the invoice (just make it a test invoice with fake details)
    The reply is currently minimized Show
  • Accepted Answer

    Yann-SI
    Yann-SI
    Offline
    Friday, May 09 2014, 12:52 PM - #Permalink
    0
    here you are : http://www.gamesberry.fr/index.php?option=com_invoices&view=invoice&id=70&auth_code=AeLSQJealreJKPaHvx5qgNm1HBupEGGOe1uM3Kvl1BZw5H69Tp8C1z6RlpxkDagy
    The reply is currently minimized Show
  • Accepted Answer

    Friday, May 09 2014, 04:26 PM - #Permalink
    0
    hello!

    I can see the message. it lets you see the payment, but this message shows up. there's a very easy fix for this, I'm going to add it to the package, however if you prefer me to do the tweak directly on your site, let me know (I believe you have done some code changes and I would not want to mess them up)
    The reply is currently minimized Show
  • Accepted Answer

    Yann-SI
    Yann-SI
    Offline
    Friday, May 09 2014, 04:38 PM - #Permalink
    0
    No, that will be fine. Just let me know when you've updated the package ! ;)
    The reply is currently minimized Show
  • Accepted Answer

    Yann-SI
    Yann-SI
    Offline
    Monday, May 12 2014, 10:36 AM - #Permalink
    0
    I haven't seen any improvements...
    I wonder if it wouldn't be more secure to keep the auth_code on this page, would it ?

    Moreover, I have a second problem : this link (top right) appears in the same view : http://www.gamesberry.fr/component/invoices/?view=invoices which sends the unlogged user to a fairly empty list of invoice (quite normal, because he's an unlogged user!). I think this link should either not be shown at all to unlogged user, or send back to the invoice.
    • Germinal Camps
      more than a month ago
      what you mean there are no improvements? you still see the "not authorized" message? to cahnge the redirection link there would need some coding on the control page.
    The reply is currently minimized Show
  • Accepted Answer

    Yann-SI
    Yann-SI
    Offline
    Monday, May 12 2014, 11:18 AM - #Permalink
    0
    you still see the "not authorized" message?

    Exactly :( I've reinstalled the package twice to be sure.

    to cahnge the redirection link there would need some coding on the control page.

    Maybe an improvement for the next release then ? It doesn't look so professionnal to send user in a no man lands :)
    By the way, a quick and efficient approach would be to add some css class to the page (ex : put an invoice "invoice" to the body), or even aside the "pull-right" class.
    • Germinal Camps
      more than a month ago
      can you send me access to support@ joomlathat.com so I can check the issue? I'm so stranged right now, because I asure you I fixed that issue and uploaded the package.. :S :S thanks!! :)
    • Yann-SI
      more than a month ago
      I've dropped you a mail, did you get it ?
    The reply is currently minimized Show
Your Reply