Support Forums

usercheckout.php & userrenew.php - working bad

This is a discussion on usercheckout.php & userrenew.php - working bad within the Modules / Plugins / Modifications forums, part of the Developer Forums category; hi all, I think this thread could be in Feature Requests, however when I got deeper into the subject I ...


Go Back   68 Classifieds Forums > Developer Forums > Modules / Plugins / Modifications

Reply
 
Thread Tools Display Modes
Old 10-28-2008, 05:06 AM   #1
Senior Member
 
Join Date: Dec 2006
Posts: 110
Rep Power: 14
darek is on a distinguished road
Default usercheckout.php & userrenew.php - working bad

hi all, I think this thread could be in Feature Requests, however when I got deeper into the subject I think it is more a bug rather than request

I read a lot about "stop unfinished adds" etc

now I know what the problem is

ok, here is my explanation and I hope Eric will take it seriously, I am not a programmer and this sort of thing is just too much form me

when a user wants to buy an add he goes through the steps, the
buttons to follow are named Continue - this would be fine if nothing happened till end, but it is working in a different way: when a user goes to step 3 and presses continue a listing and an order are created, none user would expect it to buy and have anything before clicking OK, Submit, Agree or whatever, so if someone is just curious, we all end up with unfinished adds; all this would still be acceptable if a user had a possibility to remove his unfinished and probably unwanted add and order - but it is not possible! this should work something like a basket in an online shop or users should have possibility to remove unwanted orders and listings - this generates another problem, the info to the admin is sent at the very last step, so the admin doesn't even know that a new order has been created, admin has a chance to remove unfinished orders - but we have another problem, when user renew or upgrade a listing the listing changing display to "N" (doesn't display any more) and if the admin removes the order that has not been finished, he will also remove the listing itself

imagine then, that you are a user - you buy an add, you finish it, it
should display for 2 weeks, but after a week you change your mind as
none answered to your listing and you want to gave it featured, you
press upgrade, but when you see the total, you say "no, it is too expensive" and close the browser as there is no back button; what you end up is your paid listing that doesn't display any longer (it should display for another week though), you have unfinished order in order history, that you can't remove and the admin doesn't know that this happened as the email is generated at the very last step tht user didn't go to
also, the listing has new settings that user finally doesn't want to
pay for and if user writes to admin why his listing doesn't display you (as admin) have to dig real deep to find out what the previous settings were and the go to listing itself to correct it, also you can't remove any order or you will remove the listing!

all is really bad, Eric, I think you expected people to go through all step smooth, but it is not the right thing, people change their mind and they should know when they change something when they press something

now, no-one knows what is going on and I think it is so bad that it is nearly dangerous, people pay money and they expect some service, if they don't get they get nervous

I think, both: usercheckout.php & userrenew.php should be super clear

user should have a clear "back button", should be able to stop the process at any step and his listing should not stop displaying if it is paid for

well, my final conclusion - this is a must, not a request, something that makes the script poor and dangerous for the admin and may give the admin a headache, a one step usercheckout.php & userrenew.php could ba a solution, but the most important thing is that any change to the listing/order should be at the last step when the user needs to confirm/buy something, also when renew his previous display shouldn't change and the new settings should appear when they are paid for or accepted by the admin

I wonder what others thing about it
darek is offline   Reply With Quote
Old 10-28-2008, 01:30 PM   #2
Senior Member
 
Join Date: Dec 2006
Posts: 110
Rep Power: 14
darek is on a distinguished road
Default usercheckout.php & userrenew.php - working bad

according to this thread https://www.68classifieds.com/forums...rking-bad.html I had an idea

A user could have possibility to just start a new listing without ordering it (a piece of code from step3 submit), he could for example create 3 listings to play with without ordering a listing. This would divide ordering proces to 2 steps:
1) creating a new listing, so the data would be created with it, user could easily remove it, see a preview, just play with it
2) ordering it - when the user wants to publish the listing he thinks it is ready to be published then he goes to step 4 of checkout

ordering becomes clear and there would be no more "stop unfinished listings)

