Support » Plugin: WordPress Payments Plugin | GetPaid » Random numbers in invoice permalink

  • Resolved Diogenes

    (@matador9)


    Hi. Thanks for this excellent plugin.

    I have been doing some tests and I wanted to know if it is possible to add something like random numbers to the permalink of the invoice (similar to a token), or that the invoice will not generate sequential numbers but random ones.

    This, since anyone with the invoice number, for example: inv-478 can deduce that there are invoices before and after that number and access them by testing with the numbers, thus opting for information from the users who invoice, such as their emails, name, etc.

    Nor can I modify the invoice number field, it is blocked, I suppose that the system generates them automatically.

    This is because I don’t want to force users to login to pay the bills.

    I would appreciate your comments.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Brian Mutende

    (@picocodes)

    You can use a plugin such as this one to achieve that.

    You, however, need not worry about that as logged out users cannot view an invoice unless they click a special link that is sent to them via email.

    This URL looks something like:-

    https://example.com/invoice/inv-478/?invoice_key=XYZ, where XYZ is unique and impossible to guess.

    Thread Starter Diogenes

    (@matador9)

    Hi Brian. Thanks for answering.

    Yes, after so many tests, I realized that it prevents users from accessing the invoices unless you have the link that is sent by email.

    If you allow me, I would recommend an option to obtain that link directly (without having to send the email), when you want to send the link by another way than the user’s email.

    Another question, can the management of user billing information be improved?

    I see that when a user enters the billing information, it is not saved in wordpress, but if I generate another invoice for it, he must enter this information again for each invoice. I tried this several times, in the first invoice it gives the impression that it is saved, but not in subsequent invoices, or am I doing something wrong?

    Plugin Contributor Brian Mutende

    (@picocodes)

    These issues were fixed in yesterday’s update.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.