Tips and Tricks HQ Forum

Support Forum for Tips and Tricks HQ Products

Register or log in - lost password? (Having an issue with the forum login?)

Search the Forum

Tips and Tricks HQ Forum » WP eStore Forum » WP eStore Tweaks

Where is the {transaction_id} stored? How to reset it?

(6 posts) (3 voices)
  • Started 1 year ago by anotherbreed
  • Latest reply from amin007
  • Possible Solutions (Related Topics):
    1. eStore - Use stored address from eMember to auto-seed PayPal Pro checkout
    2. After resetting sales data, sales count no longer increasing
    3. Transaction ID only digits
    4. Changing filename of stamped PDF to have full Transaction ID
    5. Lightbox Ultimate - Play protected SWF file stored on Amazon S3

Tags:

No tags yet.

  1. anotherbreed
    Member

    Hi,

    I made a lot of "fake" transactions while I was testing my store. I would remove all of them before putting the store online. How can I reset this incremental receipt counter to 0?

    Posted 1 year ago #
  2. amin007
    Key Master

    The transaction ID is a unique ID generated by PayPal for every transaction. The transaction ID helps you uniquely identify a transaction. There is no need to reset it so not sure what you mean by resetting the counter?

    Posted 1 year ago #
  3. anotherbreed
    Member

    Maybe it is different in my custom version, you did this customization for me, Amin: {transaction_id} generates an incremental nunmber (1,2,3,4...) for each transaction.
    I saw the same shortcode in the official reference page so I supposed it was become a standard feature of eStore.

    I just want to reset it to 0. I didn't find anything on the database.

    Posted 1 year ago #
  4. amin007
    Key Master

    Ah okay. If I did a custom job for you then I will need to take a look at that code to give you guidance.

    Please send me the "paypal.php" file and I will be able to tell you what to do.

    Posted 1 year ago #
  5. DFranzwa
    Member

    Amin - I used this counter as well and also need to reset it to zero.
    Is the counter not a part of the standard wpeStore script?

    Any hints?

    Posted 1 year ago #
  6. amin007
    Key Master

    Before I answer your question here is a bit of history. The job of a transaction ID is to be able to uniquely identify a transaction and cross reference it. If you have a counter (for example 1,2,3) then how will it be unique? Can you look at the transaction ID "1" and find out the corresponding payment for this transaction on PayPal or other payment gateway? No! This is why replacing transaction ID with counter will never be part of eStore.

    If this was a custom code job then please give me a bit more explanation as to what the job actually was (to help me remember) and I should be able to offer help.

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

Tips and Tricks HQ  | WP Shopping Cart  | WP Affiliate Software  | WordPress Membership Plugin