another story is the renew, I have no idea how to solve it, probably it should create an order with listing in mind and when the order is paid for or accepted by the admin it will write the new settings to the order
darek is offline   Reply With Quote
Old 10-28-2008, 01:52 PM   #3
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,086
Rep Power: 119
Eric Barnes is a jewel in the rough
Default

Hi,

Good ideas.

Quote:

when a user wants to buy an add he goes through the steps, the
buttons to follow are named Continue - this would be fine if nothing happened till end, but it is working in a different way: when a user goes to step 3 and presses continue a listing and an order are created, none user would expect it to buy and have anything before clicking OK, Submit, Agree or whatever, so if someone is just curious, we all end up with unfinished adds; all this would still be acceptable if a user had a possibility to remove his unfinished and probably unwanted add and order - but it is not possible! this should work something like a basket in an online shop or users should have possibility to remove unwanted orders and listings - this generates another problem, the info to the admin is sent at the very last step, so the admin doesn't even know that a new order has been created, admin has a chance to remove unfinished orders - but we have another problem, when user renew or upgrade a listing the listing changing display to "N" (doesn't display any more) and if the admin removes the order that has not been finished, he will also remove the listing itself
Well for this the listing has to be added to the db before the image step and any others. It is required to know the id to relate all the tables together.

Quote:
imagine then, that you are a user - you buy an add, you finish it, it
should display for 2 weeks, but after a week you change your mind as
none answered to your listing and you want to gave it featured, you
press upgrade, but when you see the total, you say "no, it is too expensive" and close the browser as there is no back button; what you end up is your paid listing that doesn't display any longer (it should display for another week though), you have unfinished order in order history, that you can't remove and the admin doesn't know that this happened as the email is generated at the very last step tht user didn't go to
also, the listing has new settings that user finally doesn't want to
pay for and if user writes to admin why his listing doesn't display you (as admin) have to dig real deep to find out what the previous settings were and the go to listing itself to correct it, also you can't remove any order or you will remove the listing!
Yes when they renew or upgrade the original listing currently reverts to a not active status because their is a possibility they changed something about the ad. Maybe added featured, highlighted, etc.. So to prevent them from getting free upgrades it has to be set to not active. Then once they hit the thanks page its status changes back.

Quote:

well, my final conclusion - this is a must, not a request, something that makes the script poor and dangerous for the admin and may give the admin a headache, a one step usercheckout.php & userrenew.php could ba a solution, but the most important thing is that any change to the listing/order should be at the last step when the user needs to confirm/buy something, also when renew his previous display shouldn't change and the new settings should appear when they are paid for or accepted by the admin
I am sorry you feel that way and if you can come up with a workable solution then I would be more than happy to look at integrating it. When you try to make a system as flexible as possible and work on as many servers as possible it is hard to work through everything in one smooth motion. Not saying it can't be done.

Again I am all ears if you or anyone can propose a nice easy workable solution. I have also thought about creating a whole shopping cart type checkout but the way I see it the user would have to purchase the package first then later add the number of listings they purchased. This route has a side effect though as users have to pay before starting the ad placement which a lot of folks wouldn't like.

Another option may be to have a simple ad placement:
Step 1: select cat, select package
Step 2: Listing Details, extras, coupons
Step 3: Checkout

Then they could go back and add images later. I can see people not liking that either though.
__________________
Eric Barnes
68 Classifieds Developer
Please do not send me a private message asking for support. Instead use these open forums or our ticket system.

Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 10-28-2008, 05:02 PM   #4
Senior Member
 
Join Date: Dec 2006
Posts: 110
Rep Power: 14
darek is on a distinguished road
Default

Eric, I spent on it 2 or more days, lots of time trying to understand how you did it and how it works

I did notice that you first create something then just call back to it in next steps (thanks that orders have enough info), I am not a programmer and when I noticed/understood how you did it I gave up, it is too difficult

as I wrote before

1) step1-step3 - creating listing first, then user can buy it and create order
2) move step 7 to thanks but let the order display (that is another story) - order is completed not after finish, but step before - this is bad
3) need to do something with renew - have no idea what - maybe just remove display ="N" and let it end when it should if not paid for or acepted

