• Resolved sukalo

    (@sukalo)


    Myself and Client cannot access invoice to pay (unticked requires login)

    I add new user, fill in contact details and items saved invoice sent it to client.

    they cannot pay as get invalid invoice and when i copy the payment link to a different browser i get the same.

    When i log in as the customer to test i can see the invoice and pay it.

    I assume a bug with the anyone access to pay the invoice.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter sukalo

    (@sukalo)

    On further testing it seems you have to be logged in to ANY account to pay ANY invoice with this setting, you cannot pay if not signed in though.

    Hi @sukalo

    Sorry for delayed response.

    It seems you have the Require Login To Checkout setting active.

    https://ibb.co/mRg50z7
    You can disable that option and check.

    Regards

    Thread Starter sukalo

    (@sukalo)

    As i mentioned at the beginning of my message it is already unticked.

    I get the message:

    Access Denied

    This invoice is only viewable by clicking on the invoice link that was sent to you via email.

    I have even gone into the SMTP sender and copied the link from here to a different browser and it isn’t allowing access.

    Plugin Contributor Paolo

    (@paoltaia)

    Hi Sukalo,

    If the invoice was created when that option was enabled, changing the option will not make the invoice visible to non-logged-in users.

    Please try to delete that invoice and generate it again with the option disabled.

    That should work.

    Let us know how it goes.

    Thanks,

    Please also make sure to pursing the site and object cache.
    if you have any cache enabled.

    Plugin Contributor Brian Mutende

    (@picocodes)

    Could you also confirm that the custom invoices database (wp_getpaid_invoices) table exists?

    If it does, check that you invoice URLs contain the ‘invoice_key’ query parameter.

    Thread Starter sukalo

    (@sukalo)

    So this issue is happening viewing quotes and invoices.

    I dont have object cache on

    The database does have invoice key and quote key.

    The emails do contain the invoice or quote keys url/quote

    I.e: /quote-3022/?invoice_key=quote_e14b55ddafb67e1d45051a74a

    I have removed a few from the end for security.

    As i mentioned if i’m logged into ANY account i can view the invoices or quotes but being logged out you cannot view any.

    • This reply was modified 1 year, 6 months ago by sukalo.
    Plugin Contributor Paolo

    (@paoltaia)

    Please create a support ticket here for further support on this: https://wpgetpaid.com/support/
    Please add a link to this forum post for reference

    Thanks,

    Plugin Contributor Brian Mutende

    (@picocodes)

    This has been fixed via support. It was most likely caching issue.

    Thread Starter sukalo

    (@sukalo)

    This unfortunately has started happening again. I have installed REDIS object cache to flush but not seeming to do much.

    Not sure if you can provide any more ideas to what i can do my end?

    When i try to open a invoice in a new browser, edge or firefox the url gets instantly shortened from

    /quote-3022/?invoice_key=quote_e14b55ddafb67e1d45051a74a

    to

    /quote-3022/

    Not sure if that’s relevant or not.

    Plugin Contributor Brian Mutende

    (@picocodes)

    Yeah,

    We need the invoice_key part. Could you go through your plugins list and check whether any of them might be removing query args from your URLs?

    Thread Starter sukalo

    (@sukalo)

    Would Cache possible affect this?

    Could this be classed as an Agent String?

    List of browser agents strings or substrings that should not be served cached files?

    If any of the above strings is found in the User-Agent HTTP header, then the requested page will not be cached.

    or perhaps Conditional tags to exclude from caching

    Thanks for response

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Invalid Invoice’ is closed to new replies.