- This topic has 5 replies, 3 voices, and was last updated 14 years, 1 month ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Where is the {transaction_id} stored? How to reset it?
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?
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?
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.
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.
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?
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.