by the way - well done with administration folder, I couldn't change its name in v4 as I did in v3
darek is offline   Reply With Quote
Old 10-28-2008, 05:08 PM   #5
civ
Senior Member
 
civ's Avatar
 
Join Date: Mar 2006
Location: Greer, SC
Posts: 601
Rep Power: 27
civ will become famous soon enough
Default

Quote:
Originally Posted by darek
by the way - well done with administration folder, I couldn't change its name in v4 as I did in v3
Was this some odd attempt at sarcasm?
__________________
Civ's Modules (____NOW v4 COMPATIBLE____):

Stop Incomplete Listings! (proven revenue booster!)
Scam Filter (Just say no to Nigerians!) updated
Similar Listings (keep visitors longer)
Feedback Mod (testimonial builder)
Listing Status Reminder free!
civ is offline   Reply With Quote
Old 10-28-2008, 05:28 PM   #6
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,086
Rep Power: 119
Eric Barnes is a jewel in the rough
Default

Yea not sure I follow that either.

1) step1-step3 - creating listing first, then user can buy it and create order

That may be a good idea. I would have to fully think through the rest of the steps though.

2) move step 7 to thanks but let the order display (that is another story) - order is completed not after finish, but step before - this is bad

Not sure I understand this one.

3) need to do something with renew - have no idea what - maybe just remove display ="N" and let it end when it should if not paid for or acepted

Well with the developer edition you can make this change now. Just edit Listings.php addFeatures() method.
__________________
Eric Barnes
68 Classifieds Developer
Please do not send me a private message asking for support. Instead use these open forums or our ticket system.

Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 10-28-2008, 06:12 PM   #7
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 903
Rep Power: 24
bowers01 is on a distinguished road
Default

Quote:
Originally Posted by civ
Was this some odd attempt at sarcasm?
I guess he was refering to 4.1
__________________
Nick Bowers
68c v4.09 Developer Custom Template
bowers01 is offline   Reply With Quote
Old 10-28-2008, 06:50 PM   #8
Coder
 
Join Date: Mar 2006
Posts: 4,679
Rep Power: 114
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Quote:
Originally Posted by darek
I did notice that you first create something then just call back to it in next steps (thanks that orders have enough info), I am not a programmer and when I noticed/understood how you did it I gave up, it is too difficult
And therein lies much of the problem. When you deal with a programming language that operates in a stateless environment (ie the web) there is no way for the server to know the status of what you are doing. You request info, it gives it to you. At that point the server has no idea what your doing. It doesnt know if you turned your computer off or walked away.

With the above in mind there are many "rules" imposed by the environment as well as the programming language which dictate how things can be done. Certainly there is leeway when something is created but there are always trade offs.Some of those trade offs for the functionality you desire may be fine for you, but what about the hundreds of other 68C clients? They may hate it.
__________________
Larry

What I post here should be used only as a guide to point you in the right direction. If the code I post doesnt make any sense or work as posted then you should spend more time reading the various manuals and tutorials so it does make sense and you can tweak it to work. A sure fire way to get yourself in trouble is to implement changes you dont have an intimate understanding of. Im happy to help, but I am not here to teach you to code or create your site for you.
Lhotch is offline   Reply With Quote
Old 10-28-2008, 06:51 PM   #9
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 1,642
Rep Power: 40
seymourjames has a spectacular aura about
Default

I think that I can get to the nub of this. If I understand correctly what Darek is saying.

He is talking about advertiser behavior and their experience in certain circumstances. Particularly when they change their mind about doing something like making an upgrade to an existing advert.

If a user does not complete all the necessary steps on performing an upgrade on a legitimate advert (one that has already been paid for), his advert gets deactivated. Simple as that. He cannot get his advert back to the state in which it was previous to commencing the process of upgrade, regardless that this type of advert has already been paid for. He effectively loses what he has already paid for unless the admin understands what has actually occurred and corrects the status of the advert for him. It means that he has no option but to email the admin.

That is what he is trying to say. Well I think that is what he is trying to say.
__________________
TemplateCodes.com
seymourjames is offline   Reply With Quote
Old 10-29-2008, 05:00 AM   #10
Senior Member
 
