Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Where is the {transaction_id} stored? How to reset it?
- This topic has 5 replies, 3 voices, and was last updated 16 years ago by
amin007.
-
AuthorPosts
-
September 7, 2010 at 9:19 am #1797
anotherbreed
MemberHi,
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?
September 8, 2010 at 1:46 am #24020amin007
ParticipantThe 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?
September 8, 2010 at 8:44 am #24021anotherbreed
MemberMaybe 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.
September 9, 2010 at 1:38 am #24022amin007
ParticipantAh 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.
October 21, 2010 at 3:41 pm #24023DFranzwa
MemberAmin – 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?
October 22, 2010 at 12:14 am #24024amin007
ParticipantBefore 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.
-
AuthorPosts
- You must be logged in to reply to this topic.