Join Date: Dec 2006
Posts: 110
Rep Power: 14
darek is on a distinguished road
Default

This is exactly what I am trying to say!

I buy in several shops, I change my mind, remove items, ad them and I think my order is not generated till last step, when I finally press "confirm"

I spent hours on checking how it works and what the steps are, I could change a lot, but I am not able to change the way it works

the easiest way I will go for at this moment is to properly name buttons

I will now go throgh the checkout proces and explain what I ment as still some (including Eric) don't get what I ment

Step 1 - Select Category - that is simple - button "Continue"

Step 2 - Select Package - simple again - server needs to know whare to put a new listing

Step 3 - Listing Details - for the selected Package and for the category chosen first (I understand now why step 1 and step 2 were created - the great functionality of 68c needs the previous steps), but now we have misunderstanding, user doesn't expect to do anything else exept - button "Continue" ------ the easiest way is to name the batton "Create Listing" and user will know that he is actually changing/creating something

when you press continue you go to step 4, but really you use step3submit.php file that is creating listing and the order!

lets go on

Step 4 - Add Images - Eric explaned, first listing then phtos - I get it, no problem buttons "skip.." or "Continue"

Step 5 - Verify the information - this is also understandable, it is mainly for the Payment Method, button "Continue"

Step No Number Verify the information - user expects that still nothing happend, but he is wrong, the php file has already changed the info from stem 5 - and this is exactly what I am after, you get another button "Continue" user doesn't expect nothing but to continue but he really has just changed all his details
this button "Continue" could actually be named: "Now click and we will thank you"

and a funny thing, if a user clicks go back in his browser and goes through some steps another mail will be created, probably another order will be created too , when user uses links above (everyone would think he ca as they are active) Category � Package � Details � Images � Confirm os some of them listing disappears for example package; ok I can disable links, but what are they for? so every one needs to disable them?

similar things happen when renew!

playing with my scripts and trying to find the best way for all those steps I sometimes ended up with several listings and order I couldn't remove, I added a button/maybe buttons to remove orders or listing, but then I noticed that if I remove order only the listing returns errors when modified, so I turned off the modify button

well, the entire process need to function on different servers and browsers, I understand this, but we can't tell users that something works on his opera only because he can't go back, if a button is there it is there for user to use, if the proces is stopped, user doesn't expect anything changed

my programing skills are not that good, I can't program anything on my own, but I am fine with changing things, I gave up to do all myself and decided to start this thread, I hope I shout loud enough as I think it is one big bug that can be a pain for the admin

I understand that it is not easy and it needs rewriting and maybe creating a new table in database maybe for checkout or something, I don't know, but I think it is worth at least a new thread, I did a lot to my script, I have full langage change on the page including categories, pages etc, I have a google map using extra fields were user can add a point, I have langaudge change depending on domain and email are sent in severla langages, I have seller store that doesn't accept javascript like alert and description works with tinyMCE, I have lots of new things - but I can't change the checkout/renew myself and it bothers me much

about the administration folder - it was a year or so ago when I wrote a ticket and asked if it were possible to change the administration folder name, finally I did it myself for v3.17, I did ask for this feature and I was surprised it was not there in v.4, now, as Eric annouced v.4.10 is going to have it, there was no sarcasm - I am just happy, any hacker will first try to get into administration folder, for this reason I also added captcha in any place possible (including admin login)

by the way, in v3 there was a nice cleaning class that made my seller store not working, I had to go throu it, clean but let users use it and make it safe, for v.4 - ALL IS UNSAFE, check the link, I used free add 68 Classifieds
darek is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
usercheckout.php not working manifold Technical Support 3 07-18-2008 03:43 PM
userrenew.php error CHRD v3.1 Questions & Support 4 03-06-2008 06:45 PM
Need to change text on usercheckout.php Timeshareline v3.1 Questions & Support 6 02-03-2007 02:05 AM
ZIP not working e1m2j v3.1 Questions & Support 13 07-14-2006 08:25 AM


All times are GMT -4. The time now is 11:26 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0